Mercurial > repos > dfornika > kraken2
comparison kraken2.xml @ 0:a77e88d426d9 draft
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
author | dfornika |
---|---|
date | Fri, 01 Mar 2019 12:43:26 -0500 |
parents | |
children | 7932d09da19b |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:a77e88d426d9 |
---|---|
1 <tool id="kraken2" name="kraken2" version="@TOOL_VERSION@+galaxy0"> | |
2 <description></description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <requirements> | |
7 <requirement type="package" version="@TOOL_VERSION@">kraken2</requirement> | |
8 </requirements> | |
9 <version_command>kraken2 --version</version_command> | |
10 <command detect_errors="exit_code"> | |
11 <![CDATA[ | |
12 @SET_DATABASE_PATH@ && | |
13 | |
14 kraken2 | |
15 --threads \${GALAXY_SLOTS:-1} | |
16 @INPUT_DATABASE@ | |
17 | |
18 #if $single_paired.single_paired_selector == 'yes' | |
19 #if $forward_input.is_of_type( 'fastq' ): | |
20 --fastq-input | |
21 #else: | |
22 --fasta-input | |
23 #end if | |
24 '${single_paired.forward_input}' '${single_paired.reverse_input}' | |
25 ${single_paired.check_names} | |
26 #elif $single_paired.single_paired_selector == "collection": | |
27 #if $single_paired.input_pair.forward.is_of_type( 'fastq' ): | |
28 --fastq-input | |
29 #else: | |
30 --fasta-input | |
31 #end if | |
32 '${single_paired.input_pair.forward}' '${single_paired.input_pair.reverse}' | |
33 ${single_paired.check_names} | |
34 #else: | |
35 #if $single_paired.input_sequences.is_of_type('fastq') | |
36 --fastq-input | |
37 #else: | |
38 --fasta-input | |
39 #end if | |
40 '${single_paired.input_sequences}' | |
41 #end if | |
42 --db '$database' | |
43 > '$output' | |
44 ]]> | |
45 </command> | |
46 <inputs> | |
47 <conditional name="single_paired"> | |
48 <param name="single_paired_selector" type="select" label="Single or paired reads" help="--paired"> | |
49 <option value="collection">Collection</option> | |
50 <option value="yes">Paired</option> | |
51 <option selected="True" value="no">Single</option> | |
52 </param> | |
53 <when value="collection"> | |
54 <param format="fasta,fastq" name="input_pair" type="data_collection" collection_type="paired" label="Collection of paired reads" help="FASTA or FASTQ datasets" /> | |
55 <param name="check_names" argument="--check-names" type="boolean" checked="False" truevalue="--paired --check-names" falsevalue="--paired" label="Verify read names match"/> | |
56 </when> | |
57 <when value="yes"> | |
58 <param format="fasta,fastq" name="forward_input" type="data" label="Forward strand" help="FASTA or FASTQ dataset"/> | |
59 <param format="fasta,fastq" name="reverse_input" type="data" label="Reverse strand" help="FASTA or FASTQ dataset"/> | |
60 <param name="check_names" type="boolean" checked="False" truevalue="--paired --check-names" falsevalue="--paired" label="Verify read names match" help="--check-names" /> | |
61 </when> | |
62 <when value="no"> | |
63 <param format="fasta,fastq" label="Input sequences" name="input_sequences" type="data" help="FASTA or FASTQ datasets"/> | |
64 </when> | |
65 </conditional> | |
66 <param name="" type="" format="" /> | |
67 </inputs> | |
68 <outputs> | |
69 <data name="output" format="" /> | |
70 </outputs> | |
71 <tests> | |
72 <test> | |
73 <param name="single_paired_selector" value="no"/> | |
74 <param name="input_sequences" value="kraken_test1.fa" ftype="fasta"/> | |
75 <param name="split_reads" value="false"/> | |
76 <param name="quick" value="no"/> | |
77 <param name="only-classified-output" value="false"/> | |
78 <param name="kraken_database" value="new_style_test_entry"/> | |
79 <output name="output" file="kraken_test1_output.tab" ftype="tabular"/> | |
80 </test> | |
81 </tests> | |
82 <help> | |
83 <![CDATA[ | |
84 Kraken is a taxonomic classification system using exact k-mer matches to achieve high accuracy and fast classification speeds. This classifier matches each k-mer within a query sequence to the lowest common ancestor (LCA) of all genomes containing the given k-mer. The k-mer assignments inform the classification algorithm. | |
85 ]]> | |
86 </help> | |
87 <expand macro="citations" /> | |
88 </tool> |