Mercurial > repos > iuc > gtdbtk_classify_wf
annotate gtdbtk_classify_wf.xml @ 1:dbf1798c0dcc draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 1dddd355fe97cb9d6bb37f93b98f3402184b4320
author | iuc |
---|---|
date | Thu, 16 Feb 2023 23:35:55 +0000 |
parents | c4db8c4de66f |
children | 6501b5b33988 |
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 |
1
dbf1798c0dcc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 1dddd355fe97cb9d6bb37f93b98f3402184b4320
iuc
parents:
0
diff
changeset
|
30 |
dbf1798c0dcc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 1dddd355fe97cb9d6bb37f93b98f3402184b4320
iuc
parents:
0
diff
changeset
|
31 ## Required unless mash_db is available: |
dbf1798c0dcc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 1dddd355fe97cb9d6bb37f93b98f3402184b4320
iuc
parents:
0
diff
changeset
|
32 --skip_ani_screen |
dbf1798c0dcc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 1dddd355fe97cb9d6bb37f93b98f3402184b4320
iuc
parents:
0
diff
changeset
|
33 |
0
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
34 #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
|
35 && 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
|
36 #end if |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
37 ]]></command> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
38 <inputs> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
39 <param name="input" type="data" format="fasta,fasta.gz" multiple="true" label="Fasta (Genome) files"/> |
1
dbf1798c0dcc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 1dddd355fe97cb9d6bb37f93b98f3402184b4320
iuc
parents:
0
diff
changeset
|
40 <param name="gtdbtk_db" type="select" label="GTDB-Tk database" help="This version of GTDB-Tk required GTDB version R207_v2. Please contact your service administrator if this version is not available to select."> |
0
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
41 <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
|
42 <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
|
43 </options> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
44 </param> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
45 <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
|
46 <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
|
47 <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
|
48 <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
|
49 <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
|
50 </section> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
51 </inputs> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
52 <outputs> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
53 <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
|
54 <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
|
55 </data> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
56 <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
|
57 <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
|
58 </collection> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
59 <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
|
60 <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
|
61 </collection> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
62 <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
|
63 <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
|
64 </collection> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
65 </outputs> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
66 <tests> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
67 <!-- 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
|
68 <!-- |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
69 <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
|
70 <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
|
71 <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
|
72 <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
|
73 <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
|
74 <assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
75 <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
|
76 </assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
77 </element> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
78 <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
|
79 <assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
80 <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
|
81 </assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
82 </element> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
83 <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
|
84 <assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
85 <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
|
86 </assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
87 </element> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
88 <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
|
89 <assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
90 <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
|
91 </assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
92 </element> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
93 <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
|
94 <assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
95 <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
|
96 </assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
97 </element> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
98 <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
|
99 <assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
100 <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
|
101 </assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
102 </element> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
103 </output_collection> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
104 <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
|
105 <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
|
106 <assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
107 <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
|
108 </assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
109 </element> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
110 </output_collection> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
111 <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
|
112 <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
|
113 <assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
114 <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
|
115 </assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
116 </element> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
117 <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
|
118 <assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
119 <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
|
120 </assert_contents> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
121 </element> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
122 </output_collection> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
123 </test> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
124 --> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
125 <!-- 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
|
126 <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
|
127 <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
|
128 <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
|
129 <assert_stderr> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
130 <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
|
131 </assert_stderr> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
132 </test> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
133 </tests> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
134 <help><![CDATA[ |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
135 **What it does** |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
136 |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
137 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
|
138 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
|
139 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
|
140 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
|
141 |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
142 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
|
143 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
|
144 classify. |
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 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
|
147 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
|
148 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
|
149 |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
150 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
|
151 amino acids. |
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 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
|
154 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
|
155 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
|
156 |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
157 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
|
158 ]]></help> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
159 <expand macro="citations"/> |
c4db8c4de66f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtdbtk commit 8487d2c73793be0afa5b34388b122e686ac8a094
iuc
parents:
diff
changeset
|
160 </tool> |