Mercurial > repos > galaxy-australia > blobtools
comparison blobtools_view.xml @ 0:234b3e869b16 draft default tip
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/blobtools commit 89d41433582a6470135c026aad07b714eb3145d4"
author | galaxy-australia |
---|---|
date | Wed, 26 Oct 2022 06:54:04 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:234b3e869b16 |
---|---|
1 <tool id="blobtools_view" name="Blobtools view" version="1.1" > | |
2 <description>Transform BlobDB json file into view format</description> | |
3 <xrefs> | |
4 <xref type='bio.tools'>blobtools</xref> | |
5 </xrefs> | |
6 <macros> | |
7 <import>macros.xml</import> | |
8 </macros> | |
9 <expand macro="requirements" /> | |
10 <expand macro="stdio" /> | |
11 <expand macro="version_command" /> | |
12 <command><![CDATA[ | |
13 cp $input_json input.json && | |
14 blobtools view | |
15 $adv_options.hits | |
16 -x $adv_options.taxrule | |
17 -r $adv_options.rank | |
18 #if $adv_options.cov: | |
19 '$cov' | |
20 #end if | |
21 #if $adv_options.concoct: | |
22 '$concoct' | |
23 #end if | |
24 -i input.json | |
25 -o output | |
26 && mv output.input.table.txt '$blobDB_table' | |
27 2>&1 | |
28 | |
29 ]]></command> | |
30 <inputs> | |
31 <param name="input_json" type="data" format="json" label="json File" help="Input BlobDB json file"/> | |
32 <section name="adv_options" title="Advance Options" expanded="False"> | |
33 <param name="taxrule" type="select" display="radio" label="Taxonomy Rule" help="Taxonomy rule for computing taxonomy: default bestsum"> | |
34 <option selected="true" value="bestsum">best sum</option> | |
35 <option value="bestsumorder">best sum order</option> | |
36 </param> | |
37 <param name="rank" type="select" display="radio" label="Taxonomic rank"> | |
38 <option value="species">Species</option> | |
39 <option value="genus">Genus</option> | |
40 <option value="family">Family</option> | |
41 <option value="order">Order</option> | |
42 <option value="phylum" selected="true">Phylum</option> | |
43 <option value="superkingdom">Superkingdom</option> | |
44 <option value="all">All</option> | |
45 </param> | |
46 <param name="hits" type="boolean" truevalue="--hits" falsevalue="" checked="False" label="Displays taxonomic hits from tax files that contributed to the taxonomy"/> | |
47 <param argument="--concoct" type="boolean" truevalue="--concoct" falsevalue="" checked="false" label="Generate concoct files" help="default: False"/> | |
48 <param argument="--cov" type="boolean" truevalue="--cov" falsevalue="" checked="false" label="Generate cov files" help="Generate cov files"/> | |
49 </section> | |
50 </inputs> | |
51 <outputs> | |
52 <data name="blobDB_table" format="tabular" label="${tool.name} on ${on_string}"/> | |
53 </outputs> | |
54 | |
55 <tests> | |
56 <test> | |
57 <!-- #1 blobtools view test --> | |
58 <param name="input_json" value="test.blobDB.json" ftype="json"/> | |
59 <output name="blobDB_table" file="test.blobDB.table.txt" ftype="tabular"/> | |
60 </test> | |
61 </tests> | |
62 <help><![CDATA[ | |
63 | |
64 .. class:: infomark | |
65 | |
66 *Blobtools view is used to generate a blobDB.table.json before creating a plot using blobtools plot.* | |
67 | |
68 **Input** | |
69 | |
70 - a json file - output file created with Blobtools create. | |
71 | |
72 **Parameters** | |
73 | |
74 - taxrule - Taxrule used for computing taxonomy (supported: "bestsum", "bestsumorder") [ default: bestsum ] | |
75 - rank - Taxonomic rank(s) at which output will be written. (supported: 'species', 'genus', 'family', 'order', 'phylum', 'superkingdom', 'all') [default: phylum] | |
76 - hits - Displays taxonomic hits from tax files that contributed to the taxonomy. | |
77 - concoct - Generate cov files [default: False] | |
78 - calculate_cov - Legacy coverage when getting coverage from BAM file | |
79 | |
80 **Command line example:** | |
81 | |
82 - blobtools view -i prefix.blobDB.json | |
83 | |
84 **Output** | |
85 | |
86 - prefix.blobDB.table.json - a text base output file | |
87 - coverage file - a text base coverage file output file with column # contig_id read_cov base_cov # - if cov is specified | |
88 - prefix.blobDB.concoct_coverage_info.tsv - a text base coverage output file with base cov column only - if concoct is specified. | |
89 | |
90 | |
91 .. class:: infomark | |
92 | |
93 **Contributor** | |
94 | |
95 Galaxy Australia wrapped the Blobtools: the original software is available in this `Github repository <https://github.com/DRL/blobtools>`_. | |
96 | |
97 **References** | |
98 | |
99 ]]></help> | |
100 <citations> | |
101 <citation type="doi">DOI: 10.12688/f1000research.12232.1</citation> | |
102 </citations> | |
103 </tool> |