annotate checkm2.xml @ 4:f203425336f1 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit 49c1bd60e5fb595e335a062ae36d9bfa21677081
author iuc
date Mon, 06 Oct 2025 13:12:32 +0000
parents b8962c1bce40
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
1 <tool id="checkm2" name="checkm2" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.1">
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
2 <description>Rapid assessment of genome bin quality using machine learning</description>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
3 <macros>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
4 <!-- enable tests and output assertions on update -->
4
f203425336f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit 49c1bd60e5fb595e335a062ae36d9bfa21677081
iuc
parents: 3
diff changeset
5 <token name="@TOOL_VERSION@">1.1.0</token>
f203425336f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit 49c1bd60e5fb595e335a062ae36d9bfa21677081
iuc
parents: 3
diff changeset
6 <token name="@VERSION_SUFFIX@">0</token>
0
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
7 <token name="@IDX_DATA_TABLE@">checkm2</token>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
8 </macros>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
9 <xrefs>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
10 <xref type="bio.tools">checkm</xref>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
11 </xrefs>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
12 <requirements>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
13 <requirement type="package" version="@TOOL_VERSION@">checkm2</requirement>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
14 </requirements>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
15 <command detect_errors="exit_code"><![CDATA[
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
16 #import re
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
17 mkdir input_dir &&
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
18 #for $i, $file in enumerate($input):
3
b8962c1bce40 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit 1d1f552e49a0faf7eb16acd3ecdd8d05142aeaf9
iuc
parents: 2
diff changeset
19 #set $cleaned = re.sub('[^\w\-\\.]', '_', str($file.element_identifier))
0
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
20 ln -s '$file' 'input_dir/${cleaned}.dat' &&
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
21 #end for
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
22 checkm2 predict
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
23 --input input_dir
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
24 $model
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
25 $genes
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
26 #if $ttable:
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
27 --ttable $ttable
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
28 #end if
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
29 -x .dat
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
30 --threads "\${GALAXY_SLOTS:-1}"
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
31 --database_path '$database.fields.path'
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
32 --output-directory output
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
33 ]]></command>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
34 <inputs>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
35 <param name="input" type="data" format="fasta" label="Input MAG/SAG datasets" multiple="true"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
36 <param name="database" type="select" label="Select reference genome" help="Checkm2 Diamond database">
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
37 <options from_data_table="@IDX_DATA_TABLE@">
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
38 <filter type="sort_by" column="2"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
39 </options>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
40 <validator type="no_options" message="No databases are available for this version of Checkm2. Please contact the Galaxy adminstrators to request one be installed."/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
41 </param>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
42
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
43 <param argument="genes" type="boolean" truevalue="--genes" falsevalue="" label="Treat input files as protein files"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
44 <param name="model" type="select" label="Model options">
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
45 <option value="">None</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
46 <option value="--general">Force the use of the general quality prediction model (gradient boost)</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
47 <option value="--specific">Force the use of the specific quality prediction model (neural network)</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
48 <option value="--allmodels">Output quality prediction for both models for each genome.</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
49 </param>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
50 <!-- It's not all numbers and there's a check internally if it's in a specific list, so it had to be spelled out -->
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
51 <param argument="ttable" type="select" label="Prodigal table" optional="true">
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
52 <option value="1">1. The Standard Code</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
53 <option value="2">2. The Vertebrate Mitochondrial Code</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
54 <option value="3">3. The Yeast Mitochondrial Code</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
55 <option value="4">4. The Mold, Protozoan, and Coelenterate Mitochondrial Code and the Mycoplasma/Spiroplasma Code</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
56 <option value="5">5. The Invertebrate Mitochondrial Code</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
57 <option value="6">6. The Ciliate, Dasycladacean and Hexamita Nuclear Code</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
58 <option value="9">9. The Echinoderm and Flatworm Mitochondrial Code</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
59 <option value="10">10. The Euplotid Nuclear Code</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
60 <option value="11">11. The Bacterial, Archaeal and Plant Plastid Code</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
61 <option value="12">12. The Alternative Yeast Nuclear Code</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
62 <option value="13">13. The Ascidian Mitochondrial Code</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
63 <option value="14">14. The Alternative Flatworm Mitochondrial Code</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
64 <option value="16">16. Chlorophycean Mitochondrial Code</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
65 <option value="21">21. Trematode Mitochondrial Code</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
66 <option value="22">22. Scenedesmus obliquus Mitochondrial Code</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
67 <option value="23">23. Thraustochytrium Mitochondrial Code</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
68 <option value="24">24. Rhabdopleuridae Mitochondrial Code</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
69 <option value="25">25. Candidate Division SR1 and Gracilibacteria Code</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
70 <option value="26">26. Pachysolen tannophilus Nuclear Code</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
71 <option value="27">27. Karyorelict Nuclear Code</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
72 <option value="28">28. Condylostoma Nuclear Code</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
73 <option value="29">29. Mesodinium Nuclear Code</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
74 <option value="30">30. Peritrich Nuclear Code</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
75 <option value="31">31. Blastocrithidia Nuclear Code</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
76 <option value="33">33. Cephalodiscidae Mitochondrial UAA-Tyr Code</option>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
77 </param>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
78 </inputs>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
79 <outputs>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
80 <data name="quality" label="${tool.name} on ${on_string}: Quality report" format="tabular" from_work_dir="output/quality_report.tsv"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
81 <collection name="protein_files" label="${tool.name} on ${on_string}: protein files" type="list">
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
82 <discover_datasets pattern="(?P&lt;designation&gt;.*)\.faa" format="fasta" directory="output/protein_files"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
83 </collection>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
84 <collection name="diamond_files" label="${tool.name} on ${on_string}: Tabular diamond output" type="list">
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
85 <discover_datasets pattern="(?P&lt;designation&gt;.*)\.tsv" format="tabular" directory="output/diamond_output"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
86 </collection>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
87 </outputs>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
88 <tests>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
89 <!-- These cannot run without a multi-gb db and will therefore fail. See README for details -->
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
90 <test expect_exit_code="1" expect_failure="true">
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
91 <param name="input" value="test1.faa,test2.faa"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
92 <param name="model" value="--allmodels"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
93 <param name="genes" value="--genes"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
94 <param name="ttable" value="13"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
95 <!-- <output name="quality">
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
96 <assert_contents>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
97 <has_n_columns n="6"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
98 <has_n_lines n="3"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
99 </assert_contents>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
100 </output>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
101 <output_collection name="protein_files" count="2">
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
102 <element name="test1">
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
103 <assert_contents>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
104 <has_n_lines n="4942"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
105 </assert_contents>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
106 </element>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
107 <element name="test2">
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
108 <assert_contents>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
109 <has_n_lines n="4873"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
110 </assert_contents>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
111 </element>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
112 </output_collection>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
113 <output_collection name="diamond_files" count="1">
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
114 <element name="DIAMOND_RESULTS">
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
115 <assert_contents>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
116 <has_n_columns n="12"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
117 <has_n_lines n="818"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
118 </assert_contents>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
119 </element>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
120 </output_collection> -->
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
121 <assert_command>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
122 <has_text text="checkm2 predict --input input_dir"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
123 <has_text text="--allmodels --genes --ttable 13 -x .dat"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
124 <has_text text="--output-directory output"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
125 </assert_command>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
126 </test>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
127 <test expect_exit_code="1" expect_failure="true">
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
128 <param name="input" value="test1.tst,test2.tst"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
129 <param name="model" value="--specific"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
130 <!-- <output name="quality">
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
131 <assert_contents>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
132 <has_n_columns n="13"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
133 <has_n_lines n="3"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
134 </assert_contents>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
135 </output>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
136 <output_collection name="protein_files" count="2">
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
137 <element name="test1.tst">
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
138 <assert_contents>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
139 <has_n_lines n="5090"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
140 </assert_contents>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
141 </element>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
142 <element name="test2.tst">
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
143 <assert_contents>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
144 <has_n_lines n="4868"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
145 </assert_contents>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
146 </element>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
147 </output_collection>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
148 <output_collection name="diamond_files" count="1">
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
149 <element name="DIAMOND_RESULTS">
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
150 <assert_contents>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
151 <has_n_columns n="12"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
152 <has_n_lines n="915"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
153 </assert_contents>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
154 </element>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
155 </output_collection> -->
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
156 <assert_command>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
157 <has_text text="checkm2 predict --input input_dir"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
158 <has_text text="--specific -x .dat"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
159 <has_text text="--output-directory output"/>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
160 </assert_command>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
161 </test>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
162 </tests>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
163 <help><![CDATA[
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
164 Unlike CheckM1, CheckM2 has universally trained machine learning models it applies regardless of taxonomic lineage to predict the completeness and contamination of genomic bins.
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
165 This allows it to incorporate many lineages in its training set that have few - or even just one - high-quality genomic representatives, by putting it in the context of all other organisms in the training set.
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
166 As a result of this machine learning framework, CheckM2 is also highly accurate on organisms with reduced genomes or unusual biology, such as the Nanoarchaeota or Patescibacteria.
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
167
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
168 CheckM2 uses two distinct machine learning models to predict genome completeness. The 'general' gradient boost model is able to generalize well and is intended to be used on organisms not well
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
169 represented in GenBank or RefSeq (roughly, when an organism is novel at the level of order, class or phylum). The 'specific' neural network model is more accurate when predicting completeness
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
170 of organisms more closely related to the reference training set (roughly, when an organism belongs to a known species, genus or family). CheckM2 uses a cosine similarity calculation to automatically
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
171 determine the appropriate completeness model for each input genome, but you can also force the use of a particular completeness model, or get the prediction outputs for both. There is only one contamination
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
172 model (based on gradient boost) which is applied regardless of taxonomic novelty and works well across all cases.
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
173 ]]></help>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
174 <citations>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
175 <citation type="doi">10.1038/s41592-023-01940-w</citation>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
176 </citations>
43afed10b792 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/main/tools/checkm2/ commit f02ef28c39a18da4afb9148d0342244f6788485a
iuc
parents:
diff changeset
177 </tool>