comparison kraken_biom.xml @ 1:7c9b12bda2a6 draft default tip

planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/KrakenTools
author youyuh48
date Sun, 02 May 2021 06:21:24 +0000
parents
children
comparison
equal deleted inserted replaced
0:5ca43a5fac32 1:7c9b12bda2a6
1 <tool id="kraken_biom" name="kraken-biom" version="0.1.0">
2 <description>Create BIOM-format tables from Kraken output</description>
3 <requirements>
4 <requirement type="package" version="1.0.1">kraken-biom</requirement>
5 </requirements>
6 <command detect_errors="exit_code">
7 <![CDATA[
8 #import re
9 #set $files_to_convert = []
10 #for $i, $file in enumerate( $input_files ):
11 #set $safename = re.sub('[^\w\-_\.]', '_', $file.element_identifier)
12 #set $newfile = $safename + ".report"
13 #silent files_to_convert.append(str($newfile))
14 ln -s '$file' ./$newfile &&
15 #end for
16
17 kraken-biom
18 #for $file in $files_to_convert:
19 '$file'
20 #end for
21 -o '$output1'
22 ]]>
23 </command>
24 <inputs>
25 <param type="data" name="input_files" format="tabular" multiple="True"
26 label="Kraken report output" help="Select taxonomy classification report produced by Kraken" />
27 </inputs>
28 <outputs>
29 <data name="output1" format="biom2" label="${tool.name} on ${on_string}" />
30 </outputs>
31 <help>
32 <![CDATA[
33 .. class:: infomark
34
35 **What it does**
36
37 The program takes as input, one or more files output from the kraken-report tool. Each file is parsed and the counts for each OTU (operational taxonomic unit) are recorded, along with database ID (e.g. NCBI), and lineage. The extracted data are then stored in a BIOM table where each count is linked to the Sample and OTU it belongs to. Sample IDs are extracted from the input filenames (everything up to the '.').
38
39 ]]>
40 </help>
41 <citations>
42 <citation type="bibtex">
43 @misc{githubKrakenTools,
44 title = {KrakenTools},
45 publisher = {GitHub},
46 journal = {GitHub repository},
47 url = {https://github.com/smdabdoub/kraken-biom},
48 }</citation>
49 </citations>
50 </tool>