# HG changeset patch # User bgruening # Date 1492085893 14400 # Node ID 979bff04ae7d2f38695211a864ab0acd5c6780b8 # Parent 0b689bf9473c074de7c1c36a618081d2986e46ce planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit 359ddec398e18d3e2a534239b1202691595d1243 diff -r 0b689bf9473c -r 979bff04ae7d salmon.xml --- a/salmon.xml Thu Feb 02 19:37:14 2017 -0500 +++ b/salmon.xml Thu Apr 13 08:18:13 2017 -0400 @@ -13,6 +13,7 @@ + bzip2 salmon @@ -45,10 +46,16 @@ #set $index_path = $refTranscriptSource.index.fields.path #end if && + #set compressed = 'no' #if $single_or_paired.single_or_paired_opts == 'single': #if $single_or_paired.input_singles.ext == 'fasta': #set $ext = 'fasta' #else: + #if $single_or_paired.input_singles.is_of_type('fastq.gz'): + #set compressed = 'GZ' + #else if $single_or_paired.input_singles.is_of_type('fastq.bz2'): + #set compressed = 'BZ2' + #end if #set $ext = 'fastq' #end if ln -s $single_or_paired.input_singles ./single.$ext && @@ -56,6 +63,11 @@ #if $single_or_paired.input_mate1.ext == 'fasta': #set $ext = 'fasta' #else: + #if $single_or_paired.input_mate1.is_of_type('fastq.gz'): + #set compressed = 'GZ' + #else if $single_or_paired.input_mate1.is_of_type('fastq.bz2'): + #set compressed = 'BZ2' + #end if #set $ext = 'fastq' #end if ln -s $single_or_paired.input_mate1 ./mate1.$ext && @@ -68,10 +80,24 @@ --index $index_path #if $single_or_paired.single_or_paired_opts == 'single': --libType ${single_or_paired.strandedness} - --unmatedReads ./single.$ext + #if $compressed == 'GZ': + --unmatedReads <(zcat ./single.$ext) + #else if $compressed == 'BZ2': + --unmatedReads <(bzcat ./single.$ext) + #else: + --unmatedReads ./single.$ext + #end if #else: - --mates1 ./mate1.$ext - --mates2 ./mate2.$ext + #if $compressed == 'GZ': + --mates1 <(zcat ./mate1.$ext) + --mates2 <(zcat ./mate2.$ext) + #else if $compressed == 'BZ2': + --mates1 <(bzcat ./mate1.$ext) + --mates2 <(bzcat ./mate2.$ext) + #else: + --mates1 ./mate1.$ext + --mates2 ./mate2.$ext + #end if --libType "${single_or_paired.orientation}${single_or_paired.strandedness}" #end if --output ./output @@ -168,12 +194,12 @@ - + - - + + @@ -333,6 +359,28 @@ + + + + + + + + + + + + + + + + + + + + + + diff -r 0b689bf9473c -r 979bff04ae7d test-data/reads_1.fastq.gz Binary file test-data/reads_1.fastq.gz has changed diff -r 0b689bf9473c -r 979bff04ae7d test-data/reads_2.fastq.gz Binary file test-data/reads_2.fastq.gz has changed