Repository revision
14:c9944a2600f1

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

Alevin tool metadata
Miscellaneous
Alevin
Quantification and analysis of 3-prime tagged-end single-cell sequencing data
alevin
toolshed.g2.bx.psu.edu/repos/bgruening/alevin/alevin/1.10.1+galaxy2
1.10.1+galaxy2
None
True
Version lineage of this tool (guids ordered most recent to oldest)
toolshed.g2.bx.psu.edu/repos/bgruening/alevin/alevin/1.10.1+galaxy2 (this tool)
toolshed.g2.bx.psu.edu/repos/bgruening/alevin/alevin/1.10.1+galaxy0
toolshed.g2.bx.psu.edu/repos/bgruening/alevin/alevin/1.9.0+galaxy2
toolshed.g2.bx.psu.edu/repos/bgruening/alevin/alevin/1.9.0+galaxy1
toolshed.g2.bx.psu.edu/repos/bgruening/alevin/alevin/1.5.1+galaxy0
toolshed.g2.bx.psu.edu/repos/bgruening/alevin/alevin/1.3.0+galaxy2
toolshed.g2.bx.psu.edu/repos/bgruening/alevin/alevin/1.3.0+galaxy1
toolshed.g2.bx.psu.edu/repos/bgruening/alevin/alevin/0.14.1.2+galaxy1
toolshed.g2.bx.psu.edu/repos/bgruening/alevin/alevin/0.14.1.2
toolshed.g2.bx.psu.edu/repos/bgruening/alevin/alevin/0.14.1
alevin
Requirements (dependencies defined in the <requirements> tag set)
name version type
salmon 1.10.1 package
seqtk 1.3 package
samtools 1.16.1 package
vpolo 0.2.0 package
pandas 1.5.2 package
graphviz 3.0.0 package
scipy 1.9.3 package
Additional information about this tool
mkdir ./index
        && mkdir ./output
        #if $refTranscriptSource.TranscriptSource != "indexed":
            && salmon index -i ./index
                --kmerLen '${refTranscriptSource.s_index.kmer}'
                --gencode
                --transcripts '${refTranscriptSource.s_index.fasta}'
            #set $index_path = './index'
        #else
            #set $index_path = $refTranscriptSource.index.fields.path
        #end if
        #if $pairstraight.readselect == 'paired':
            #if $pairstraight.file1.is_of_type("fastq.gz"):
                && cp '${pairstraight.file1}' ./mate1.fastq.gz
                && gunzip ./mate1.fastq.gz
                && cp '${pairstraight.file2}' ./mate2.fastq.gz
                && gunzip ./mate2.fastq.gz
            #else if $pairstraight.file1.is_of_type("fastq.bz2"):
                && cp '${pairstraight.file1}' ./mate1.fastq.bz2
                && bzip2 -d ./mate1.fastq.bz2
                && cp '${pairstraight.file2}' ./mate2.fastq.bz2
                && bzip2 -d ./mate2.fastq.bz2
            #else:
                && ln -s '${pairstraight.file1}' ./mate1.fastq
                && ln -s '${pairstraight.file2}' ./mate2.fastq
            #end if
        #else:
            #if $pairstraight.unmatedreads.is_of_type("fastq.gz"):
                && cp '${pairstraight.unmatedreads}' ./unmate.fastq.gz
                && gunzip ./unmate.fastq.gz
            #else if $pairstraight.unmatedreads.is_of_type("fastq.bz2"):
                && cp '${pairstraight.unmatedreads}' ./unmate.fastq.bz2
                && bzip2 -d unmate.fastq.bz2
            #else:
                && ln -s '${pairstraight.unmatedreads}' ./unmate.fastq
            #end if
        #end if

        && ln -s '${tgmap}' ./alevinmap.tsv
        && salmon alevin -l
        #if $pairstraight.readselect == 'paired':
            #if $pairstraight.libtype.strandedness == 'A'
                A
            #else
                ${pairstraight.libtype.orientation}${pairstraight.libtype.strandedness}
            #end if
            -i $index_path
            -1 ./mate1.fastq
            -2 ./mate2.fastq
        #else:
            '${pairstraight.libtype.strandedness}'
            -i $index_path
            -r zcat ./unmate.fastq
        #end if
        -o ./output
        -p "\${GALAXY_SLOTS:-4}"
        ${protocol_cond.protocol}
        #if $protocol_cond.protocol == '--indropV2'
            --w1 '${protocol_cond.w1}'
        #end if
        --tgMap ./alevinmap.tsv
        #if $whitelist:
            --whitelist '${optional.whitelist}'
        #end if
        #if $optional.numCellBootstraps:
            --numCellBootstraps '${optional.numCellBootstraps}'
        #end if
        #if $optional.forceCells:
            --forceCells '${optional.forceCells}'
        #end if
        #if $optional.expectCells:
            --expectCells '${optional.expectCells}'
        #end if
        #if $optional.mrna:
            --mrna '${optional.mrna}'
        #end if
        #if $optional.rrna:
            --rrna '${optional.rrna}'
        #end if
        #if $optional.keepCBFraction:
            --keepCBFraction '${optional.keepCBFraction}'
        #end if
        ${optional.noDedup}
        #if 'dumpBfh' in $output_files:
            --dumpBfh
        #end if
        #if 'dumpFeatures' in $output_files:
            --dumpFeatures
        #end if
        #if 'dumpUmiGraph' in $output_files:
            --dumpUmiGraph
        #end if
        ${optional.dumpMtx}
        #if $optional.maxNumBarcodes:
            --maxNumBarcodes '${optional.maxNumBarcodes}'
        #end if
        #if $optional.freqThreshold:
            --freqThreshold '${optional.freqThreshold}'
        #end if
        ## && gunzip output/alevin/quants_tier_mat.gz -> the output is binary file
        #if $optional.dumpMtx != "--dumpMtx":
            && python '$__tool_directory__/vpolo_convert.py' -m
        #else:
            && gunzip output/alevin/quants_mat.mtx.gz
        #end if
        #if 'dumpUmiGraph' in $output_files:
            && python '$__tool_directory__/vpolo_convert.py' -u
            && sh '$__tool_directory__/umiout.sh'
        #end if
        ## those gzip file include binary datasets
        ## #if $optional.numCellBootstraps:
        ##    && gunzip output/alevin/quants_mean_mat.gz
        ##    && gunzip output/alevin/quants_var_mat.gz
        ## #end if
        #if 'auxiliar_info' in $output_files
            && tar -zcvf aux_info.tar.gz output/aux_info
        #end if
        
    
