Repository revision
7:a8f343909c17

Repository 'sailfish'
hg clone https://toolshed.g2.bx.psu.edu/repos/bgruening/sailfish

Sailfish tool metadata
Miscellaneous
Sailfish
transcript quantification from RNA-seq data
sailfish
toolshed.g2.bx.psu.edu/repos/bgruening/sailfish/sailfish/0.10.1.1
0.10.1.1
sailfish -version
True
Version lineage of this tool (guids ordered most recent to oldest)
toolshed.g2.bx.psu.edu/repos/bgruening/sailfish/sailfish/0.10.1.1 (this tool)
toolshed.g2.bx.psu.edu/repos/bgruening/sailfish/sailfish/0.10.1
toolshed.g2.bx.psu.edu/repos/bgruening/sailfish/sailfish/0.7.6.1
toolshed.g2.bx.psu.edu/repos/bgruening/sailfish/sailfish/0.7.6.0
sailfish
Requirements (dependencies defined in the <requirements> tag set)
name version type
bzip2 1.0.6 package
sailfish 0.10.1 package
Additional information about this tool
#if $refTranscriptSource.TranscriptSource == "history":
            sailfish index
                --transcripts $refTranscriptSource.ownFile
                --kmerSize $refTranscriptSource.kmerSize
                --out ./index_dir
                --threads "\${GALAXY_SLOTS:-4}"
            #set $index_path = './index_dir'
        #else:
            #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 &&
        #else:
            #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 &&
            ln -s $single_or_paired.input_mate2 ./mate2.$ext &&
        #end if
        #if $geneMap:
            ln -s "$geneMap" ./geneMap.$geneMap.ext &&
        #end if
        sailfish quant
            --index $index_path
            #if $single_or_paired.single_or_paired_opts == 'single':
                --libType ${single_or_paired.strandedness}
                #if $compressed == 'GZ':
                    --unmatedReads <(zcat ./single.$ext)
                #else if $compressed == 'BZ2':
                    --unmatedReads <(bzcat ./single.$ext)
                #else:
                    --unmatedReads ./single.$ext
                #end if
            #else:
                #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 ./results
            $biasCorrect
            $gcBiasCorrect
            --threads "\${GALAXY_SLOTS:-4}"
            $dumpEq
            #if str($gcSizeSamp):
                --gcSizeSamp $gcSizeSamp
            #end if
            #if str($gcSpeedSamp):
                --gcSpeedSamp $gcSpeedSamp
            #end if
            #if str($fldMean):
                --fldMean $fldMean
            #end if
            #if str($fldSD):
                --fldSD $fldSD
            #end if
            #if $maxReadOcc:
                --maxReadOcc $maxReadOcc
            #end if
            #if $geneMap:
                --geneMap ./geneMap.${geneMap.ext}
            #end if
            $strictIntersect
            $noEffectiveLengthCorrection
            $useVBOpt
            $discardOrphans
            $unsmoothedFLD
            --maxFragLen ${maxFragLen}
            --txpAggregationKey '${txpAggregationKey}'
            $ignoreLibCompat
            $enforceLibCompat
            $allowDovetail
            #if str($numBiasSamples):
                --numBiasSamples $numBiasSamples
            #end if
            #if str($numFragSamples):
                --numFragSamples $numFragSamples
            #end if
            #if str($numGibbsSamples):
                --numGibbsSamples $numGibbsSamples
            #end if
            #if str($numBootstraps):
                --numBootstraps $numBootstraps
            #end if

    
None
False
Functional tests
name inputs outputs required files
Test-1 biasCorrect: False
single_or_paired|single_or_paired_opts: paired
single_or_paired|input_mate1: reads_1.fastq
single_or_paired|input_mate2: reads_2.fastq
refTranscriptSource|TranscriptSource: history
refTranscriptSource|ownFile: transcripts.fasta
output_quant: sailfish_quant_result1.tab
transcripts.fasta
reads_1.fastq
reads_2.fastq
sailfish_quant_result1.tab
Test-2 biasCorrect: False
single_or_paired|single_or_paired_opts: paired
single_or_paired|input_mate1: reads_1.fastq.gz
single_or_paired|input_mate2: reads_2.fastq.gz
refTranscriptSource|TranscriptSource: history
refTranscriptSource|ownFile: transcripts.fasta
output_quant: sailfish_quant_result1.tab
transcripts.fasta
reads_1.fastq.gz
reads_2.fastq.gz
sailfish_quant_result1.tab
Test-3 biasCorrect: True
single_or_paired|single_or_paired_opts: paired
single_or_paired|input_mate1: reads_1.fastq
single_or_paired|input_mate2: reads_2.fastq
refTranscriptSource|TranscriptSource: history
refTranscriptSource|ownFile: transcripts.fasta
output_quant: sailfish_bias_result1.tab
transcripts.fasta
reads_1.fastq
reads_2.fastq
sailfish_bias_result1.tab
Test-4 biasCorrect: True
single_or_paired|single_or_paired_opts: paired
geneMap: gene_map.tab
single_or_paired|input_mate1: reads_1.fastq
single_or_paired|input_mate2: reads_2.fastq
refTranscriptSource|TranscriptSource: history
refTranscriptSource|ownFile: transcripts.fasta
output_quant: sailfish_bias_result1.tab
output_gene_quant: sailfish_genMap_result1.tab
transcripts.fasta
reads_1.fastq
reads_2.fastq
gene_map.tab
sailfish_bias_result1.tab
sailfish_genMap_result1.tab