Repository revision
8:b46e7d48076a

Repository 'bowtie_wrappers'
hg clone https://toolshed.g2.bx.psu.edu/repos/devteam/bowtie_wrappers

Map with Bowtie for Illumina tool metadata
Miscellaneous
bowtie_wrapper
toolshed.g2.bx.psu.edu/repos/devteam/bowtie_wrappers/bowtie_wrapper/1.2.0
1.2.0
bowtie --version
True
Version lineage of this tool (guids ordered most recent to oldest)
toolshed.g2.bx.psu.edu/repos/devteam/bowtie_wrappers/bowtie_wrapper/1.2.0 (this tool)
toolshed.g2.bx.psu.edu/repos/devteam/bowtie_wrappers/bowtie_wrapper/1.1.5
toolshed.g2.bx.psu.edu/repos/devteam/bowtie_wrappers/bowtie_wrapper/1.1.3
toolshed.g2.bx.psu.edu/repos/devteam/bowtie_wrappers/bowtie_wrapper/1.1.2
bowtie_wrapper
Requirements (dependencies defined in the <requirements> tag set)
name version type
bowtie 1.2.0 package
Additional information about this tool
python '$__tool_directory__/bowtie_wrapper.py'
      ## Set number of threads
      --threads="\${GALAXY_SLOTS:-4}"
      ## Outputs
      --output="${output}"
      #if str( $singlePaired.sPaired ) == "single"
        #if $output_unmapped_reads_l
          --output_unmapped_reads="${output_unmapped_reads_l}"
        #end if
        #if $output_suppressed_reads_l
          --output_suppressed_reads="${output_suppressed_reads_l}"
        #end if
        --galaxy_input_format="${singlePaired.sInput1.ext}"
      #else
        #if $output_unmapped_reads_l and $output_unmapped_reads_r
          --output_unmapped_reads_l="${output_unmapped_reads_l}"
          --output_unmapped_reads_r="${output_unmapped_reads_r}"
        #end if
        #if $output_suppressed_reads_l and $output_suppressed_reads_l
          --output_suppressed_reads_l="${output_suppressed_reads_l}"
          --output_suppressed_reads_r="${output_suppressed_reads_r}"
        #end if
        --galaxy_input_format="${singlePaired.pInput1.ext}"
      #end if
      ## Inputs
      --dataType="solexa" ##this indicates that nucleotide base space is used in the wrapper
      --suppressHeader="${suppressHeader}"
      --genomeSource="${refGenomeSource.genomeSource}"
      #if $refGenomeSource.genomeSource == "history":
        ##index already exists
        #if $refGenomeSource.ownFile.extension.startswith( 'bowtie_' ):
          ##user previously built
          --ref="${refGenomeSource.ownFile.extra_files_path}/${refGenomeSource.ownFile.metadata.base_name}"
          --do_not_build_index
        #else:
          ##build index on the fly
          --ref="${refGenomeSource.ownFile}"
          --indexSettings="${refGenomeSource.indexParams.indexSettings}"
          #if $refGenomeSource.indexParams.indexSettings == "indexFull":
            --iautoB="${refGenomeSource.indexParams.autoBehavior.autoB}"
            #if $refGenomeSource.indexParams.autoBehavior.autoB == "set":
              --ipacked="${refGenomeSource.indexParams.autoBehavior.packed}"
              --ibmax="${refGenomeSource.indexParams.autoBehavior.bmax}"
              --ibmaxdivn="${refGenomeSource.indexParams.autoBehavior.bmaxdivn}"
              --idcv="${refGenomeSource.indexParams.autoBehavior.dcv}"
            #end if
            --inodc="${refGenomeSource.indexParams.nodc}"
            --inoref="${refGenomeSource.indexParams.noref}"
            --ioffrate="${refGenomeSource.indexParams.offrate}"
            --iftab="${refGenomeSource.indexParams.ftab}"
            --intoa="${refGenomeSource.indexParams.ntoa}"
            --iendian="${refGenomeSource.indexParams.endian}"
            --iseed="${refGenomeSource.indexParams.seed}"
          #end if
        #end if
      #else
        ##use pre-built index
        --ref="${refGenomeSource.index.fields.path}"
      #end if
      --paired="${singlePaired.sPaired}"
      #if $singlePaired.sPaired == "single":
        --input1="${singlePaired.sInput1}"
        --params="${singlePaired.sParams.sSettingsType}"
        #if $singlePaired.sParams.sSettingsType == "full":
          --skip="${singlePaired.sParams.sSkip}"
          --alignLimit="${singlePaired.sParams.sAlignLimit}"
          --trimH="${singlePaired.sParams.sTrimH}"
          --trimL="${singlePaired.sParams.sTrimL}"
          #if $singlePaired.sParams.alignModeOption.alignMode == 'nMode'
            --mismatchSeed="${singlePaired.sParams.alignModeOption.sMismatchSeed}"
            --mismatchQual="${singlePaired.sParams.alignModeOption.sMismatchQual}"
            --seedLen="${singlePaired.sParams.alignModeOption.sSeedLen}"
            --rounding="${singlePaired.sParams.alignModeOption.sRounding}"
          #else
            --maxMismatches="${singlePaired.sParams.alignModeOption.maxMismatches}"
          #end if
          --forwardAlign="${singlePaired.sParams.sForwardAlign}"
          --reverseAlign="${singlePaired.sParams.sReverseAlign}"
          --tryHard="${singlePaired.sParams.sBestOption.sTryHardOption.sTryHard}"
          --allValAligns="${singlePaired.sParams.sAllValAlignsOption.sAllValAligns}"
          #if $singlePaired.sParams.sAllValAlignsOption.sAllValAligns == "noAllValAligns"
            --valAlign="${singlePaired.sParams.sAllValAlignsOption.sValAlign}"
          #end if
          --suppressAlign="${singlePaired.sParams.sSuppressAlign}"
          --best="${singlePaired.sParams.sBestOption.sBest}"
          #if $singlePaired.sParams.sBestOption.sBest == "doBest":
            --strata="${singlePaired.sParams.sBestOption.sdStrata}"
            #if $singlePaired.sParams.sBestOption.sTryHardOption.sTryHard == "noTryHard"
              --maxBacktracks="${singlePaired.sParams.sBestOption.sTryHardOption.sdMaxBacktracks}"
            #end if
          #else:
            #if $singlePaired.sParams.sBestOption.sTryHardOption.sTryHard == "noTryHard"
              --maxBacktracks="${singlePaired.sParams.sBestOption.sTryHardOption.snMaxBacktracks}"
            #end if
          #end if
          --offrate="${singlePaired.sParams.sOffrate}"
          --seed="${singlePaired.sParams.sSeed}"
        #end if
      #else:
        --input1="${singlePaired.pInput1}"
        --input2="${singlePaired.pInput2}"
        --maxInsert="${singlePaired.pMaxInsert}"
        --mateOrient="${singlePaired.pMateOrient}"
        --params="${singlePaired.pParams.pSettingsType}"
        #if $singlePaired.pParams.pSettingsType == "full":
          --skip="${singlePaired.pParams.pSkip}"
          --alignLimit="${singlePaired.pParams.pAlignLimit}"
          --trimH="${singlePaired.pParams.pTrimH}"
          --trimL="${singlePaired.pParams.pTrimL}"
          #if $singlePaired.pParams.alignModeOption.alignMode == 'nMode'
            --mismatchSeed="${singlePaired.pParams.alignModeOption.pMismatchSeed}"
            --mismatchQual="${singlePaired.pParams.alignModeOption.pMismatchQual}"
            --seedLen="${singlePaired.pParams.alignModeOption.pSeedLen}"
            --rounding="${singlePaired.pParams.alignModeOption.pRounding}"
          #else
            --maxMismatches="${singlePaired.pParams.alignModeOption.maxMismatches}"
          #end if
          --minInsert="${singlePaired.pParams.pMinInsert}"
          --forwardAlign="${singlePaired.pParams.pForwardAlign}"
          --reverseAlign="${singlePaired.pParams.pReverseAlign}"
          --tryHard="${singlePaired.pParams.pBestOption.pTryHardOption.pTryHard}"
          --allValAligns="${singlePaired.pParams.pAllValAlignsOption.pAllValAligns}"
          #if $singlePaired.pParams.pAllValAlignsOption.pAllValAligns == "noAllValAligns"
            --valAlign="${singlePaired.pParams.pAllValAlignsOption.pValAlign}"
          #end if
          --suppressAlign="${singlePaired.pParams.pSuppressAlign}"
          --best="${singlePaired.pParams.pBestOption.pBest}"
          #if $singlePaired.pParams.pBestOption.pBest == "doBest":
            --strata="${singlePaired.pParams.pBestOption.pdStrata}"
            #if $singlePaired.pParams.pBestOption.pTryHardOption.pTryHard == "noTryHard"
              --maxAlignAttempt="${singlePaired.pParams.pBestOption.pTryHardOption.pMaxAlignAttempt}"
              --maxBacktracks="${singlePaired.pParams.pBestOption.pTryHardOption.pdMaxBacktracks}"
            #end if
          #else:
            #if $singlePaired.pParams.pBestOption.pTryHardOption.pTryHard == "noTryHard"
              --maxAlignAttempt="${singlePaired.pParams.pBestOption.pTryHardOption.pMaxAlignAttempt}"
              --maxBacktracks="${singlePaired.pParams.pBestOption.pTryHardOption.pnMaxBacktracks}"
            #end if
          #end if
          --offrate="${singlePaired.pParams.pOffrate}"
          --seed="${singlePaired.pParams.pSeed}"
        #end if
      #end if
      #if $save_mapping_stats
        --output_mapping_stats="$mapping_stats"
      #end if
  
