comparison kraken.xml @ 4:55d42997c0b5 draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/
author devteam
date Wed, 04 Nov 2015 10:09:27 -0500
parents 2ad66362ed0f
children bc918f32d4be
comparison
equal deleted inserted replaced
3:2ad66362ed0f 4:55d42997c0b5
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 <tool id="kraken" name="Kraken" version="1.1.0"> 2 <tool id="kraken" name="Kraken" version="1.1.1">
3 <description> 3 <description>
4 assign taxonomic labels to sequencing reads 4 assign taxonomic labels to sequencing reads
5 </description> 5 </description>
6 <macros> 6 <macros>
7 <import>macros.xml</import> 7 <import>macros.xml</import>
9 <command> 9 <command>
10 <![CDATA[ 10 <![CDATA[
11 @SET_DATABASE_PATH@ && 11 @SET_DATABASE_PATH@ &&
12 kraken --threads \${GALAXY_SLOTS:-1} @INPUT_DATABASE@ 12 kraken --threads \${GALAXY_SLOTS:-1} @INPUT_DATABASE@
13 13
14 #if $input_sequences.is_of_type( 'fastq' ):
15 --fastq-input
16 #else:
17 --fasta-input
18 #end if
19
20 ${only_classified_output} 14 ${only_classified_output}
21 15
22 #if str( $quick_operation.quick ) == "yes": 16 #if str( $quick_operation.quick ) == "yes":
23 --quick 17 --quick
24 --min-hits ${quick_operation.min_hits} 18 --min-hits ${quick_operation.min_hits}
25 19
26 #end if 20 #end if
27 21
28 "$input_sequences" 22 #if $single_paired.single_paired_selector == "yes":
23 #if $forward_input.is_of_type( 'fastq' ):
24 --fastq-input
25 #else:
26 --fasta-input
27 #end if
28 "$forward_input" "$reverse_input"
29 ${single_paired.check_names}
30 #else:
31 #if $input_sequences.is_of_type( 'fastq' ):
32 --fastq-input
33 #else:
34 --fasta-input
35 #end if
36 "$input_sequences"
37 #end if
29 38
30 #if $split_reads: 39 #if $split_reads:
31 --classified-out "${classified_out}" --unclassified-out "${unclassified_out}" 40 --classified-out "${classified_out}" --unclassified-out "${unclassified_out}"
32 #end if 41 #end if
33 --output "${output}" 42 --output "${output}"
34 ##kraken-translate --db ${kraken_database.fields.name} "${output}" > "${translated}" 43 ##kraken-translate --db ${kraken_database.fields.name} "${output}" > "${translated}"
35 ]]> 44 ]]>
36 </command> 45 </command>
37 <inputs> 46 <inputs>
38 <param format="fasta,fastq" label="Input sequences" name="input_sequences" type="data" help="FASTA or FASTQ datasets"/> 47 <conditional name="single_paired">
48 <param name="single_paired_selector" type="select" label="Reads are paired-end" help="--paired">
49 <option value="yes">Yes</option>
50 <option selected="True" value="no">No</option>
51 </param>
52 <when value="yes">
53 <param format="fasta,fastq" label="Forward strand" name="forward_input" type="data" help="FASTA or FASTQ dataset"/>
54 <param format="fasta,fastq" label="Reverse strand" name="reverse_input" type="data" help="FASTA or FASTQ dataset"/>
55 <param name="check_names" type="boolean" checked="False" truevalue="--paired --check-names" falsevalue="--paired" label="Verify read names match" help="--check-names" />
56 </when>
57 <when value="no">
58 <param format="fasta,fastq" label="Input sequences" name="input_sequences" type="data" help="FASTA or FASTQ datasets"/>
59 </when>
60
61 </conditional>
39 <param label="Output classified and unclassified reads?" name="split_reads" type="boolean" help="Sets --unclassified-out and --classified-out"/> 62 <param label="Output classified and unclassified reads?" name="split_reads" type="boolean" help="Sets --unclassified-out and --classified-out"/>
40 63
41 <conditional name="quick_operation"> 64 <conditional name="quick_operation">
42 <param name="quick" type="select" label="Enable quick operation?" help="--quick; Rather than searching all k-mers in a sequence, stop classification after a specified number of database hit"> 65 <param name="quick" type="select" label="Enable quick operation?" help="--quick; Rather than searching all k-mers in a sequence, stop classification after a specified number of database hit">
43 <option value="yes">Yes</option> 66 <option value="yes">Yes</option>