None
False
Functional tests
name inputs outputs required files
Test-1 refTranscriptSource|s_index|fasta: minitranscript.fa
refTranscriptSource|TranscriptSource: history
pairstraight|file1: fastqs/moreminifastq1.fastq.gz
pairstraight|file2: fastqs/moreminifastq2.fastq.gz
pairstraight|readselect: paired
protocol_cond|protocol: --chromium
tgmap: minitxp.tsv
output_files: dumpFeatures
optional|dumpMtx: True
optional|keepCBFraction: 1
optional|freqThreshold: 5
name: value
minitranscript.fa
fastqs/moreminifastq1.fastq.gz
fastqs/moreminifastq2.fastq.gz
minitxp.tsv
value
Test-2 refTranscriptSource|s_index|fasta: minitranscript.fa
refTranscriptSource|TranscriptSource: history
pairstraight|file1: fastqs/moreminifastq1.fastq.gz
pairstraight|file2: fastqs/moreminifastq2.fastq.gz
pairstraight|readselect: paired
protocol_cond|protocol: --chromium
tgmap: minitxp.tsv
output_files: dumpFeatures
optional|dumpMtx: True
optional|numCellBootstraps: 2
optional|keepCBFraction: 1
optional|freqThreshold: 5
name: value
minitranscript.fa
fastqs/moreminifastq1.fastq.gz
fastqs/moreminifastq2.fastq.gz
minitxp.tsv
value
Test-3 refTranscriptSource|s_index|fasta: minitranscript.fa
refTranscriptSource|TranscriptSource: history
pairstraight|file1: fastqs/moreminifastq1.fastq.gz
pairstraight|file2: fastqs/moreminifastq2.fastq.gz
pairstraight|readselect: paired
tgmap: minitxp.tsv
output_files: dumpFeatures
optional|dumpMtx: True
optional|keepCBFraction: 1
optional|freqThreshold: 5
name: value
minitranscript.fa
fastqs/moreminifastq1.fastq.gz
fastqs/moreminifastq2.fastq.gz
minitxp.tsv
value
Test-4 refTranscriptSource|s_index|fasta: minitranscript.fa
refTranscriptSource|TranscriptSource: history
pairstraight|file1: fastqs/moreminifastq1.fastq.gz
pairstraight|file2: fastqs/moreminifastq2.fastq.gz
pairstraight|readselect: paired
protocol_cond|protocol: --chromium
tgmap: minitxp.tsv
output_files: ['dumpFeatures', 'salmon_log', 'fragment_length', 'auxiliar_info', 'dumpUmiGraph', 'dumpBfh', 'commands']
optional|dumpMtx: True
name: value
name: value
name: value
name: value
name: value
minitranscript.fa
fastqs/moreminifastq1.fastq.gz
fastqs/moreminifastq2.fastq.gz
minitxp.tsv
value