# HG changeset patch # User bgruening # Date 1447204702 18000 # Node ID f261bfea2976fd9e7f3ebaedeb56d8477b09f0b9 # Parent 7e250f77d71dd60cc015d25d09ed57d77b83da21 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sailfish commit d0cee7dc397cd825710312d22e6c816210d25a11 diff -r 7e250f77d71d -r f261bfea2976 sailfish.xml --- a/sailfish.xml Fri Oct 16 15:02:23 2015 -0400 +++ b/sailfish.xml Tue Nov 10 20:18:22 2015 -0500 @@ -6,9 +6,9 @@ - - - + + + @@ -17,6 +17,7 @@ + sailfish -version @@ -36,10 +37,24 @@ && #if $single_or_paired.single_or_paired_opts == 'single': - ln -s $single_or_paired.input_singles ./single.$single_or_paired.input_singles.ext && + + #if $single_or_paired.input_singles.ext == 'fasta': + #set $ext = 'fasta' + #else: + #set $ext = 'fastq' + #end if + + ln -s $single_or_paired.input_singles ./single.$ext && #else: - ln -s $single_or_paired.input_mate1 ./mate1.$single_or_paired.input_mate1.ext && - ln -s $single_or_paired.input_mate2 ./mate2.$single_or_paired.input_mate2.ext && + + #if $single_or_paired.input_mate1.ext == 'fasta': + #set $ext = 'fasta' + #else: + #set $ext = 'fastq' + #end if + + ln -s $single_or_paired.input_mate1 ./mate1.$ext && + ln -s $single_or_paired.input_mate2 ./mate2.$ext && #end if @@ -50,11 +65,11 @@ sailfish quant --index $index_path #if $single_or_paired.single_or_paired_opts == 'single': - --libType "${single_or_paired.orientation}${single_or_paired.strandedness}" - --unmated_reads ./single.$single_or_paired.input_singles.ext + --libType ${single_or_paired.strandedness} + --unmatedReads ./single.$ext #else: - --mates1 ./mate1.$single_or_paired.input_mate1.ext - --mates2 ./mate2.$single_or_paired.input_mate2.ext + --mates1 ./mate1.$ext + --mates2 ./mate2.$ext --libType "${single_or_paired.orientation}${single_or_paired.strandedness}" #end if --output ./ @@ -173,7 +188,7 @@ - bias_correct == '--biasCorrect' + biasCorrect is True geneMap is True