Mercurial > repos > bgruening > salmon
comparison salmonquant.xml @ 19:accd772edf70 draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit 363aead8810baedaff299537616cebdab36a8664
author | bgruening |
---|---|
date | Wed, 07 Dec 2022 19:30:24 +0000 |
parents | c6c81a918ae1 |
children |
comparison
equal
deleted
inserted
replaced
18:c6c81a918ae1 | 19:accd772edf70 |
---|---|
1 <tool id="salmon" name="Salmon quant" version="@VERSION@+@GALAXY_VERSION@" profile="@PROFILE_VERSION@"> | 1 <tool id="salmon" name="Salmon quant" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE_VERSION@"> |
2 <description>Perform dual-phase, reads or mapping-based estimation of transcript abundance from RNA-seq reads</description> | 2 <description>Perform dual-phase, reads or mapping-based estimation of transcript abundance from RNA-seq reads</description> |
3 <macros> | 3 <macros> |
4 <import>macros.xml</import> | 4 <import>macros.xml</import> |
5 </macros> | 5 </macros> |
6 <expand macro="requirements"/> | 6 <expand macro="requirements"/> |
10 @salreads@ | 10 @salreads@ |
11 #else: | 11 #else: |
12 @salalign@ | 12 @salalign@ |
13 #end if | 13 #end if |
14 @salquant@ | 14 @salquant@ |
15 #if $quant_type.qtype == "reads" and $quant_type.writeMappings: | 15 #if $quant_type.qtype == "reads" and $quant_type.bam_options.writeMappings: |
16 && @bam_sort@ ./output/samout.sam | 16 && @bam_sort@ ./output/samout.sam |
17 #end if | 17 #end if |
18 #if $quant_type.qtype == "alignment" and $quant_type.sampleOut: | 18 #if $quant_type.qtype == "alignment" and $quant_type.sampleOut: |
19 && @bam_sort@ ./output/postSample.bam | 19 && @bam_sort@ ./output/postSample.bam |
20 #end if | 20 #end if |
35 </when> | 35 </when> |
36 </conditional> | 36 </conditional> |
37 <expand macro="quantboth"/> | 37 <expand macro="quantboth"/> |
38 </inputs> | 38 </inputs> |
39 <outputs> | 39 <outputs> |
40 <data name="output_quant" format="tabular" from_work_dir="output/quant.sf" label="${tool.name} on ${on_string} (Quantification)" /> | 40 <data name="output_quant" format="tabular" from_work_dir="output/quant.sf" label="${tool.name} on ${on_string}: transcript quantification" /> |
41 <data name="output_gene_quant" format="tabular" from_work_dir="output/quant.genes.sf" label="${tool.name} on ${on_string} (Gene Quantification)"> | 41 <data name="output_gene_quant" format="tabular" from_work_dir="output/quant.genes.sf" label="${tool.name} on ${on_string}: gene quantification"> |
42 <filter>geneMap</filter> | 42 <filter>geneMap</filter> |
43 </data> | 43 </data> |
44 <data name="output_bam" format="bam" from_work_dir="output/bamout.bam" label="${tool.name} on ${on_string} (BAM format)"> | 44 <data name="output_bam" format="bam" from_work_dir="output/bamout.bam" label="${tool.name} on ${on_string}: BAM"> |
45 <filter>quant_type['qtype'] == "reads" and quant_type['writeMappings']</filter> | 45 <filter>quant_type['qtype'] == "reads" and quant_type['bam_options']['writeMappings']</filter> |
46 </data> | 46 </data> |
47 <data name="postSample" format="bam" from_work_dir="output/bamout.bam" label="Sampled input alignments on ${on_string}(BAM format)"> | 47 <data name="postSample" format="bam" from_work_dir="output/bamout.bam" label="${tool.name} on ${on_string}: sampled input alignments"> |
48 <filter>quant_type['qtype'] == "alignment" and quant_type['sampleOut']</filter> | 48 <filter>quant_type['qtype'] == "alignment" and quant_type['sampleOut']</filter> |
49 </data> | 49 </data> |
50 </outputs> | 50 </outputs> |
51 <tests> | 51 <tests> |
52 <test expect_num_outputs="2"> | 52 <test expect_num_outputs="2"> |
66 <conditional name="libtype"> | 66 <conditional name="libtype"> |
67 <param name="strandedness" value="U"/> | 67 <param name="strandedness" value="U"/> |
68 </conditional> | 68 </conditional> |
69 </conditional> | 69 </conditional> |
70 </section> | 70 </section> |
71 <param name="writeMappings" value="true"/> | 71 <conditional name="bam_options"> |
72 <param name="writeMappings" value="--writeMappings=./output/samout.sam"/> | |
73 </conditional> | |
72 </conditional> | 74 </conditional> |
73 <output name="output_quant" ftype="tabular"> | 75 <output name="output_quant" ftype="tabular"> |
74 <assert_contents> | 76 <assert_contents> |
75 <has_text text="EffectiveLength" /> | 77 <has_text text="EffectiveLength" /> |
76 <has_text text="TPM" /> | 78 <has_text text="TPM" /> |
100 <section name="input"> | 102 <section name="input"> |
101 <param name="single_or_paired.single_or_paired_opts" value="paired" /> | 103 <param name="single_or_paired.single_or_paired_opts" value="paired" /> |
102 <param name="single_or_paired.input_mate1" value="fastqs/reads_1.fastq" /> | 104 <param name="single_or_paired.input_mate1" value="fastqs/reads_1.fastq" /> |
103 <param name="single_or_paired.input_mate2" value="fastqs/reads_2.fastq" /> | 105 <param name="single_or_paired.input_mate2" value="fastqs/reads_2.fastq" /> |
104 </section> | 106 </section> |
105 <param name="writeMappings" value="true"/> | 107 <conditional name="bam_options"> |
108 <param name="writeMappings" value="--writeMappings=./output/samout.sam"/> | |
109 </conditional> | |
106 </conditional> | 110 </conditional> |
107 <output name="output_quant" ftype="tabular"> | 111 <output name="output_quant" ftype="tabular"> |
108 <assert_contents> | 112 <assert_contents> |
109 <has_text text="EffectiveLength" /> | 113 <has_text text="EffectiveLength" /> |
110 <has_text text="TPM" /> | 114 <has_text text="TPM" /> |
181 <has_text text="NR_031764" /> | 185 <has_text text="NR_031764" /> |
182 <has_n_columns n="5" /> | 186 <has_n_columns n="5" /> |
183 </assert_contents> | 187 </assert_contents> |
184 </output> | 188 </output> |
185 </test> | 189 </test> |
190 <!-- Test 05 --> | |
186 <test expect_num_outputs="2"> | 191 <test expect_num_outputs="2"> |
187 <conditional name="quant_type"> | 192 <conditional name="quant_type"> |
188 <param name="qtype" value="alignment"/> | 193 <param name="qtype" value="alignment"/> |
189 <param name="afile" value="salmonbam.bam"/> | 194 <param name="afile" value="salmonbam.bam"/> |
190 <param name="transcript" value="transcripts.fasta"/> | 195 <param name="transcript" value="transcripts.fasta"/> |
313 <has_text text="NR_031764" /> | 318 <has_text text="NR_031764" /> |
314 <has_n_columns n="5" /> | 319 <has_n_columns n="5" /> |
315 </assert_contents> | 320 </assert_contents> |
316 </output> | 321 </output> |
317 </test> | 322 </test> |
323 <!-- Test 10 --> | |
324 <!-- Test writeQualities option--> | |
325 <test expect_num_outputs="2"> | |
326 <conditional name="quant_type"> | |
327 <param name="qtype" value="reads"/> | |
328 <conditional name="refTranscriptSource"> | |
329 <param name="TranscriptSource" value="history"/> | |
330 <section name="s_index"> | |
331 <param name="fasta" value="transcripts.fasta"/> | |
332 </section> | |
333 </conditional> | |
334 <section name="input"> | |
335 <param name="single_or_paired.single_or_paired_opts" value="paired" /> | |
336 <param name="single_or_paired.input_mate1" value="fastqs/reads_1.fastq" /> | |
337 <param name="single_or_paired.input_mate2" value="fastqs/reads_2.fastq" /> | |
338 </section> | |
339 <conditional name="bam_options"> | |
340 <param name="writeMappings" value="--writeMappings=./output/samout.sam"/> | |
341 <param name="writeQualities" value="true"/> | |
342 </conditional> | |
343 </conditional> | |
344 <output name="output_quant" ftype="tabular"> | |
345 <assert_contents> | |
346 <has_text text="EffectiveLength" /> | |
347 <has_text text="TPM" /> | |
348 <has_text text="NM_001168316" /> | |
349 <has_text text="NM_174914" /> | |
350 <has_text text="NM_018953" /> | |
351 <has_text text="NR_003084" /> | |
352 <has_text text="NM_017410" /> | |
353 <has_text text="NM_153693" /> | |
354 <has_text text="NR_031764" /> | |
355 <has_n_columns n="5" /> | |
356 </assert_contents> | |
357 </output> | |
358 <assert_command> | |
359 <has_text text="--libType A"/> | |
360 </assert_command> | |
361 </test> | |
362 <!-- Test genome input for decoy index --> | |
363 <test expect_num_outputs="2"> | |
364 <conditional name="quant_type"> | |
365 <param name="qtype" value="reads"/> | |
366 <conditional name="refTranscriptSource"> | |
367 <param name="TranscriptSource" value="history"/> | |
368 <section name="s_index"> | |
369 <param name="fasta" value="transcripts.fasta"/> | |
370 <param name="genome" value="genome.fasta"/> | |
371 </section> | |
372 </conditional> | |
373 <section name="input"> | |
374 <conditional name="single_or_paired"> | |
375 <param name="single_or_paired_opts" value="paired" /> | |
376 <param name="input_mate1" value="fastqs/reads_1.fastq" /> | |
377 <param name="input_mate2" value="fastqs/reads_2.fastq" /> | |
378 <conditional name="libtype"> | |
379 <param name="strandedness" value="U"/> | |
380 </conditional> | |
381 </conditional> | |
382 </section> | |
383 <conditional name="bam_options"> | |
384 <param name="writeMappings" value="--writeMappings=./output/samout.sam"/> | |
385 </conditional> | |
386 </conditional> | |
387 <output name="output_quant" ftype="tabular"> | |
388 <assert_contents> | |
389 <has_text text="EffectiveLength" /> | |
390 <has_text text="TPM" /> | |
391 <has_text text="NM_001168316" /> | |
392 <has_text text="NM_174914" /> | |
393 <has_text text="NM_018953" /> | |
394 <has_text text="NR_003084" /> | |
395 <has_text text="NM_017410" /> | |
396 <has_text text="NM_153693" /> | |
397 <has_text text="NR_031764" /> | |
398 <has_n_columns n="5" /> | |
399 </assert_contents> | |
400 </output> | |
401 <assert_command> | |
402 <has_text text="--libType IU"/> | |
403 <has_text text="--decoy"/> | |
404 </assert_command> | |
405 </test> | |
318 </tests> | 406 </tests> |
319 <help><![CDATA[ | 407 <help><![CDATA[ |
320 @salmonhelp@ | 408 @salmonhelp@ |
321 ]]></help> | 409 ]]></help> |
322 <expand macro="citations"/> | 410 <expand macro="citations"/> |