annotate est-abundance.xml @ 4:b08ac10aed96 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 60d7a2dd300629ceca547acc8f194f466addfd8a"
author iuc
date Mon, 07 Jun 2021 20:32:37 +0000
parents e1d4cab2daea
children 19035a7b1106
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
a5145865e467 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 2a7a1f987c8fd07ae19140dd0ae86ff2a710de52"
iuc
parents: 0
diff changeset
1 <tool id="est_abundance" name="Estimate Abundance at Taxonomic Level" version="@TOOL_VERSION@+galaxy0">
0
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
2 <description>Bayesian Reestimation of Abundance with KrakEN</description>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
3 <macros>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
4 <import>macros.xml</import>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
5 </macros>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
6 <edam_topics>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
7 <edam_topic>topic_3174</edam_topic>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
8 <edam_topic>topic_3697</edam_topic>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
9 </edam_topics>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
10 <edam_operations>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
11 <edam_operation>operation_2238</edam_operation>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
12 </edam_operations>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
13 <expand macro="requirements" />
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
14 <command detect_errors="exit_code"><![CDATA[
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
15 est_abundance.py
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
16 -i '$input'
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
17 -k '$kmer_distr.fields.path'
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
18 -l $level
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
19 -t $threshold
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
20 -o '$report'
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
21 ]]>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
22 </command>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
23 <inputs>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
24 <param name="input" type="data" format="tabular" label="Kraken report file" />
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
25 <param label="Select a Kmer distribution" name="kmer_distr" type="select">
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
26 <options from_data_table="bracken_databases">
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
27 <validator message="No database is available" type="no_options" />
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
28 </options>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
29 </param>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
30 <param name="level" type="select" label="Level" help="Level to push all reads to" >
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
31 <option value="S" selected="true">Species</option>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
32 <option value="G">Genus</option>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
33 <option value="F">Family</option>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
34 <option value="O">Order</option>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
35 <option value="C">Class</option>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
36 <option value="P">Phylum</option>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
37 <option value="D">Domain</option>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
38 </param>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
39 <param name="threshold" type="integer" value="10" label="Number of mismatches allowed when matching tag"
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
40 help="Threshold for the minimum number of reads kraken must assign to a classification for that
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
41 classification to be considered in the final abundance estimation." />
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
42 </inputs>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
43 <outputs>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
44 <data name="report" format="tabular" label="${tool.name} on ${on_string}: Report" />
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
45 </outputs>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
46 <tests>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
47 <test>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
48 <param name="input" value="NC_003198.1_simulated_kraken_report.txt" ftype="tabular"/>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
49 <param name="level" value="S" />
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
50 <param name="bracken_database" value="test_entry"/>
3
e1d4cab2daea "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 2e8d990fa8b6de085046195464071020b467ce5a"
iuc
parents: 2
diff changeset
51 <output name="report" file="NC_003198.1_simulated_bracken_report.txt" ftype="tabular"/>
0
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
52 </test>
3
e1d4cab2daea "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 2e8d990fa8b6de085046195464071020b467ce5a"
iuc
parents: 2
diff changeset
53 <test>
0
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
54 <param name="input" value="NC_011750.1_simulated_kraken_report.txt" ftype="tabular"/>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
55 <param name="level" value="S" />
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
56 <param name="bracken_database" value="test_entry"/>
3
e1d4cab2daea "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 2e8d990fa8b6de085046195464071020b467ce5a"
iuc
parents: 2
diff changeset
57 <output name="report" file="NC_011750.1_simulated_bracken_report.txt" ftype="tabular"/>
0
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
58 </test>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
59 </tests>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
60 <help>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
61 <![CDATA[
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
62 Documentation can be found at `site <http://ccb.jhu.edu/software/bracken/index.shtml?t=manual>`_.
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
63 ]]></help>
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
64 <expand macro="citations" />
b7b1c8bf7ae0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bracken commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
diff changeset
65 </tool>