None
False
Functional tests
name inputs outputs required files
Test-1 singlePaired|sParams|sSettingsType: preSet
singlePaired|sPaired: single
refGenomeSource|index: equCab2chrM
singlePaired|sInput1: bowtie_in2.fastqsanger
suppressHeader: True
refGenomeSource|genomeSource: indexed
output: bowtie_out6.sam
bowtie_in2.fastqsanger
bowtie_out6.sam
Test-2 singlePaired|pMaxInsert: 1000
singlePaired|pParams|pAllValAlignsOption|pValAlign: 1
singlePaired|pParams|pUnmappedFile: True
singlePaired|pInput2: bowtie_in6.fastqsanger
singlePaired|pInput1: bowtie_in5.fastqsanger
singlePaired|pParams|alignModeOption|alignMode: nMode
singlePaired|pParams|pBestOption|pTryHardOption|pTryHard: noTryHard
singlePaired|pParams|pAlignLimit: -1
suppressHeader: True
singlePaired|pParams|pForwardAlign: forward
singlePaired|pParams|alignModeOption|pMismatchQual: 70
refGenomeSource|indexParams|indexSettings: indexPreSet
singlePaired|pParams|pSeed: -1
singlePaired|pParams|pMaxFile: False
singlePaired|pMateOrient: ff
singlePaired|pParams|pSettingsType: full
refGenomeSource|ownFile: phiX.fasta
singlePaired|pParams|pSkip: 0
singlePaired|pParams|pBestOption|pdStrata: noStrata
singlePaired|pParams|pBestOption|pTryHardOption|pdMaxBacktracks: 800
singlePaired|pParams|pSuppressAlign: -1
singlePaired|pParams|pOffrate: -1
singlePaired|pParams|pReverseAlign: reverse
singlePaired|sPaired: paired
singlePaired|pParams|alignModeOption|pMismatchSeed: 2
singlePaired|pParams|pAllValAlignsOption|pAllValAligns: noAllValAligns
singlePaired|pParams|alignModeOption|pSeedLen: 28
singlePaired|pParams|pMinInsert: 0
singlePaired|pParams|pBestOption|pBest: doBest
singlePaired|pParams|pBestOption|pTryHardOption|pMaxAlignAttempt: 100
singlePaired|pParams|pTrimL: 0
refGenomeSource|genomeSource: history
singlePaired|pParams|pTrimH: 0
singlePaired|pParams|alignModeOption|pRounding: round
output: bowtie_out7.sam
output_unmapped_reads_l: bowtie_out8_1.fastq
output_unmapped_reads_r: bowtie_out8_2.fastq
phiX.fasta
bowtie_in5.fastqsanger
bowtie_in6.fastqsanger
bowtie_out7.sam
bowtie_out8_1.fastq
bowtie_out8_2.fastq
Test-3 singlePaired|pMaxInsert: 1000
singlePaired|pParams|pAllValAlignsOption|pValAlign: 1
singlePaired|pParams|pUnmappedFile: True
singlePaired|pInput2: bowtie_in6.fastqillumina
singlePaired|pInput1: bowtie_in5.fastqillumina
singlePaired|pParams|alignModeOption|alignMode: nMode
singlePaired|pParams|pBestOption|pTryHardOption|pTryHard: noTryHard
singlePaired|pParams|pAlignLimit: -1
suppressHeader: True
singlePaired|pParams|pForwardAlign: forward
singlePaired|pParams|alignModeOption|pMismatchQual: 70
refGenomeSource|indexParams|indexSettings: indexPreSet
singlePaired|pParams|pSeed: -1
singlePaired|pParams|pMaxFile: False
singlePaired|pMateOrient: ff
singlePaired|pParams|pSettingsType: full
refGenomeSource|ownFile: phiX.fasta
singlePaired|pParams|pSkip: 0
singlePaired|pParams|pBestOption|pdStrata: noStrata
singlePaired|pParams|pBestOption|pTryHardOption|pdMaxBacktracks: 800
singlePaired|pParams|pSuppressAlign: -1
singlePaired|pParams|pOffrate: -1
singlePaired|pParams|pReverseAlign: reverse
singlePaired|sPaired: paired
singlePaired|pParams|alignModeOption|pMismatchSeed: 2
singlePaired|pParams|pAllValAlignsOption|pAllValAligns: noAllValAligns
singlePaired|pParams|alignModeOption|pSeedLen: 28
singlePaired|pParams|pMinInsert: 0
singlePaired|pParams|pBestOption|pBest: doBest
singlePaired|pParams|pBestOption|pTryHardOption|pMaxAlignAttempt: 100
singlePaired|pParams|pTrimL: 0
refGenomeSource|genomeSource: history
singlePaired|pParams|pTrimH: 0
singlePaired|pParams|alignModeOption|pRounding: round
output: bowtie_out7.sam
output_unmapped_reads_l: bowtie_out8_1.fastqillumina.sorted
output_unmapped_reads_r: bowtie_out8_2.fastqillumina.sorted
phiX.fasta
bowtie_in5.fastqillumina
bowtie_in6.fastqillumina
bowtie_out7.sam
bowtie_out8_1.fastqillumina.sorted
bowtie_out8_2.fastqillumina.sorted
Test-4 singlePaired|pMaxInsert: 1000
singlePaired|pParams|pAllValAlignsOption|pValAlign: 1
singlePaired|pParams|pUnmappedFile: True
singlePaired|pInput2: bowtie_in6.fastqsolexa
singlePaired|pInput1: bowtie_in5.fastqsolexa
singlePaired|pParams|alignModeOption|alignMode: nMode
singlePaired|pParams|pBestOption|pTryHardOption|pTryHard: noTryHard
singlePaired|pParams|pAlignLimit: -1
suppressHeader: True
singlePaired|pParams|pForwardAlign: forward
singlePaired|pParams|alignModeOption|pMismatchQual: 70
refGenomeSource|indexParams|indexSettings: indexPreSet
singlePaired|pParams|pSeed: -1
singlePaired|pParams|pMaxFile: False
singlePaired|pMateOrient: ff
singlePaired|pParams|pSettingsType: full
refGenomeSource|ownFile: phiX.fasta
singlePaired|pParams|pSkip: 0
singlePaired|pParams|pBestOption|pdStrata: noStrata
singlePaired|pParams|pBestOption|pTryHardOption|pdMaxBacktracks: 800
singlePaired|pParams|pSuppressAlign: -1
singlePaired|pParams|pOffrate: -1
singlePaired|pParams|pReverseAlign: reverse
singlePaired|sPaired: paired
singlePaired|pParams|alignModeOption|pMismatchSeed: 2
singlePaired|pParams|pAllValAlignsOption|pAllValAligns: noAllValAligns
singlePaired|pParams|alignModeOption|pSeedLen: 28
singlePaired|pParams|pMinInsert: 0
singlePaired|pParams|pBestOption|pBest: doBest
singlePaired|pParams|pBestOption|pTryHardOption|pMaxAlignAttempt: 100
singlePaired|pParams|pTrimL: 0
refGenomeSource|genomeSource: history
singlePaired|pParams|pTrimH: 0
singlePaired|pParams|alignModeOption|pRounding: round
output: bowtie_out7.sam
output_unmapped_reads_l: bowtie_out8_1.fastqsolexa.sorted
output_unmapped_reads_r: bowtie_out8_2.fastqsolexa.sorted
phiX.fasta
bowtie_in5.fastqsolexa
bowtie_in6.fastqsolexa
bowtie_out7.sam
bowtie_out8_1.fastqsolexa.sorted
bowtie_out8_2.fastqsolexa.sorted
Test-5 singlePaired|sParams|sSuppressAlign: -1
singlePaired|sParams|alignModeOption|sSeedLen: 28
singlePaired|sParams|alignModeOption|sMismatchQual: 70
singlePaired|sParams|sReverseAlign: reverse
singlePaired|sPaired: single
suppressHeader: True
singlePaired|sParams|sAllValAlignsOption|sValAlign: 1
singlePaired|sInput1: bowtie_in2.fastqsanger
singlePaired|sParams|sBestOption|sBest: noBest
singlePaired|sParams|sTrimH: 0
singlePaired|sParams|alignModeOption|sMismatchSeed: 2
singlePaired|sParams|sMaxFile: False
singlePaired|sParams|sTrimL: 0
singlePaired|sParams|sSeed: -1
singlePaired|sParams|sOffrate: -1
singlePaired|sParams|alignModeOption|sRounding: round
singlePaired|sParams|sBestOption|sTryHardOption|sTryHard: doTryHard
singlePaired|sParams|sSettingsType: full
singlePaired|sParams|sUnmappedFile: False
singlePaired|sParams|sSkip: 0
singlePaired|sParams|alignModeOption|alignMode: nMode
refGenomeSource|index: equCab2chrM
singlePaired|sParams|sAllValAlignsOption|sAllValAligns: noAllValAligns
singlePaired|sParams|sForwardAlign: forward
refGenomeSource|genomeSource: indexed
singlePaired|sParams|sAlignLimit: -1
output: bowtie_out9.sam
bowtie_in2.fastqsanger
bowtie_out9.sam
Test-6 refGenomeSource|indexParams|nodc: dc
refGenomeSource|indexParams|offrate: 5
refGenomeSource|indexParams|autoBehavior|autoB: auto
refGenomeSource|indexParams|noref: ref
refGenomeSource|indexParams|ntoa: no
singlePaired|pMaxInsert: 1000
refGenomeSource|indexParams|seed: -1
singlePaired|pInput2: bowtie_in6.fastqsanger
singlePaired|pInput1: bowtie_in5.fastqsanger
singlePaired|sPaired: paired
suppressHeader: True
refGenomeSource|indexParams|indexSettings: indexFull
singlePaired|pParams|pSettingsType: preSet
singlePaired|pMateOrient: ff
refGenomeSource|indexParams|ftab: 10
refGenomeSource|genomeSource: history
refGenomeSource|ownFile: phiX.fasta
refGenomeSource|indexParams|endian: little
output: bowtie_out10.sam
phiX.fasta
bowtie_in5.fastqsanger
bowtie_in6.fastqsanger
bowtie_out10.sam
Test-7 refGenomeSource|indexParams|nodc: dc
refGenomeSource|indexParams|offrate: 5
refGenomeSource|indexParams|autoBehavior|autoB: auto
refGenomeSource|indexParams|noref: ref
refGenomeSource|indexParams|ntoa: no
singlePaired|pMaxInsert: 1000
refGenomeSource|indexParams|seed: -1
singlePaired|pInput2: bowtie_in6.fastqsanger
singlePaired|pInput1: bowtie_in5.fastqsanger
singlePaired|sPaired: paired
suppressHeader: True
refGenomeSource|indexParams|indexSettings: indexFull
singlePaired|pParams|pSettingsType: preSet
singlePaired|pMateOrient: ff
save_mapping_stats: True
refGenomeSource|indexParams|ftab: 10
refGenomeSource|genomeSource: history
refGenomeSource|ownFile: phiX.fasta
refGenomeSource|indexParams|endian: little
output: bowtie_out10.sam
mapping_stats: bowtie_out11.txt
phiX.fasta
bowtie_in5.fastqsanger
bowtie_in6.fastqsanger
bowtie_out10.sam
bowtie_out11.txt