# HG changeset patch # User bgruening # Date 1492085906 14400 # Node ID 1b22d8a18acc9d921dc4836dc28049d1c7faff3f # Parent c1d822f84e1a05480ee1de8d846a2afc5479feb2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit 359ddec398e18d3e2a534239b1202691595d1243 diff -r c1d822f84e1a -r 1b22d8a18acc salmon.xml --- a/salmon.xml Thu Feb 02 19:38:01 2017 -0500 +++ b/salmon.xml Thu Apr 13 08:18:26 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 c1d822f84e1a -r 1b22d8a18acc test-data/reads_1.fastq.gz Binary file test-data/reads_1.fastq.gz has changed diff -r c1d822f84e1a -r 1b22d8a18acc test-data/reads_2.fastq.gz Binary file test-data/reads_2.fastq.gz has changed