Repository revision
8:7ad0f4bfa923

Repository 'bbtools_tadpole'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/bbtools_tadpole

BBTools: Tadpole tool metadata
Miscellaneous
Kmer-based assembler
bbtools_tadpole
toolshed.g2.bx.psu.edu/repos/iuc/bbtools_tadpole/bbtools_tadpole/39.08+galaxy2
39.08+galaxy2
None
True
Version lineage of this tool (guids ordered most recent to oldest)
toolshed.g2.bx.psu.edu/repos/iuc/bbtools_tadpole/bbtools_tadpole/39.08+galaxy3
toolshed.g2.bx.psu.edu/repos/iuc/bbtools_tadpole/bbtools_tadpole/39.08+galaxy2 (this tool)
toolshed.g2.bx.psu.edu/repos/iuc/bbtools_tadpole/bbtools_tadpole/39.08+galaxy1
toolshed.g2.bx.psu.edu/repos/iuc/bbtools_tadpole/bbtools_tadpole/39.08+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/bbtools_tadpole/bbtools_tadpole/39.06+galaxy2
toolshed.g2.bx.psu.edu/repos/iuc/bbtools_tadpole/bbtools_tadpole/39.06+galaxy1
toolshed.g2.bx.psu.edu/repos/iuc/bbtools_tadpole/bbtools_tadpole/39.06+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/bbtools_tadpole/bbtools_tadpole/39.01+galaxy0
bbtools_tadpole
Requirements (dependencies defined in the <requirements> tag set)
name version type
bbmap 39.08 package
samtools 1.20 package
Additional information about this tool
#import os

#if str($input_type_cond.input_type) in ['single', 'pair']:
    #set read1 = $input_type_cond.read1
    ## Tadpole uses the file extension to determine the input format.
    #set ext = '.fastq'
    #if $read1.ext.endswith('.gz'):
        #set ext = $ext + '.gz'
    #end if
    #set read1_file = 'forward' + $ext
    ln -s '${read1}' '${read1_file}' &&
    #if str($input_type_cond.input_type) == 'pair':
        #set read2 = $input_type_cond.read2
        #set read2_file = 'reverse' + $ext
        ln -s '${read2}' '${read2_file}' &&
    #end if
#else:
    #set read1 = $input_type_cond.reads_collection['forward']
    #set read1_identifier = re.sub('[^\s\w\-]', '_', str($read1.element_identifier))
    ## Tadpole uses the file extension to determine the input format.
    #set ext = $read1_identifier + '.fastq'
    #if $read1.ext.endswith('.gz'):
        #set ext = $ext + '.gz'
    #end if
    #set read1_file = $read1_identifier + $ext
    ln -s '${read1}' '${read1_file}' &&
    #set read2 = $input_type_cond.reads_collection['reverse']
    #set read2_identifier = re.sub('[^\s\w\-]', '_', str($read2.element_identifier))
    #set read2_file = $read2_identifier + $ext
    ln -s '${read2}' '${read2_file}' &&
#end if

tadpole.sh

#### Input parameters
in='${read1_file}'
#if str($input_type_cond.input_type) in ['pair', 'paired']:
    in2='${read2_file}'
#end if

#### Output parameters
fastadump='$output_options.fastadump'
mincounttodump='$output_options.mincounttodump'
#if str($output_options.fastadump):
    dump='${outputdump}'
#end if
out='${output}'
#if str($input_type_cond.input_type) in ['pair', 'paired'] and str($mode_options.mode) != 'contig':
    out2='${output2}'
#end if

#### Processing modes
#if str($mode_options.mode) == 'contig':
    mode=contig
#elif str($mode_options.mode) == 'extend':
    mode=extend
#elif str($mode_options.mode) == 'correct':
    mode=correct
#end if
threads=\${GALAXY_SLOTS:-4}
overwrite=true
None
False
Functional tests
name inputs outputs required files
Test-1 input_type_cond|read1: SRX7529235_SRR10859038_1.fastq.gz
input_type_cond|input_type: single
mode_options|mode: correct
output_options|fastadump: True
name: value
name: value
SRX7529235_SRR10859038_1.fastq.gz
value
Test-2 input_type_cond|read1: SRX7529235_SRR10859038_1.fastq.gz
input_type_cond|read2: SRX7529235_SRR10859038_2.fastq.gz
input_type_cond|input_type: pair
mode_options|mode: correct
output_options|fastadump: True
name: value
name: value
name: value
SRX7529235_SRR10859038_1.fastq.gz
SRX7529235_SRR10859038_2.fastq.gz
value
Test-3 input_type_cond|read1: SRX7529235_SRR10859038_1.fastq.gz
input_type_cond|read2: SRX7529235_SRR10859038_2.fastq.gz
input_type_cond|input_type: pair
mode_options|mode: contig
output_options|fastadump: True
name: value
name: value
SRX7529235_SRR10859038_1.fastq.gz
SRX7529235_SRR10859038_2.fastq.gz
value