comparison sailfish.xml @ 1:06646e81c543 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sailfish commit 326fbf6e8070a792e3bda3256e5465c2d5b1eb71
author bgruening
date Tue, 10 Nov 2015 20:19:23 -0500
parents 3b4ed0e473dc
children 20eab032389f
comparison
equal deleted inserted replaced
0:3b4ed0e473dc 1:06646e81c543
4 <requirement type="package" version="0.7.6">sailfish</requirement> 4 <requirement type="package" version="0.7.6">sailfish</requirement>
5 </requirements> 5 </requirements>
6 <macros> 6 <macros>
7 <xml name="strandedness"> 7 <xml name="strandedness">
8 <param name="strandedness" type="select" label="Specify the strandedness of the reads"> 8 <param name="strandedness" type="select" label="Specify the strandedness of the reads">
9 <option value="U" selected="True">Not stranded</option> 9 <option value="U" selected="True">Not stranded (U)</option>
10 <option value="SF">read 1 (or single-end read) comes from the forward strand</option> 10 <option value="SF">read 1 (or single-end read) comes from the forward strand (SF)</option>
11 <option value="SR">read 1 (or single-end read) comes from the reverse strand</option> 11 <option value="SR">read 1 (or single-end read) comes from the reverse strand (SR)</option>
12 </param> 12 </param>
13 </xml> 13 </xml>
14 </macros> 14 </macros>
15 <stdio> 15 <stdio>
16 <exit_code range="1:" /> 16 <exit_code range="1:" />
17 <exit_code range=":-1" /> 17 <exit_code range=":-1" />
18 <regex match="Error:" /> 18 <regex match="Error:" />
19 <regex match="Exception:" /> 19 <regex match="Exception:" />
20 <regex match="Exception :" />
20 </stdio> 21 </stdio>
21 <version_command>sailfish -version</version_command> 22 <version_command>sailfish -version</version_command>
22 <command> 23 <command>
23 <![CDATA[ 24 <![CDATA[
24 25
34 #end if 35 #end if
35 36
36 && 37 &&
37 38
38 #if $single_or_paired.single_or_paired_opts == 'single': 39 #if $single_or_paired.single_or_paired_opts == 'single':
39 ln -s $single_or_paired.input_singles ./single.$single_or_paired.input_singles.ext && 40
41 #if $single_or_paired.input_singles.ext == 'fasta':
42 #set $ext = 'fasta'
43 #else:
44 #set $ext = 'fastq'
45 #end if
46
47 ln -s $single_or_paired.input_singles ./single.$ext &&
40 #else: 48 #else:
41 ln -s $single_or_paired.input_mate1 ./mate1.$single_or_paired.input_mate1.ext && 49
42 ln -s $single_or_paired.input_mate2 ./mate2.$single_or_paired.input_mate2.ext && 50 #if $single_or_paired.input_mate1.ext == 'fasta':
51 #set $ext = 'fasta'
52 #else:
53 #set $ext = 'fastq'
54 #end if
55
56 ln -s $single_or_paired.input_mate1 ./mate1.$ext &&
57 ln -s $single_or_paired.input_mate2 ./mate2.$ext &&
43 #end if 58 #end if
44 59
45 60
46 #if $geneMap: 61 #if $geneMap:
47 ln -s "$geneMap" ./geneMap.$geneMap.ext && 62 ln -s "$geneMap" ./geneMap.$geneMap.ext &&
48 #end if 63 #end if
49 64
50 sailfish quant 65 sailfish quant
51 --index $index_path 66 --index $index_path
52 #if $single_or_paired.single_or_paired_opts == 'single': 67 #if $single_or_paired.single_or_paired_opts == 'single':
53 --libType "${single_or_paired.orientation}${single_or_paired.strandedness}" 68 --libType ${single_or_paired.strandedness}
54 --unmated_reads ./single.$single_or_paired.input_singles.ext 69 --unmatedReads ./single.$ext
55 #else: 70 #else:
56 --mates1 ./mate1.$single_or_paired.input_mate1.ext 71 --mates1 ./mate1.$ext
57 --mates2 ./mate2.$single_or_paired.input_mate2.ext 72 --mates2 ./mate2.$ext
58 --libType "${single_or_paired.orientation}${single_or_paired.strandedness}" 73 --libType "${single_or_paired.orientation}${single_or_paired.strandedness}"
59 #end if 74 #end if
60 --output ./ 75 --output ./
61 $biasCorrect 76 $biasCorrect
62 --threads "\${GALAXY_SLOTS:-4}" 77 --threads "\${GALAXY_SLOTS:-4}"
171 186
172 </inputs> 187 </inputs>
173 <outputs> 188 <outputs>
174 <data name="output_quant" format="tabular" from_work_dir="quant.sf" label="${tool.name} on ${on_string} (Quantification)" /> 189 <data name="output_quant" format="tabular" from_work_dir="quant.sf" label="${tool.name} on ${on_string} (Quantification)" />
175 <data name="output_bias_corrected_quant" format="tabular" from_work_dir="quant_bias_corrected.sf" label="${tool.name} on ${on_string} (Bias corrected Quantification)"> 190 <data name="output_bias_corrected_quant" format="tabular" from_work_dir="quant_bias_corrected.sf" label="${tool.name} on ${on_string} (Bias corrected Quantification)">
176 <filter>bias_correct == '--biasCorrect'</filter> 191 <filter>biasCorrect is True</filter>
177 </data> 192 </data>
178 <data name="output_gene_quant" format="tabular" from_work_dir="quant.genes.sf" label="${tool.name} on ${on_string} (Gene Quantification)"> 193 <data name="output_gene_quant" format="tabular" from_work_dir="quant.genes.sf" label="${tool.name} on ${on_string} (Gene Quantification)">
179 <filter>geneMap is True</filter> 194 <filter>geneMap is True</filter>
180 </data> 195 </data>
181 </outputs> 196 </outputs>