Mercurial > repos > iuc > gtdbtk_classify_wf
annotate gtdbtk_classify_wf.xml @ 0:c4db8c4de66f draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
author | iuc |
---|---|
date | Tue, 13 Dec 2022 09:48:28 +0000 |
parents | |
children | dbf1798c0dcc |
rev | line source |
---|---|
0
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
1 <tool id="gtdbtk_classify_wf" name="GTDB-Tk Classify genomes" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
2 <description>by placement in GTDB reference tree</description> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
3 <macros> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
5 </macros> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
7 <command detect_errors="exit_code"><![CDATA[ |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
8 #import re |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
9 |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
10 mkdir input_dir && |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
11 mkdir output_dir && |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
12 mkdir output_tsv_dir && |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
13 mkdir output_newick_dir && |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
14 mkdir output_fasta_dir && |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
15 #for $i in $input: |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
16 ## gtdbtk uses the file extension to determine the input format. |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
17 #set ext = "." + $i.ext |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
18 #set input_identifier = re.sub('[^\s\w\-]', '_', str($i.element_identifier)) + $ext |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
19 ln -s '${i}' input_dir/'${input_identifier}' && |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
20 #end for |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
21 export GTDBTK_DATA_PATH=$gtdbtk_db.fields.path && |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
22 gtdbtk classify_wf |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
23 --genome_dir input_dir |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
24 --extension '$ext' |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
25 --out_dir output_dir |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
26 --cpus \${GALAXY_SLOTS:-4} |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
27 --min_perc_aa $advanced.min_perc_aa |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
28 $advanced.force |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
29 --min_af $advanced.min_af |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
30 #if str($advanced.output_process_log) == 'yes': |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
31 && cat output_dir/gtdbtk.warnings.log output_dir/gtdbtk.log > '$process_log' |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
32 #end if |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
33 ]]></command> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
34 <inputs> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
35 <param name="input" type="data" format="fasta,fasta.gz" multiple="true" label="Fasta (Genome) files"/> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
36 <param name="gtdbtk_db" type="select" label="GTDB-Tk database"> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
37 <options from_data_table="gtdbtk_database"> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
38 <validator type="no_options" message="No locally cached GTDB-Tk database is available"/> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
39 </options> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
40 </param> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
41 <section name="advanced" title="Advanced options"> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
42 <param argument="--min_perc_aa" type="integer" min="0" max="100" value="10" label="Exclude genomes that do not have at least this percentage of AA in the MSA" help="Inclusive bound"/> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
43 <param argument="--force" type="boolean" truevalue="--force" falsevalue="" checked="false" label="Continue processing if an error occurs on a single genome?"/> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
44 <param argument="--min_af" type="float" min="0" max="1" value="0.65" label="Minimum alignment fraction to consider closest genome"/> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
45 <param name="output_process_log" type="boolean" truevalue="yes" falsevalue="no" checked="false" label="Output process log file?"/> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
46 </section> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
47 </inputs> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
48 <outputs> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
49 <data name="process_log" format="txt" label="${tool.name} on ${on_string} (process log)"> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
50 <filter>advanced['output_process_log'] == 'yes'</filter> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
51 </data> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
52 <collection name="output_tsv" type="list" format="tsv" label="${tool.name} on ${on_string} (tsv)"> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
53 <discover_datasets pattern="(?P<designation>.+)\.tsv" ext="tsv" directory="output_dir"/> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
54 </collection> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
55 <collection name="output_newick" type="list" format="newick" label="${tool.name} on ${on_string} (newick)"> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
56 <discover_datasets pattern="(?P<designation>.+)\.tree" ext="newick" directory="output_dir"/> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
57 </collection> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
58 <collection name="output_fasta" type="list" format="fasta" label="${tool.name} on ${on_string} (fasta)"> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
59 <discover_datasets pattern="(?P<designation>.+)\.fasta" ext="fasta" directory="output_dir"/> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
60 </collection> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
61 </outputs> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
62 <tests> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
63 <!-- The commented test here is valid if we could store the GTDB-Tk database --> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
64 <!-- |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
65 <test expect_num_outputs="3"> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
66 <param name="input" value="genome_1.fna.gz" ftype="fasta.gz"/> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
67 <param name="gtdbtk_db" value="gtdbtk202"/> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
68 <output_collection name="output_tsv" type="list" count="6"> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
69 <element name="gtdbtk.ar122.filtered" ftype="tsv"> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
70 <assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
71 <has_size value="0"/> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
72 </assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
73 </element> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
74 <element name="gtdbtk.ar122.markers_summary" ftype="tsv"> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
75 <assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
76 <has_text text="number_unique_genes"/> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
77 </assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
78 </element> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
79 <element name="gtdbtk.ar122.summary" ftype="tsv"> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
80 <assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
81 <has_text text="genome_1_fna_gz"/> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
82 </assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
83 </element> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
84 <element name="gtdbtk.bac120.markers_summary" ftype="tsv"> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
85 <assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
86 <has_text text="genome_1_fna_gz"/> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
87 </assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
88 </element> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
89 <element name="gtdbtk.failed_genomes" ftype="tsv"> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
90 <assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
91 <has_size value="0"/> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
92 </assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
93 </element> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
94 <element name="gtdbtk.translation_table_summary" ftype="tsv"> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
95 <assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
96 <has_text text="genome_1_fna_gz"/> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
97 </assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
98 </element> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
99 </output_collection> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
100 <output_collection name="output_newick" type="list" count="1"> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
101 <element name="gtdbtk.ar122.classify" ftype="newick"> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
102 <assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
103 <has_text text="GB_GCA_"/> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
104 </assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
105 </element> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
106 </output_collection> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
107 <output_collection name="output_fasta" type="list" count="2"> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
108 <element name="gtdbtk.ar122.msa" ftype="fasta"> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
109 <assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
110 <has_text text="GB_GCA_000008085"/> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
111 </assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
112 </element> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
113 <element name="gtdbtk.ar122.user_msa" ftype="fasta"> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
114 <assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
115 <has_text text="genome_1_fna_gz"/> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
116 </assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
117 </element> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
118 </output_collection> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
119 </test> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
120 --> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
121 <!-- GTDB-Tk databases are far too large to test currently --> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
122 <test expect_failure="true"> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
123 <param name="input" value="genome_1.fna.gz" ftype="fasta.gz"/> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
124 <param name="gtdbtk_db" value="gtdbtk202"/> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
125 <assert_stderr> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
126 <has_text text="Fatal error: Exit code 1"/> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
127 </assert_stderr> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
128 </test> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
129 </tests> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
130 <help><![CDATA[ |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
131 **What it does** |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
132 |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
133 GTDB-Tk is a software toolkit for assigning objective taxonomic classifications to bacterial and archaeal genomes |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
134 based on the Genome Database Taxonomy GTDB. It is designed to work with recent advances that allow hundreds or |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
135 thousands of metagenome-assembled genomes (MAGs) to be obtained directly from environmental samples. It can also |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
136 be applied to isolate and single-cell genomes. |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
137 |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
138 This tool accepts one or more fasta (genome) files and determines taxonomic classification of genomes by |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
139 maximum-likelihood (ML) placement. The classification workflow consists of three steps: identify, align, and |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
140 classify. |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
141 |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
142 The identify step calls genes using Prodigal, and uses HMM models and the HMMER package to identify the 120 bacterial |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
143 and 122 archaeal marker genes used for phylogenetic inference. Multiple sequence alignments (MSA) are obtained by |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
144 aligning marker genes to their respective HMM model. |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
145 |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
146 The align step concatenates the aligned marker genes and filters the concatenated MSA to approximately 5,000 |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
147 amino acids. |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
148 |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
149 Finally, the classify step uses pplacer to find the maximum-likelihood placement of each genome in the GTDB-Tk |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
150 reference tree. GTDB-Tk classifies each genome based on its placement in the reference tree, its relative evolutionary |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
151 divergence, and/or average nucleotide identity (ANI) to reference genomes. |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
152 |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
153 Results can be impacted by a lack of marker genes or contamination. |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
154 ]]></help> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
155 <expand macro="citations"/> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
156 </tool> |