# HG changeset patch # User qfab # Date 1409271595 14400 # Node ID fc523597d86d343a0d77b14052121f53437f8fb1 # Parent c9d76b53903a844e5b34f48f9379cc1f14f5263a Uploaded diff -r c9d76b53903a -r fc523597d86d bowtie_for_fasta_wrapper.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bowtie_for_fasta_wrapper.xml Thu Aug 28 20:19:55 2014 -0400 @@ -0,0 +1,192 @@ + + + bowtie + + Fasta File + + + bowtie_for_fasta_wrapper.py + ## Hackish setting of number of threads + --threads="4" + ## valid Alignments according to the following policy + -n "${validal}" + ## Suppress all alignments for a particular read or pair if more + -m "${suppal}" + ## Report up to int valid alignments + -k "${reportvalal}" + ## The "seed length" + -l "${seedlength}" + ## Mismatched + -e "${maqerr}" + ## The query input files + ## Inputs + --dataType="solexa" ##this indicates that nucleotide base space is used in the wrapper + --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}" + --icutoff="${refGenomeSource.indexParams.cutoff}" + #end if + #end if + #else + ##use pre-built index + --ref="${refGenomeSource.index.fields.path}" + #end if + ##FASTA file + -f "${sInput1}" + ## Output format + #if str( $outformat) == "sam" + -S "true" + -o "${samoutput}" + #else + -S "false" + -o "${fastaoutput}" + #end if + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + outformat == "sam" + + + + + + + + + + + + + + + + outformat == "tab" + + + + + + + + + + + + + +