comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:b32f43648fc3
1 <tool id="mashtree_cpu23mem86" name="Mashtree" version="1.4.6+galaxy0" python_template_version="3.5" profile="16.01">
2 <description>Create a tree using Mash distances</description>
3 <requirements>
4 <requirement type="package" version="1.4.6">mashtree</requirement>
5 </requirements>
6 <command detect_errors="exit_code"><![CDATA[
7 #for $file in $input
8 ln -s ${file} ./${file.element_identifier}.fasta &&
9 #end for
10 mashtree --mindepth ${mindepth}
11 --genomesize ${genomesize}
12 --kmerlength ${kmerlength}
13 --sketch-size ${sketchsize}
14 --numcpus \${GALAXY_SLOTS:-4}
15 *.fasta
16 --outmatrix ${matrix}
17 --seed 223
18 > ${mashtree}
19 ]]></command>
20 <inputs>
21 <param label="Genome assembliy collection in FASTA format" name="input" type="data_collection" format="fasta" collection_type="list" />
22 <param label="Minimum depth. Use 0 for smart depth" type="integer" name="mindepth" value="0" />
23 <param label="Estimated genome size in bp" type="integer" name="genomesize" value="5000000" />
24 <param label="Kmer length" type="integer" name="kmerlength" value="21" />
25 <param label="Sketch size" type="integer" name="sketchsize" value="10000" />
26 </inputs>
27 <outputs>
28 <data name="mashtree" format="newick" label="${tool.name} on ${on_string} tree" />
29 <data name="matrix" format="tabular" label="${tool.name} on ${on_string} distance matrix" hidden="true" />
30 </outputs>
31 <tests>
32 <test>
33 <param name="input">
34 <collection type="list">
35 <element ftype="fasta" name="SRR13160357" value="SRR13160357.fasta" />
36 <element ftype="fasta" name="SRR13160358" value="SRR13160358.fasta" />
37 <element ftype="fasta" name="SRR13160359" value="SRR13160359.fasta" />
38 <element ftype="fasta" name="SRR13160360" value="SRR13160360.fasta" />
39 <element ftype="fasta" name="SRR13167188" value="SRR13167188.fasta" />
40 </collection>
41 </param>
42 <param name="mindepth" value="0" />
43 <param name="genomesize" value="2500000" />
44 <param name="kmerlength" value="23" />
45 <param name="sketchsize" value="10000" />
46 <output name="mashtree" file="tree.dnd" />
47 <output name="matrix" file="matrix.tsv" />
48 </test>
49 </tests>
50 <help><![CDATA[
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.
52 ]]></help>
53 <citations>
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>
55 <citation type="doi">https://doi.org/10.21105/joss.01762</citation>
56 </citations>
57 </tool>