# HG changeset patch # User devteam # Date 1425916723 14400 # Node ID ceb6467e276c0cdb3612a80a59fc5dd7dd43b2f7 # Parent c1ec08cb34f9f60f7e765cb9ba7e834b950d78f9 Uploaded diff -r c1ec08cb34f9 -r ceb6467e276c bowtie2_wrapper.xml --- a/bowtie2_wrapper.xml Fri Dec 12 11:12:27 2014 -0500 +++ b/bowtie2_wrapper.xml Mon Mar 09 11:58:43 2015 -0400 @@ -1,4 +1,4 @@ - + - map reads against reference genome bowtie2 --version @@ -31,13 +31,13 @@ ## Fastq inputs #if str( $library.type ) == "single": - -U "${input_1}" + -U "${library.input_1}" #if str( $library.unaligned_file ) == "true": --un $output_unaligned_reads_l #end if #elif str( $library.type ) == "paired": - -1 "${input_1}" - -2 "${input_2}" + -1 "${library.input_1}" + -2 "${library.input_2}" #if str( $library.paired_options.paired_options_selector ) == "yes": -I "${library.paired_options.I}" -X "${library.paired_options.X}" @@ -88,32 +88,34 @@ --trim5 "${analysis_type.input_options.trim5}" --trim3 "${analysis_type.input_options.trim3}" ${analysis_type.input_options.qv_encoding} - ${analysis_type.input_options.solexa-quals} - ${analysis_type.input_options.int-quals} + ${analysis_type.input_options.solexa_quals} + ${analysis_type.input_options.int_quals} #end if #if str( $analysis_type.alignment_options.alignment_options_selector ) == "yes": - -N "${$analysis_type.alignment_options.N}" - -L "${$analysis_type.alignment_options.L}" - -i "${$analysis_type.alignment_options.i}" - --n_ceil "${$analysis_type.alignment_options.n_ceil}" - --dpad "${$analysis_type.alignment_options.dpad}" - --gbar "${$analysis_type.alignment_options.gbar}" - ${analysis_type.alignment_options.ignore-quals} + -N "${analysis_type.alignment_options.N}" + -L "${analysis_type.alignment_options.L}" + -i "${analysis_type.alignment_options.i}" + --n-ceil "${analysis_type.alignment_options.n_ceil}" + --dpad "${analysis_type.alignment_options.dpad}" + --gbar "${analysis_type.alignment_options.gbar}" + ${analysis_type.alignment_options.ignore_quals} ${analysis_type.alignment_options.nofw} ${analysis_type.alignment_options.norc} ${analysis_type.alignment_options.no_1mm_upfront} #if str( $analysis_type.alignment_options.align_mode.align_mode_selector ) == "end-to-end": --end-to-end - --score-min "${$analysis_type.alignment_options.align_mode.core-min}" + --score-min "${analysis_type.alignment_options.align_mode.score_min_ete}" #elif str( $analysis_type.alignment_options.align_mode.align_mode_selector ) == "local": --local - --score-min "${$analysis_type.alignment_options.align_mode.core-min}" + --score-min "${analysis_type.alignment_options.align_mode.score_min_loc}" #end if #end if #if str( $analysis_type.scoring_options.scoring_options_selector ) == "yes": - --ma "${analysis_type.scoring_options.ma}" + #if ( str( $analysis_type.alignment_options.alignment_options_selector ) == "yes" and str( $analysis_type.alignment_options.align_mode.align_mode_selector ) == "local" ): + --ma "${analysis_type.scoring_options.ma}" + #end if --mp "${analysis_type.scoring_options.mp}" --np "${analysis_type.scoring_options.np}" --rdg "${analysis_type.scoring_options.rdg_read_open},${analysis_type.scoring_options.rdg_read_extend}" @@ -132,13 +134,12 @@ #end if #if str( $analysis_type.sam_options.sam_options_selector ) == "yes": - ${analysis_type.sam_options.no-unal} - ${analysis_type.sam_options.omit-sec-seq} + ${analysis_type.sam_options.no_unal} + ${analysis_type.sam_options.omit_sec_seq} #end if #if str( $analysis_type.other_options.other_options_selector ) == "yes": - ${analysis_type.other_options.reorder} - ${analysis_type.other_options.non-deterministic} + ${analysis_type.other_options.non_deterministic} --seed "${analysis_type.other_options.seed}" #end if @@ -148,7 +149,7 @@ ## view/sort and output BAM file | samtools view -Su - | samtools sort -o - - > $output - + ## rename unaligned sequence files #if $library.type == "paired" and $output_unaligned_reads_l and $output_unaligned_reads_r: #set left = str($output_unaligned_reads_l).replace( '.dat', '.1.dat' ) @@ -189,17 +190,17 @@ - - + + - + - - - + + + @@ -216,17 +217,17 @@ - - + + - + - - - + + + @@ -294,16 +295,16 @@ - - + + - - + + - - + + @@ -316,25 +317,25 @@ - - - - + + + + - + - + - + - + @@ -369,10 +370,10 @@ - - + + - + @@ -382,7 +383,7 @@ - + @@ -396,8 +397,8 @@ - - + + @@ -409,9 +410,8 @@ - - + @@ -442,7 +442,7 @@ - + @@ -461,6 +461,7 @@ + @@ -541,7 +542,7 @@ pipelines. --phred64 - Input qualities are ASCII chars equal to the [Phred quality] plus 64. This is + Input qualities are ASCII chars equal to the Phred quality plus 64. This is also called the "Phred+64" encoding. --solexa-quals @@ -551,7 +552,7 @@ --int-quals Quality values are represented in the read input file as space-separated ASCII integers, e.g., `40 40 30 40`..., rather than ASCII characters, e.g., `II?I`.... - Integers are treated as being on the [Phred quality] scale unless + Integers are treated as being on the Phred quality scale unless `--solexa-quals` is also specified. Default: off. ------ @@ -591,19 +592,19 @@ **Alignment options**:: -N <int> - Sets the number of mismatches to allowed in a seed alignment during [multiseed - alignment]. Can be set to 0 or 1. Setting this higher makes alignment slower + Sets the number of mismatches to allowed in a seed alignment during multiseed + alignment. Can be set to 0 or 1. Setting this higher makes alignment slower (often much slower) but increases sensitivity. Default: 0. -L <int> - Sets the length of the seed substrings to align during [multiseed alignment]. - Smaller values make alignment slower but more senstive. Default: the - `--sensitive` preset is used by default, which sets `-L` to 20 both in - `--end-to-end` mode and in `--local` mode. + Sets the length of the seed substrings to align during multiseed alignment. + Smaller values make alignment slower but more sensitive. Default: the + `--sensitive` preset is used by default, which sets `-L` to 22 in + `--end-to-end` mode and to 20 in `--local` mode. -i <func> Sets a function governing the interval between seed substrings to use during - [multiseed alignment]. For instance, if the read has 30 characers, and seed + multiseed alignment. For instance, if the read has 30 characers, and seed length is 10, and the seed interval is 6, the seeds extracted will be: Read: TAGCTACGCTCTACGCTATCATGCATAAAC @@ -620,7 +621,7 @@ the interval as a function of the read length, rather than a single one-size-fits-all number. For instance, specifying `-i S,1,2.5` sets the interval function `f` to `f(x) = 1 + 2.5 * sqrt(x)`, where x is the read length. - See also: [setting function options]. If the function returns a result less than + If the function returns a result less than 1, it is rounded up to 1. Default: the `--sensitive` preset is used by default, which sets `-i` to `S,1,1.15` in `--end-to-end` mode to `-i S,1,0.75` in `--local` mode. @@ -629,8 +630,8 @@ Sets a function governing the maximum number of ambiguous characters (usually `N`s and/or `.`s) allowed in a read as a function of read length. For instance, specifying `-L,0,0.15` sets the N-ceiling function `f` to `f(x) = 0 + 0.15 * x`, - where x is the read length. See also: [setting function options]. Reads - exceeding this ceiling are [filtered out]. Default: `L,0,0.15`. + where x is the read length. Reads exceeding this ceiling are filtered out. + Default: `L,0,0.15`. --dpad <int> "Pads" dynamic programming problems by `<int>` columns on either side to allow @@ -658,14 +659,14 @@ --no-1mm-upfront By default, Bowtie 2 will attempt to find either an exact or a 1-mismatch - end-to-end alignment for the read *before* trying the [multiseed heuristic]. Such + end-to-end alignment for the read *before* trying the multiseed heuristic. Such alignments can be found very quickly, and many short read alignments have exact or near-exact end-to-end alignments. However, this can lead to unexpected - alignments when the user also sets options governing the [multiseed heuristic], + alignments when the user also sets options governing the multiseed heuristic, like `-L` and `-N`. For instance, if the user specifies `-N 0` and `-L` equal to the length of the read, the user will be surprised to find 1-mismatch alignments reported. This option prevents Bowtie 2 from searching for 1-mismatch end-to-end - alignments before using the [multiseed heuristic], which leads to the expected + alignments before using the multiseed heuristic, which leads to the expected behavior when combined with options such as `-L` and `-N`. This comes at the expense of speed. @@ -721,8 +722,7 @@ Sets a function governing the minimum alignment score needed for an alignment to be considered "valid" (i.e. good enough to report). This is a function of read length. For instance, specifying `L,0,-0.6` sets the minimum-score function `f` - to `f(x) = 0 + -0.6 * x`, where `x` is the read length. See also: [setting - function options]. The default in `--end-to-end` mode is `L,-0.6,-0.6` and + to `f(x) = 0 + -0.6 * x`, where `x` is the read length. The default in `--end-to-end` mode is `L,-0.6,-0.6` and the default in `--local` mode is `G,20,8`. ----- @@ -840,18 +840,15 @@ --dovetail If the mates "dovetail", that is if one mate alignment extends past the beginning of the other such that the wrong mate begins upstream, consider that - to be concordant. See also: [Mates can overlap, contain or dovetail each - other]. Default: mates cannot dovetail in a concordant alignment. + to be concordant. Default: mates cannot dovetail in a concordant alignment. --no-contain If one mate alignment contains the other, consider that to be non-concordant. - See also: [Mates can overlap, contain or dovetail each other]. Default: a mate - can contain the other in a concordant alignment. + Default: a mate can contain the other in a concordant alignment. --no-overlap If one mate alignment overlaps the other at all, consider that to be - non-concordant. See also: [Mates can overlap, contain or dovetail each other]. - Default: mates can overlap in a concordant alignment. + non-concordant. Default: mates can overlap in a concordant alignment. ------ @@ -866,9 +863,9 @@ --rg <text> Add `<text>` (usually of the form `TAG:VAL`, e.g. `SM:Pool1`) as a field on the `@RG` header line. Note: in order for the `@RG` line to appear, `--rg-id` - must also be specified. This is because the `ID` tag is required by the [SAM - Spec][SAM]. Specify `--rg` multiple times to set multiple fields. See the - [SAM Spec][SAM] for details about what fields are legal. + must also be specified. This is because the `ID` tag is required by the SAM + Specification. Specify `--rg` multiple times to set multiple fields. See the + SAM Specification for details about what fields are legal. --omit-sec-seq When printing secondary alignments, Bowtie 2 by default will write out the `SEQ` diff -r c1ec08cb34f9 -r ceb6467e276c tool_dependencies.xml --- a/tool_dependencies.xml Fri Dec 12 11:12:27 2014 -0500 +++ b/tool_dependencies.xml Mon Mar 09 11:58:43 2015 -0400 @@ -1,7 +1,7 @@ - +