Mercurial > repos > youyuh48 > kraken_tools
comparison extract_kraken_reads.xml @ 0:5ca43a5fac32 draft
planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/KrakenTools
author | youyuh48 |
---|---|
date | Sun, 02 May 2021 04:46:00 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:5ca43a5fac32 |
---|---|
1 <tool id="extract_kraken_reads" name="extract_kraken_reads" version="0.1.0"> | |
2 <description>Extract reads classified at any user-specified taxonomy IDs.</description> | |
3 <requirements> | |
4 <requirement type="package" version="1.2">krakentools</requirement> | |
5 </requirements> | |
6 <command detect_errors="exit_code"> | |
7 <![CDATA[ | |
8 extract_kraken_reads.py | |
9 -k '$classification' | |
10 -s '$seq' | |
11 -t $taxid | |
12 --max $maxreads | |
13 -o '$output1' | |
14 ]]> | |
15 </command> | |
16 <inputs> | |
17 <param type="data" name="classification" format="tabular" label="Kraken classification output" /> | |
18 <param type="data" name="seq" format="fasta,fastq" label="Select the same fasta/fastq reads used" /> | |
19 <param type="text" name="taxid" label="Taxonomy ID[s] of reads to extract (space-delimited)" /> | |
20 <param name="maxreads" type="integer" value="10" min="1" label="Maximum number of reads to save" /> | |
21 </inputs> | |
22 <outputs> | |
23 <data name="output1" format="fasta" label="${tool.name} on ${on_string}" /> | |
24 </outputs> | |
25 <tests> | |
26 <test> | |
27 <param name="classification" value="kraken2_class.tsv" /> | |
28 <param name="seq" value="tid1613.fasta" /> | |
29 <param name="taxid" value="1613" /> | |
30 <param name="taxid" value="1" /> | |
31 <output name="output1" file="out.fasta" /> | |
32 </test> | |
33 </tests> | |
34 <help> | |
35 <![CDATA[ | |
36 .. class:: infomark | |
37 | |
38 **What it does** | |
39 | |
40 This program extract reads classified at any user-specified taxonomy IDs. User must specify the Kraken output file, the sequence file(s), and at least one taxonomy ID. | |
41 | |
42 As of April 19, 2021, this script is compatible with KrakenUniq/Kraken2Uniq reports. | |
43 ]]> | |
44 </help> | |
45 <citations> | |
46 <citation type="bibtex"> | |
47 @misc{githubKrakenTools, | |
48 title = {KrakenTools}, | |
49 publisher = {GitHub}, | |
50 journal = {GitHub repository}, | |
51 url = {https://github.com/jenniferlu717/KrakenTools}, | |
52 }</citation> | |
53 </citations> | |
54 </tool> |