annotate mashtree-gt.xml @ 0:b32f43648fc3 draft default tip

planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
author jpayne
date Mon, 08 Dec 2025 20:26:35 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
1 <tool id="mashtree_cpu23mem86" name="Mashtree" version="1.4.6+galaxy0" python_template_version="3.5" profile="16.01">
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
2 <description>Create a tree using Mash distances</description>
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
3 <requirements>
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
4 <requirement type="package" version="1.4.6">mashtree</requirement>
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
5 </requirements>
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
6 <command detect_errors="exit_code"><![CDATA[
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
7 #for $file in $input
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
8 ln -s ${file} ./${file.element_identifier}.fasta &&
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
9 #end for
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
10 mashtree --mindepth ${mindepth}
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
11 --genomesize ${genomesize}
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
12 --kmerlength ${kmerlength}
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
13 --sketch-size ${sketchsize}
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
14 --numcpus \${GALAXY_SLOTS:-4}
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
15 *.fasta
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
16 --outmatrix ${matrix}
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
17 --seed 223
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
18 > ${mashtree}
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
19 ]]></command>
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
20 <inputs>
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
21 <param label="Genome assembliy collection in FASTA format" name="input" type="data_collection" format="fasta" collection_type="list" />
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
22 <param label="Minimum depth. Use 0 for smart depth" type="integer" name="mindepth" value="0" />
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
23 <param label="Estimated genome size in bp" type="integer" name="genomesize" value="5000000" />
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
24 <param label="Kmer length" type="integer" name="kmerlength" value="21" />
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
25 <param label="Sketch size" type="integer" name="sketchsize" value="10000" />
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
26 </inputs>
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
27 <outputs>
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
28 <data name="mashtree" format="newick" label="${tool.name} on ${on_string} tree" />
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
29 <data name="matrix" format="tabular" label="${tool.name} on ${on_string} distance matrix" hidden="true" />
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
30 </outputs>
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
31 <tests>
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
32 <test>
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
33 <param name="input">
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
34 <collection type="list">
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
35 <element ftype="fasta" name="SRR13160357" value="SRR13160357.fasta" />
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
36 <element ftype="fasta" name="SRR13160358" value="SRR13160358.fasta" />
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
37 <element ftype="fasta" name="SRR13160359" value="SRR13160359.fasta" />
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
38 <element ftype="fasta" name="SRR13160360" value="SRR13160360.fasta" />
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
39 <element ftype="fasta" name="SRR13167188" value="SRR13167188.fasta" />
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
40 </collection>
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
41 </param>
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
42 <param name="mindepth" value="0" />
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
43 <param name="genomesize" value="2500000" />
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
44 <param name="kmerlength" value="23" />
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
45 <param name="sketchsize" value="10000" />
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
46 <output name="mashtree" file="tree.dnd" />
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
47 <output name="matrix" file="matrix.tsv" />
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
48 </test>
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
49 </tests>
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
50 <help><![CDATA[
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
51 Create a tree using Mash distances. The tree is created using the Mash distance matrix. The tree is created using the neighbor-joining algorithm. The tree is written in Newick format.
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
52 ]]></help>
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
53 <citations>
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
54 <citation type="bibtex">Katz, L. S., Griswold, T., Morrison, S., Caravas, J., Zhang, S., den Bakker, H.C., Deng, X., and Carleton, H. A., (2019). Mashtree: a rapid comparison of whole genome sequence files. Journal of Open Source Software, 4(44), 1762</citation>
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
55 <citation type="doi">https://doi.org/10.21105/joss.01762</citation>
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
56 </citations>
b32f43648fc3 planemo upload commit 23fc6f056e1ffffbf6af500e6fa87a14b9def8b6-dirty
jpayne
parents:
diff changeset
57 </tool>