annotate bowtie2_wrapper.xml @ 31:f66e4858ca26 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
author iuc
date Wed, 06 Jul 2022 10:24:52 +0000
parents 2f3400246bfc
children 6b4916819621
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
31
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
1 <tool id="bowtie2" name="Bowtie2" version="@TOOL_VERSION@+galaxy1" profile="20.05">
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
2 <description>- map reads against reference genome</description>
31
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
3 <macros>
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
4 <import>bowtie2_macros.xml</import>
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
5 </macros>
29
56dcf3929d02 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents: 28
diff changeset
6 <xrefs>
56dcf3929d02 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents: 28
diff changeset
7 <xref type="bio.tools">bowtie2</xref>
56dcf3929d02 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents: 28
diff changeset
8 </xrefs>
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
9 <requirements>
27
c9105910063f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 41371d219eaafc811eadf7646a7f0ecf002e4239"
iuc
parents: 26
diff changeset
10 <requirement type="package" version="@TOOL_VERSION@">bowtie2</requirement>
30
2f3400246bfc "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 37384c4ef9fee552914e0e13897ae4c37ef2d24a"
iuc
parents: 29
diff changeset
11 <requirement type="package" version="1.14">samtools</requirement>
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
12 </requirements>
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
13 <version_command>bowtie2 --version</version_command>
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
14 <command detect_errors="exit_code"><![CDATA[
21
e798c0b3384c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 9bbf35d7f47e5ab6b78248c9907b71446d4e7b0c
iuc
parents: 20
diff changeset
15 ## Use pipefail if available to quit with first non-zero exit code
e798c0b3384c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 9bbf35d7f47e5ab6b78248c9907b71446d4e7b0c
iuc
parents: 20
diff changeset
16 set -o | grep -q pipefail && set -o pipefail;
18
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
17 ## prepare bowtie2 index
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
18 #set index_path = ''
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
19 #if str($reference_genome.source) == "history":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
20 bowtie2-build --threads \${GALAXY_SLOTS:-4} '$reference_genome.own_file' genome &&
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
21 ln -s -f '$reference_genome.own_file' genome.fa &&
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
22 #set index_path = 'genome'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
23 #else:
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
24 #set index_path = $reference_genome.index.fields.path
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
25 #end if
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
26
18
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
27 ## Link in the input files, so bowtie2 can tell their type
14
85f0e9edb32d planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit 954b2052cb74a0bc88f65df37f429ff27c45ea8f
devteam
parents: 13
diff changeset
28
18
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
29 #set compressed="False"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
30 #set reads_are_fastq = True
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
31 #if str($library.type) == 'paired':
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
32 #if $library.input_1.is_of_type("fastq.gz", "fastqsanger.gz"):
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
33 #set read1 = "input_f.fastq.gz"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
34 #set compressed = "GZ"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
35 #else if $library.input_1.is_of_type("fastq.bz2", "fastqsanger.bz2"):
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
36 #set read1 = "input_f.fastq.bz2"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
37 #set compressed = "BZ2"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
38 #else if $library.input_1.is_of_type('fasta'):
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
39 #set reads_are_fastq = False
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
40 #set read1 = "input_f.fasta"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
41 #else:
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
42 #set read1 = "input_f.fastq"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
43 #end if
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
44 ln -f -s '${library.input_1}' ${read1} &&
14
85f0e9edb32d planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit 954b2052cb74a0bc88f65df37f429ff27c45ea8f
devteam
parents: 13
diff changeset
45
18
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
46 #if $library.input_2.is_of_type("fastq.gz", "fastqsanger.gz"):
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
47 #set read2 = "input_r.fastq.gz"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
48 #set compressed = "GZ"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
49 #else if $library.input_2.is_of_type("fastq.bz2", "fastqsanger.bz2"):
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
50 #set read2 = "input_r.fastq.bz2"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
51 #set compressed = "BZ2"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
52 #else if $library.input_2.is_of_type('fasta'):
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
53 #set read2 = "input_r.fasta"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
54 #else:
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
55 #set read2 = "input_r.fastq"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
56 #end if
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
57 ln -f -s '${library.input_2}' ${read2} &&
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
58 #else if str($library.type) == 'paired_collection':
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
59 #if $library.input_1.forward.is_of_type("fastq.gz", "fastqsanger.gz"):
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
60 #set read1 = "input_f.fastq.gz"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
61 #set compressed = "GZ"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
62 #else if $library.input_1.forward.is_of_type("fastq.bz2", "fastqsanger.bz2"):
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
63 #set read1 = "input_f.fastq.bz2"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
64 #set compressed = "BZ2"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
65 #else if $library.input_1.forward.is_of_type('fasta'):
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
66 #set reads_are_fastq = False
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
67 #set read1 = "input_f.fasta"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
68 #else:
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
69 #set read1 = "input_f.fastq"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
70 #end if
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
71 ln -s '${library.input_1.forward}' ${read1} &&
14
85f0e9edb32d planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit 954b2052cb74a0bc88f65df37f429ff27c45ea8f
devteam
parents: 13
diff changeset
72
18
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
73 #if $library.input_1.reverse.is_of_type("fastq.gz", "fastqsanger.gz"):
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
74 #set read2 = "input_r.fastq.gz"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
75 #set compressed = "GZ"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
76 #else if $library.input_1.reverse.is_of_type("fastq.bz2", "fastqsanger.bz2"):
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
77 #set read2 = "input_r.fastq.bz2"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
78 #set compressed = "BZ2"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
79 #else if $library.input_1.reverse.is_of_type("fasta"):
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
80 #set read2 = "input_r.fasta"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
81 #else:
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
82 #set read2 = "input_r.fastq"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
83 #end if
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
84 ln -s '${library.input_1.reverse}' ${read2} &&
15
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
85
18
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
86 #else if str($library.type) == 'paired_interleaved':
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
87 #if $library.input_1.is_of_type("fastq.gz", "fastqsanger.gz"):
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
88 #set read1 = "input_il.fastq.gz"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
89 #set compressed = "GZ"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
90 #else if $library.input_1.is_of_type("fastq.bz2", "fastqsanger.bz2"):
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
91 #set read1 = "input_il.fastq.bz2"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
92 #set compressed = "BZ2"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
93 #else if $library.input_1.is_of_type("fasta"):
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
94 #set reads_are_fastq = False
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
95 #set read1 = "input_il.fasta"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
96 #else:
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
97 #set read1 = "input_il.fastq"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
98 #end if
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
99 ln -s '${library.input_1}' ${read1} &&
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
100 #else:
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
101 #if $library.input_1.is_of_type("fastq.gz", "fastqsanger.gz"):
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
102 #set read1 = "input_f.fastq.gz"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
103 #set compressed = "GZ"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
104 #else if $library.input_1.is_of_type("fastq.bz2", "fastqsanger.bz2"):
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
105 #set read1 = "input_f.fastq.bz2"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
106 #set compressed = "BZ2"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
107 #else if $library.input_1.is_of_type("fasta"):
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
108 #set reads_are_fastq = False
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
109 #set read1 = "input_f.fasta"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
110 #else:
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
111 #set read1 = "input_f.fastq"
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
112 #end if
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
113 ln -s '${library.input_1}' ${read1} &&
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
114 #end if
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
115
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
116 ## execute bowtie2
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
117
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
118 bowtie2
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
119
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
120 ## number of threads
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
121 -p \${GALAXY_SLOTS:-4}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
122
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
123 ## index file path
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
124 -x '$index_path'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
125
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
126 ## Input reads are fasta?
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
127 #if not reads_are_fastq:
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
128 -f
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
129 #end if
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
130
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
131 ## Input reads
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
132 #if str( $library.type ) == "single":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
133 -U '${read1}'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
134 #if str( $library.unaligned_file ) == "true":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
135 #if $compressed == "GZ":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
136 --un-gz '${output_unaligned_reads_l}'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
137 #else if $compressed == "BZ2":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
138 --un-bz2 '${output_unaligned_reads_l}'
14
85f0e9edb32d planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit 954b2052cb74a0bc88f65df37f429ff27c45ea8f
devteam
parents: 13
diff changeset
139 #else:
18
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
140 --un '${output_unaligned_reads_l}'
14
85f0e9edb32d planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit 954b2052cb74a0bc88f65df37f429ff27c45ea8f
devteam
parents: 13
diff changeset
141 #end if
18
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
142 #end if
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
143 #if str( $library.aligned_file ) == "true":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
144 #if $compressed == "GZ":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
145 --al-gz '${output_aligned_reads_l}'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
146 #else if $compressed == "BZ2":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
147 --al-bz2 '${output_aligned_reads_l}'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
148 #else:
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
149 --al '${output_aligned_reads_l}'
16
def46fdb3909 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 5581ee25e468d4a1144ce6e5e511cb29cd51cf1f
iuc
parents: 15
diff changeset
150 #end if
18
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
151 #end if
15
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
152
18
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
153 #elif str( $library.type ) == "paired_interleaved":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
154 --interleaved '${read1}'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
155 #if str( $library.unaligned_file ) == "true":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
156 #if $compressed == "GZ":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
157 --un-gz '${output_unaligned_reads_l}'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
158 #else if $compressed == "BZ2":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
159 --un-bz2 '${output_unaligned_reads_l}'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
160 #else:
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
161 --un '${output_unaligned_reads_l}'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
162 #end if
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
163 #end if
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
164 #if str( $library.aligned_file ) == "true":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
165 #if $compressed == "GZ":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
166 --al-gz '${output_aligned_reads_l}'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
167 #else if $compressed == "BZ2":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
168 --al-bz2 '${output_aligned_reads_l}'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
169 #else:
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
170 --al '${output_aligned_reads_l}'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
171 #end if
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
172 #end if
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
173 #else:
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
174 -1 '${read1}'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
175 -2 '${read2}'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
176 #if str( $library.unaligned_file ) == "true":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
177 #if $compressed == "GZ":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
178 --un-conc-gz '${output_unaligned_reads_l}'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
179 #else if $compressed == "BZ2":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
180 --un-conc-bz2 '${output_unaligned_reads_l}'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
181 #else:
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
182 --un-conc '${output_unaligned_reads_l}'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
183 #end if
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
184 #end if
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
185 #if str( $library.aligned_file ) == "true":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
186 #if $compressed == "GZ":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
187 --al-conc-gz '${output_aligned_reads_l}'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
188 #else if $compressed == "BZ2":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
189 --al-conc-bz2 '${output_aligned_reads_l}'
14
85f0e9edb32d planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit 954b2052cb74a0bc88f65df37f429ff27c45ea8f
devteam
parents: 13
diff changeset
190 #else:
18
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
191 --al-conc '${output_aligned_reads_l}'
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
192 #end if
18
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
193 #end if
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
194 #if str( $library.paired_options.paired_options_selector ) == "yes":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
195 -I ${library.paired_options.I}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
196 -X ${library.paired_options.X}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
197 ${library.paired_options.fr_rf_ff}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
198 ${library.paired_options.no_mixed}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
199 ${library.paired_options.no_discordant}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
200 ${library.paired_options.dovetail}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
201 ${library.paired_options.no_contain}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
202 ${library.paired_options.no_overlap}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
203 #end if
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
204 #end if
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
205
18
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
206 ## Read group information.
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
207 @define_read_group_helpers@
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
208 #if str( $library.type ) == "single":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
209 #set $rg_auto_name = $read_group_name_default($library.input_1)
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
210 #elif str( $library.type ) == "paired":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
211 #set $rg_auto_name = $read_group_name_default($library.input_1, $library.input_2)
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
212 #else
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
213 #set $rg_auto_name = $read_group_name_default($library.input_1)
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
214 #end if
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
215 @set_use_rg_var@
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
216 @set_read_group_vars@
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
217 #if $use_rg
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
218 $format_read_group("", $rg_id, '"', arg='--rg-id ')
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
219 $format_read_group("SM:", $rg_sm, '"', arg='--rg ')
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
220 $format_read_group("PL:", $rg_pl, '"', arg='--rg ')
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
221 $format_read_group("LB:", $rg_lb, '"', arg='--rg ')
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
222 $format_read_group("CN:", $rg_cn, '"', arg='--rg ')
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
223 $format_read_group("DS:", $rg_ds, '"', arg='--rg ')
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
224 $format_read_group("DT:", $rg_dt, '"', arg='--rg ')
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
225 $format_read_group("FO:", $rg_fo, '"', arg='--rg ')
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
226 $format_read_group("KS:", $rg_ks, '"', arg='--rg ')
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
227 $format_read_group("PG:", $rg_pg, '"', arg='--rg ')
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
228 $format_read_group("PI:", $rg_pi, '"', arg='--rg ')
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
229 $format_read_group("PU:", $rg_pu, '"', arg='--rg ')
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
230 #end if
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
231
18
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
232 ## Analysis type
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
233 #if ( str( $analysis_type.analysis_type_selector ) == "simple" and str( $analysis_type.presets ) != "no_presets" ):
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
234 $analysis_type.presets
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
235 #elif str( $analysis_type.analysis_type_selector ) == "full":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
236 #if str( $analysis_type.input_options.input_options_selector ) == "yes":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
237 --skip ${analysis_type.input_options.skip}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
238 --qupto ${analysis_type.input_options.qupto}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
239 --trim5 ${analysis_type.input_options.trim5}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
240 --trim3 ${analysis_type.input_options.trim3}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
241 ${analysis_type.input_options.qv_encoding}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
242 ${analysis_type.input_options.solexa_quals}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
243 ${analysis_type.input_options.int_quals}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
244 #end if
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
245
18
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
246 #if str( $analysis_type.alignment_options.alignment_options_selector ) == "yes":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
247 -N ${analysis_type.alignment_options.N}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
248 -L ${analysis_type.alignment_options.L}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
249 -i '${analysis_type.alignment_options.i}'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
250 --n-ceil '${analysis_type.alignment_options.n_ceil}'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
251 --dpad ${analysis_type.alignment_options.dpad}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
252 --gbar ${analysis_type.alignment_options.gbar}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
253 ${analysis_type.alignment_options.ignore_quals}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
254 ${analysis_type.alignment_options.nofw}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
255 ${analysis_type.alignment_options.norc}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
256 ${analysis_type.alignment_options.no_1mm_upfront}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
257 #if str( $analysis_type.alignment_options.align_mode.align_mode_selector ) == "end-to-end":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
258 --end-to-end
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
259 --score-min '${analysis_type.alignment_options.align_mode.score_min_ete}'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
260 #elif str( $analysis_type.alignment_options.align_mode.align_mode_selector ) == "local":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
261 --local
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
262 --score-min '${analysis_type.alignment_options.align_mode.score_min_loc}'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
263 #end if
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
264 #end if
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
265
18
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
266 #if str( $analysis_type.scoring_options.scoring_options_selector ) == "yes":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
267 #if ( str( $analysis_type.alignment_options.alignment_options_selector ) == "yes" and str( $analysis_type.alignment_options.align_mode.align_mode_selector ) == "local" ):
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
268 --ma ${analysis_type.scoring_options.ma}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
269 #end if
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
270 --mp '${analysis_type.scoring_options.mp}'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
271 --np ${analysis_type.scoring_options.np}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
272 --rdg ${analysis_type.scoring_options.rdg_read_open},${analysis_type.scoring_options.rdg_read_extend}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
273 --rfg ${analysis_type.scoring_options.rfg_ref_open},${analysis_type.scoring_options.rfg_ref_extend}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
274 #end if
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
275
18
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
276 #if str( $analysis_type.reporting_options.reporting_options_selector ) == "k":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
277 -k ${analysis_type.reporting_options.k}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
278 #elif str( $analysis_type.reporting_options.reporting_options_selector ) == "a":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
279 -a
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
280 #end if
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
281
18
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
282 #if str( $analysis_type.effort_options.effort_options_selector ) == "yes":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
283 -D ${analysis_type.effort_options.D}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
284 -R ${analysis_type.effort_options.R}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
285 #end if
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
286 #if str( $analysis_type.other_options.other_options_selector ) == "yes":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
287 ${analysis_type.other_options.non_deterministic}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
288 --seed ${analysis_type.other_options.seed}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
289 #end if
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
290
18
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
291 #elif str( $analysis_type.analysis_type_selector ) == "cline":
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
292 ${analysis_type.cline}
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
293 #end if
10
fed480fea9f0 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 8
diff changeset
294
22
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
295 #if str( $sam_options.sam_options_selector ) == "yes":
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
296 ${sam_options.no_unal}
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
297 ${sam_options.omit_sec_seq}
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
298 ${sam_options.sam_no_qname_trunc}
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
299 ${sam_options.xeq}
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
300 ${sam_options.soft_clipped_unmapped_tlen}
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
301 ${sam_options.reorder}
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
302 #end if
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
303
18
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
304 ## mapping stats (i.e. stderr from bowtie2)
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
305 #if $save_mapping_stats
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
306 2> '$mapping_stats'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
307 #end if
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
308
18
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
309 ## output file
22
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
310 #if str( $sam_options.sam_options_selector ) == "no" or (str( $sam_options.sam_opt ) == "false" and str($sam_options.reorder) == ''):
28
8681e741a037 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d142d9cd5a8db8a87184c4b7622ea8de8355894f"
iuc
parents: 27
diff changeset
311 | samtools sort --no-PG -@\${GALAXY_SLOTS:-2} -T "\${TMPDIR:-.}" -O bam -o '$output'
22
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
312 #else if $sam_options.reorder:
28
8681e741a037 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d142d9cd5a8db8a87184c4b7622ea8de8355894f"
iuc
parents: 27
diff changeset
313 | samtools view --no-PG -bS - -o '$output'
22
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
314 #else:
24
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
315 > '$output'
18
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
316 #end if
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
317
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
318 ## rename unaligned sequence files
25
739b008acace "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit be3590f33762e4797eaa1462d495e8e8a1b98110"
iuc
parents: 24
diff changeset
319 #if ($library.type == "paired" or $library.type == "paired_collection") and $output_unaligned_reads_l and $output_unaligned_reads_r:
18
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
320 #from os.path import splitext
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
321 #set _unaligned_root, _unaligned_ext = splitext( str( $output_unaligned_reads_l ) )
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
322 && mv '${ _unaligned_root }.1${_unaligned_ext}' '$output_unaligned_reads_l'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
323 && mv '${ _unaligned_root }.2${_unaligned_ext}' '$output_unaligned_reads_r'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
324 #end if
25
739b008acace "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit be3590f33762e4797eaa1462d495e8e8a1b98110"
iuc
parents: 24
diff changeset
325 #if ($library.type == "paired" or $library.type == "paired_collection") and $output_aligned_reads_l and $output_aligned_reads_r:
18
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
326 #from os.path import splitext
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
327 #set _aligned_root, _aligned_ext = splitext( str( $output_aligned_reads_l ) )
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
328 && mv '${ _aligned_root }.1${_aligned_ext}' '$output_aligned_reads_l'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
329 && mv '${ _aligned_root }.2${_aligned_ext}' '$output_aligned_reads_r'
e0ca9500999b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit a887e11c533af3ed3734c26da2da33aa8acbbce9
iuc
parents: 17
diff changeset
330 #end if
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
331
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
332 ]]></command>
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
333 <inputs>
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
334 <!-- single/paired -->
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
335 <conditional name="library">
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
336 <param name="type" type="select" label="Is this single or paired library">
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
337 <option value="single">Single-end</option>
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
338 <option value="paired">Paired-end</option>
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
339 <option value="paired_collection">Paired-end Dataset Collection</option>
15
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
340 <option value="paired_interleaved">Paired-end data from single interleaved dataset</option>
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
341 </param>
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
342
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
343 <when value="single">
16
def46fdb3909 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 5581ee25e468d4a1144ce6e5e511cb29cd51cf1f
iuc
parents: 15
diff changeset
344 <param name="input_1" format="fastqsanger,fastqsanger.gz,fastqsanger.bz2,fasta" type="data" label="FASTA/Q file" help="Must be of datatype &quot;fastqsanger&quot; or &quot;fasta&quot;" />
15
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
345 <expand macro="align_unalign" />
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
346 </when>
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
347 <when value="paired">
16
def46fdb3909 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 5581ee25e468d4a1144ce6e5e511cb29cd51cf1f
iuc
parents: 15
diff changeset
348 <param name="input_1" format="fastqsanger,fastqsanger.gz,fastqsanger.bz2,fasta" type="data" label="FASTA/Q file #1" help="Must be of datatype &quot;fastqsanger&quot;or &quot;fasta&quot;" />
def46fdb3909 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 5581ee25e468d4a1144ce6e5e511cb29cd51cf1f
iuc
parents: 15
diff changeset
349 <param name="input_2" format="fastqsanger,fastqsanger.gz,fastqsanger.bz2,fasta" type="data" label="FASTA/Q file #2" help="Must be of datatype &quot;fastqsanger&quot;or &quot;fasta&quot;" />
15
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
350 <expand macro="align_unalign" />
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
351 <expand macro="paired_end_options" />
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
352 </when>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
353 <when value="paired_collection">
16
def46fdb3909 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 5581ee25e468d4a1144ce6e5e511cb29cd51cf1f
iuc
parents: 15
diff changeset
354 <param name="input_1" format="fastqsanger,fastqsanger.gz,fastqsanger.bz2,fasta" type="data_collection" collection_type="paired" label="FASTQ Paired Dataset" help="Must be of datatype &quot;fastqsanger&quot; or &quot;fasta&quot;" />
15
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
355 <expand macro="align_unalign" />
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
356 <expand macro="paired_end_options" />
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
357 </when>
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
358 <when value="paired_interleaved">
16
def46fdb3909 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 5581ee25e468d4a1144ce6e5e511cb29cd51cf1f
iuc
parents: 15
diff changeset
359 <param name="input_1" format="fastqsanger,fastqsanger.gz,fastqsanger.bz2,fasta" type="data" label="Interleaved FASTQ file" help="Must be of datatype &quot;fastqsanger&quot; or &quot;fasta&quot;. --interleaved"/>
15
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
360 <expand macro="align_unalign" />
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
361 <expand macro="paired_end_options" />
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
362 </when>
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
363 </conditional>
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
364 <!-- reference genome -->
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
365 <conditional name="reference_genome">
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
366 <param name="source" type="select" label="Will you select a reference genome from your history or use a built-in index?" help="Built-ins were indexed using default options. See `Indexes` section of help below">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
367 <option value="indexed">Use a built-in genome index</option>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
368 <option value="history">Use a genome from the history and build index</option>
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
369 </param>
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
370 <when value="indexed">
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
371 <param name="index" type="select" label="Select reference genome" help="If your genome of interest is not listed, contact the Galaxy team">
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
372 <options from_data_table="bowtie2_indexes">
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
373 <filter type="sort_by" column="2"/>
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
374 <validator type="no_options" message="No indexes are available for the selected input dataset"/>
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
375 </options>
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
376 </param>
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
377 </when>
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
378 <when value="history">
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
379 <param name="own_file" type="data" format="fasta" label="Select reference genome" />
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
380 </when>
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
381 </conditional>
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
382 <!-- read group settings -->
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
383 <expand macro="read_group_conditional" />
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
384 <conditional name="analysis_type">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
385 <param name="analysis_type_selector" type="select" label="Select analysis mode">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
386 <option value="simple">1: Default setting only</option>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
387 <option value="full">2: Full parameter list</option>
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
388 </param>
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
389 <when value="simple">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
390 <param name="presets" type="select" display="radio" label="Do you want to use presets?" help="Allow selecting among several preset parameter settings. Choosing between these will result in dramatic changes in runtime. See help below to understand effects of these presets.">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
391 <option value="no_presets" selected="True">No, just use defaults</option>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
392 <option value="--very-fast">Very fast end-to-end (--very-fast)</option>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
393 <option value="--fast">Fast end-to-end (--fast)</option>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
394 <option value="--sensitive">Sensitive end-to-end (--sensitive)</option>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
395 <option value="--very-sensitive">Very sensitive end-to-end (--very-sensitive)</option>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
396 <option value="--very-fast-local">Very fast local (--very-fast-local)</option>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
397 <option value="--fast-local">Fast local (--fast-local)</option>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
398 <option value="--sensitive-local">Sensitive local (--sensitive-local)</option>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
399 <option value="--very-sensitive-local">Very sensitive local (--very-sensitive-local)</option>
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
400 </param>
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
401 </when>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
402 <when value="full">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
403 <conditional name="input_options">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
404 <param name="input_options_selector" type="select" label="Do you want to tweak input options?" help="See &quot;Input Options&quot; section of Help below for information">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
405 <option value="yes">Yes</option>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
406 <option value="no" selected="true">No</option>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
407 </param>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
408 <when value="yes">
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
409 <param name="skip" type="integer" min="0" value="0" label="Skip (i.e. do not align) the first that many reads or pairs in the input" help="-s/--skip; default=0"/>
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
410 <param name="qupto" type="integer" min="1" value="100000000" label="Align the first that many reads or read pairs from the input (after the -s/--skip reads or pairs have been skipped), then stop" help="-u/--qupto; for default behavior (no limit) leave this value very large"/>
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
411 <param name="trim5" type="integer" min="0" value="0" label="Trim that many bases from 5' (left) end of each read before alignment" help="-5/--trim5; default=0"/>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
412 <param name="trim3" type="integer" min="0" value="0" label="Trim that many bases from 3' (right) end of each read before alignment" help="-3/--trim3; default=0"/>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
413 <param name="qv_encoding" type="select" display="radio" label="Select quality score encoding" help="See help below for more details">
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
414 <option value="--phred33" selected="True">Input qualities are ASCII chars equal to the Phred quality plus 33. This is also called the "Phred+33" encoding, which is used by the very latest Illumina pipelines (--phred33)</option>
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
415 <option value="--phred64">Input qualities are ASCII chars equal to the Phred quality plus 64. This is also called the "Phred+64" encoding (--phred64)</option>
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
416 </param>
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
417 <param name="solexa_quals" type="boolean" truevalue="--solexa-quals" falsevalue="" checked="False" label="Convert input qualities from Solexa (which can be negative) to Phred (which can't). This scheme was used in older Illumina GA Pipeline versions (prior to 1.3)" help="--solexa-quals; default=False"/>
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
418 <param name="int_quals" type="boolean" truevalue="--int-quals" falsevalue="" checked="False" label="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 --solexa-quals is also specified" help="--int-quals; default=False"/>
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
419 </when>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
420 <when value="no">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
421 <!-- do nothing -->
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
422 </when>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
423 </conditional>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
424 <conditional name="alignment_options">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
425 <param name="alignment_options_selector" type="select" label="Do you want to tweak alignment options?" help="See &quot;Alignment Options&quot; section of Help below for information">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
426 <option value="yes">Yes</option>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
427 <option value="no" selected="true">No</option>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
428 </param>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
429 <when value="yes">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
430 <param name="N" type="integer" min="0" max="1" value="0" label="Set the number of mismatches to be allowed in a seed alignment during multiseed alignment (see `Multiseed alignment` section of help below)" help="-N; Can be set to 0 or 1. Setting this higher makes alignment slower (often much slower) but increases sensitivity; default=0"/>
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
431 <param name="L" type="integer" min="0" max="32" value="22" label="Sets the length of the seed substrings to align during multiseed alignment (see `Multiseed alignment` section of help below)" help="-L; Smaller values make alignment slower but more sensitive. Default=22"/>
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
432 <param name="i" type="text" value="S,1,1.15" label="Set a function governing the interval between seed substrings to use during multiseed alignment (see `Multiseed alignment` section of help below). Also see description of this option below in the help section" help="-i; Since it's best to use longer intervals for longer reads, this parameter sets 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. If the function returns a result less than 1, it is rounded up to 1. Default=`S,1,1.15`"/>
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
433 <param name="n_ceil" type="text" value="L,0,0.15" label="Set 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" help="--n-ceil; 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. Reads exceeding this ceiling are filtered out. Default=`L,0,0.15`"/>
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
434 <param name="dpad" type="integer" min="0" value="15" label="Pad dynamic programming problems by that many columns on either side to allow gaps" help="--dpad; default=15"/>
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
435 <param name="gbar" type="integer" min="0" value="4" label="Disallow gaps within that many positions of the beginning or end of the read" help="--gbar; default=4"/>
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
436 <param name="ignore_quals" type="boolean" truevalue="--ignore-quals" falsevalue="" label="When calculating a mismatch penalty, always consider the quality value at the mismatched position to be the highest possible, regardless of the actual value" help="--ignore-quals; input is treated as though all quality values are high; default=False"/>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
437 <param name="nofw" type="boolean" truevalue="--nofw" falsevalue="" label="Do not attempt to align unpaired reads to the forward (Watson) reference strand" help="In paired-end mode, `--nofw` and `--norc` pertain to the fragments; i.e. specifying `--nofw` causes `bowtie2` to explore only those paired-end configurations corresponding to fragments from the reverse-complement (Crick) strand. Default=False"/>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
438 <param name="norc" type="boolean" truevalue="--norc" falsevalue="" label="Do not attempt to align unpaired reads to the reverse (Crick) reference strand" help="In paired-end mode, `--nofw` and `--norc` pertain to the fragments; i.e. specifying `--nofw` causes `bowtie2` to explore only those paired-end configurations corresponding to fragments from the reverse-complement (Crick) strand. Default=False"/>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
439 <param name="no_1mm_upfront" type="boolean" truevalue="--no-1mm-upfront" falsevalue="" label="Prevent searching for 1-mismatch end-to-end alignments before using the multiseed heuristic (see `Multiseed alignment` section of help below)" help="--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 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, 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 behavior when combined with options such as `-L` and `-N`. This comes at the expense of speed; Default=False"/>
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
440 <conditional name="align_mode">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
441 <param name="align_mode_selector" type="select" display="radio" label="Select between `--local` and `--end-to-end` alignment modes" help="--local and --end-to-end; see help below for detailed explanation; default=--end-to-end">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
442 <option value="end-to-end" selected="True">End to End (--end-to-end)</option>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
443 <option value="local">Local (--local)</option>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
444 </param>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
445 <when value="end-to-end">
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
446 <param name="score_min_ete" type="text" value="L,-0.6,-0.6" label="Set a function governing the minimum alignment score needed for an alignment to be considered `valid` (i.e. good enough to report)" help="--score-min; 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. The default in `--end-to-end` mode is `L,-0.6,-0.6` and the default in `--local` mode is `G,20,8`"/>
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
447 </when>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
448 <when value="local">
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
449 <param name="score_min_loc" type="text" value="G,20,8" label="Set a function governing the minimum alignment score needed for an alignment to be considered `valid` (i.e. good enough to report)" help="--score-min; 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. The default in `--end-to-end` mode is `L,-0.6,-0.6` and the default in `--local` mode is `G,20,8`"/>
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
450 </when>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
451 </conditional>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
452 </when>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
453 <when value="no">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
454 <!-- do nothing -->
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
455 </when>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
456 </conditional>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
457 <conditional name="scoring_options">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
458 <param name="scoring_options_selector" type="select" label="Do you want to tweak scoring options?" help="See &quot;Scoring Options&quot; section of Help below for information">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
459 <option value="yes">Yes</option>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
460 <option value="no" selected="true">No</option>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
461 </param>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
462 <when value="yes">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
463 <param name="ma" type="integer" value="2" label="Set the match bonus" help="--ma; In `--local` mode match bonus is added to the alignment score for each position where a read character aligns to a reference character and the characters match. Not used in `--end-to-end` mode; Default=2"/>
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
464 <param name="mp" type="text" value="6,2" label="Set the maximum (`MX`) and minimum (`MN`) mismatch penalties, both integers" help="--mp; A number less than or equal to `MX` and greater than or equal to `MN` is subtracted from the alignment score for each position where a read character aligns to a reference character, the characters do not match, and neither is an `N`. If `--ignore-quals` is specified, the number subtracted quals `MX`. Otherwise, the number subtracted is `MN + floor( (MX-MN)(MIN(Q, 40.0)/40.0) )` where Q is the Phred quality value; Default=6,2"/>
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
465 <param name="np" type="integer" value="1" label="Sets penalty for positions where the read, reference, or both, contain an ambiguous character such as `N`" help="--np; Default=1"/>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
466 <param name="rdg_read_open" type="integer" value="5" label="Set the read gap opening penalty" help="--rdg; this is the first component of --rdg flag - opening penalty; Default=5"/>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
467 <param name="rdg_read_extend" type="integer" value="3" label="Set the read gap extension penalty" help="--rdg; this is the second component of --rdg flag - extension penalty; Default=3"/>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
468 <param name="rfg_ref_open" type="integer" value="5" label="Set the reference gap opening penalty" help="--rfg; this is the first component of --rfg flag - opening penalty; Default=5"/>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
469 <param name="rfg_ref_extend" type="integer" value="3" label="Set the reference gap extension penalty" help="--rfg; this is the second component of --rfg flag - extension penalty; Default=3"/>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
470 </when>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
471 <when value="no">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
472 <!-- do nothing -->
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
473 </when>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
474 </conditional>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
475 <conditional name="reporting_options">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
476 <param name="reporting_options_selector" type="select" label="Do you want to use -a or -k options" help="Make sure you understand implications of setting -k and -a. See &quot;Reporting Options&quot; section of Help below for information on -k and -a options">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
477 <option value="no" selected="true">No, do not set</option>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
478 <option value="k">Set -k option and enter -k value</option>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
479 <option value="a">Set -a option</option>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
480 </param>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
481 <when value="no">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
482 <!-- do nothing -->
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
483 </when>
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
484 <when value="k">
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
485 <param name="k" type="integer" min="1" value="1" label="Searches for at most that many distinct, valid alignments for each read" help="-k; see detailed description of this option in the help section below. Note: Bowtie 2 is not designed with large values for `-k` in mind, and when aligning reads to long, repetitive genomes large `-k` can be very, very slow"/>
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
486 </when>
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
487 <when value="a">
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
488 <!-- do nothing here; set -a flag on the command line-->
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
489 </when>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
490 </conditional>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
491 <conditional name="effort_options">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
492 <param name="effort_options_selector" type="select" label="Do you want to tweak effort options?" help="See &quot;Effort Options&quot; section of Help below for information">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
493 <option value="yes">Yes</option>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
494 <option value="no" selected="true">No</option>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
495 </param>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
496 <when value="yes">
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
497 <param name="D" type="integer" value="15" min="0" label="Attempt that many consecutive seed extension attempts to `fail` before Bowtie 2 moves on, using the alignments found so far" help="-D; A seed extension `fails` if it does not yield a new best or a new second-best alignment. This limit is automatically adjusted up when -k or -a are specified. Default=15"/>
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
498 <param name="R" type="integer" value="2" min="0" label="Set the maximum number of times Bowtie 2 will `re-seed` reads with repetitive seeds" help="When `re-seeding`, Bowtie 2 simply chooses a new set of reads (same length, same number of mismatches allowed) at different offsets and searches for more alignments. A read is considered to have repetitive seeds if the total number of seed hits divided by the number of seeds that aligned at least once is greater than 300. Default=2"/>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
499 </when>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
500 <when value="no">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
501 <!-- do nothing -->
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
502 </when>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
503 </conditional>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
504 <conditional name="other_options">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
505 <param name="other_options_selector" type="select" label="Do you want to tweak Other Options?" help="See &quot;Other Options&quot; section of Help below for information">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
506 <option value="yes">Yes</option>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
507 <option value="no" selected="true">No</option>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
508 </param>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
509 <when value="yes">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
510 <param name="seed" type="integer" value="0" min="0" label="Use this number as the seed for pseudo-random number generator" help="--seed; Default=0"/>
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
511 <param name="non_deterministic" type="boolean" truevalue="--non-deterministic" falsevalue="" label="Re-initialize the pseudo-random generator for each read using the current time" help="--non-deterministic; see Help below for explanation of this option; default=False"/>
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
512 </when>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
513 <when value="no">
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
514 <!-- do nothing -->
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
515 </when>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
516 </conditional>
22
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
517 </when>
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
518 </conditional>
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
519 <conditional name="sam_options">
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
520 <param name="sam_options_selector" type="select" label="Do you want to tweak SAM/BAM Options?" help="See &quot;Output Options&quot; section of Help below for information">
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
521 <option value="yes">Yes</option>
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
522 <option value="no" selected="true">No</option>
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
523 </param>
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
524 <when value="yes">
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
525 <param name="sam_opt" type="boolean" truevalue="true" falsevalue="false" label="Would you like the output to be a SAM file" help="By default, the output from this Bowtie2 wrapper is a sorted BAM file."/>
22
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
526 <param name="no_unal" type="boolean" truevalue="--no-unal" falsevalue="" label="Suppress SAM records for reads that failed to align" help="--no-unal; Default=False"/>
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
527 <param name="omit_sec_seq" type="boolean" truevalue="--omit-sec-seq" falsevalue="" label="Suppress SEQ and QUAL strings for secondary alignments" help="--omit-sec-seq; Default=False"/>
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
528 <param name="sam_no_qname_trunc" argument="--sam-no-qname-trunc" type="boolean" truevalue="--sam-no-qname-trunc" falsevalue="" label="Suppress standard behavior of truncating readname at first whitespace at the expense of generating non-standard SAM"/>
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
529 <param argument="--xeq" type="boolean" truevalue="--xeq" falsevalue="" label="Use '='/'X', instead of 'M,' to specify matches/mismatches in SAM record."/>
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
530 <param name="soft_clipped_unmapped_tlen" argument="--soft-clipped-unmapped-tlen" type="boolean" truevalue="--soft-clipped-unmapped-tlen" falsevalue="" label=" Exclude soft-clipped bases when reporting TLEN"/>
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
531 <param name="reorder" argument="--reorder" type="boolean" truevalue="--reorder" falsevalue=""
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
532 label="Reorder output to reflect order of the input file"
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
533 help="Reorder guarantees that output SAM records are printed in an order corresponding to the order of the reads in the original input file, even when -p is set greater than 1." />
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
534 </when>
22
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
535 <when value="no"/>
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
536 </conditional>
10
fed480fea9f0 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 8
diff changeset
537 <param name="save_mapping_stats" type="boolean" checked="False" label="Save the bowtie2 mapping statistics to the history" />
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
538 </inputs>
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
539 <!-- define outputs -->
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
540 <outputs>
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
541 <data format="fastqsanger" name="output_unaligned_reads_l" label="${tool.name} on ${on_string}: unaligned reads (L)" >
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
542 <filter>library['unaligned_file'] is True</filter>
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
543 <actions>
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
544 <conditional name="library.type">
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
545 <when value="single">
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
546 <action type="format">
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
547 <option type="from_param" name="library.input_1" param_attribute="ext" />
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
548 </action>
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
549 </when>
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
550 <when value="paired">
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
551 <action type="format">
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
552 <option type="from_param" name="library.input_1" param_attribute="ext" />
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
553 </action>
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
554 </when>
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
555 <when value="paired_collection">
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
556 <action type="format">
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
557 <option type="from_param" name="library.input_1" param_attribute="forward.ext" />
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
558 </action>
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
559 </when>
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
560 </conditional>
23
5e52e98ff239 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d611e968158b012c10d3f8b661af1f07313f06d7
iuc
parents: 22
diff changeset
561 <expand macro="dbKeyActions" />
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
562 </actions>
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
563 </data>
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
564 <data format="fastqsanger" name="output_aligned_reads_l" label="${tool.name} on ${on_string}: aligned reads (L)" >
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
565 <filter>library['aligned_file'] is True</filter>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
566 <actions>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
567 <conditional name="library.type">
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
568 <when value="single">
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
569 <action type="format">
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
570 <option type="from_param" name="library.input_1" param_attribute="ext" />
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
571 </action>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
572 </when>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
573 <when value="paired">
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
574 <action type="format">
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
575 <option type="from_param" name="library.input_1" param_attribute="ext" />
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
576 </action>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
577 </when>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
578 <when value="paired_collection">
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
579 <action type="format">
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
580 <option type="from_param" name="library.input_1" param_attribute="forward.ext" />
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
581 </action>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
582 </when>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
583 </conditional>
23
5e52e98ff239 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d611e968158b012c10d3f8b661af1f07313f06d7
iuc
parents: 22
diff changeset
584 <expand macro="dbKeyActions" />
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
585 </actions>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
586 </data>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
587 <data format="fastqsanger" name="output_aligned_reads_r" label="${tool.name} on ${on_string}: aligned reads (R)">
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
588 <filter>( library['type'] == "paired" or library['type'] == "paired_collection" ) and library['aligned_file'] is True</filter>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
589 <actions>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
590 <conditional name="library.type">
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
591 <when value="paired">
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
592 <action type="format">
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
593 <option type="from_param" name="library.input_2" param_attribute="ext" />
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
594 </action>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
595 </when>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
596 <when value="paired_collection">
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
597 <action type="format">
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
598 <option type="from_param" name="library.input_1" param_attribute="reverse.ext" />
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
599 </action>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
600 </when>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
601 </conditional>
23
5e52e98ff239 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d611e968158b012c10d3f8b661af1f07313f06d7
iuc
parents: 22
diff changeset
602 <expand macro="dbKeyActions" />
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
603 </actions>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
604 </data>
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
605 <data format="fastqsanger" name="output_unaligned_reads_r" label="${tool.name} on ${on_string}: unaligned reads (R)">
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
606 <filter>( library['type'] == "paired" or library['type'] == "paired_collection" ) and library['unaligned_file'] is True</filter>
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
607 <actions>
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
608 <conditional name="library.type">
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
609 <when value="paired">
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
610 <action type="format">
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
611 <option type="from_param" name="library.input_2" param_attribute="ext" />
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
612 </action>
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
613 </when>
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
614 <when value="paired_collection">
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
615 <action type="format">
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
616 <option type="from_param" name="library.input_1" param_attribute="reverse.ext" />
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
617 </action>
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
618 </when>
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
619 </conditional>
23
5e52e98ff239 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d611e968158b012c10d3f8b661af1f07313f06d7
iuc
parents: 22
diff changeset
620 <expand macro="dbKeyActions" />
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
621 </actions>
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
622 </data>
24
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
623 <data format="bam" name="output" label="${tool.name} on ${on_string}: alignments">
22
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
624 <change_format>
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
625 <when input="sam_options.reorder" value="--reorder" format="qname_input_sorted.bam" />
24
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
626 <when input="sam_options.sam_opt" value="true" format="sam" />
22
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
627 </change_format>
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
628 <actions>
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
629 <conditional name="reference_genome.source">
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
630 <when value="indexed">
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
631 <action type="metadata" name="dbkey">
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
632 <option type="from_data_table" name="bowtie2_indexes" column="1" offset="0">
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
633 <filter type="param_value" column="0" value="#" compare="startswith" keep="False"/>
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
634 <filter type="param_value" ref="reference_genome.index" column="0"/>
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
635 </option>
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
636 </action>
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
637 </when>
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
638 <when value="history">
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
639 <action type="metadata" name="dbkey">
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
640 <option type="from_param" name="reference_genome.own_file" param_attribute="dbkey" />
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
641 </action>
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
642 </when>
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
643 </conditional>
23
5e52e98ff239 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d611e968158b012c10d3f8b661af1f07313f06d7
iuc
parents: 22
diff changeset
644 <expand macro="dbKeyActions" />
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
645 </actions>
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
646 </data>
10
fed480fea9f0 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 8
diff changeset
647 <data format="txt" name="mapping_stats" label="${tool.name} on ${on_string}: mapping stats">
fed480fea9f0 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 8
diff changeset
648 <filter>save_mapping_stats is True</filter>
23
5e52e98ff239 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d611e968158b012c10d3f8b661af1f07313f06d7
iuc
parents: 22
diff changeset
649 <actions>
5e52e98ff239 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d611e968158b012c10d3f8b661af1f07313f06d7
iuc
parents: 22
diff changeset
650 <expand macro="dbKeyActions" />
5e52e98ff239 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d611e968158b012c10d3f8b661af1f07313f06d7
iuc
parents: 22
diff changeset
651 </actions>
10
fed480fea9f0 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 8
diff changeset
652 </data>
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
653 </outputs>
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
654 <tests>
24
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
655 <test expect_num_outputs="1">
17
69f044db2445 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 0f9578a65e86cc159aadf1a9b37aaf3621f19456
iuc
parents: 16
diff changeset
656 <!-- test on paired-end datasets -->
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
657 <param name="type" value="paired"/>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
658 <param name="paired_options_selector" value="no"/>
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
659 <param name="unaligned_file" value="false"/>
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
660 <param name="analysis_type_selector" value="simple"/>
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
661 <param name="source" value="history" />
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
662 <param name="input_1" value="bowtie2-fq1.fq" ftype="fastqsanger"/>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
663 <param name="input_2" value="bowtie2-fq2.fq" ftype="fastqsanger"/>
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
664 <param name="own_file" value="bowtie2-ref.fasta" />
31
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
665 <output name="output" file="bowtie2-test1.bam" ftype="bam" lines_diff="4" sort="true">
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
666 <metadata name="sort_order" value="coordinate"/>
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
667 </output>
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
668 </test>
25
739b008acace "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit be3590f33762e4797eaa1462d495e8e8a1b98110"
iuc
parents: 24
diff changeset
669 <test expect_num_outputs="3">
739b008acace "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit be3590f33762e4797eaa1462d495e8e8a1b98110"
iuc
parents: 24
diff changeset
670 <!-- test on list paired collection -->
17
69f044db2445 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 0f9578a65e86cc159aadf1a9b37aaf3621f19456
iuc
parents: 16
diff changeset
671 <param name="type" value="paired_collection"/>
69f044db2445 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 0f9578a65e86cc159aadf1a9b37aaf3621f19456
iuc
parents: 16
diff changeset
672 <param name="paired_options_selector" value="no"/>
25
739b008acace "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit be3590f33762e4797eaa1462d495e8e8a1b98110"
iuc
parents: 24
diff changeset
673 <param name="unaligned_file" value="true"/>
17
69f044db2445 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 0f9578a65e86cc159aadf1a9b37aaf3621f19456
iuc
parents: 16
diff changeset
674 <param name="analysis_type_selector" value="simple"/>
69f044db2445 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 0f9578a65e86cc159aadf1a9b37aaf3621f19456
iuc
parents: 16
diff changeset
675 <param name="source" value="history" />
69f044db2445 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 0f9578a65e86cc159aadf1a9b37aaf3621f19456
iuc
parents: 16
diff changeset
676 <param name="input_1">
69f044db2445 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 0f9578a65e86cc159aadf1a9b37aaf3621f19456
iuc
parents: 16
diff changeset
677 <collection type="paired">
69f044db2445 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 0f9578a65e86cc159aadf1a9b37aaf3621f19456
iuc
parents: 16
diff changeset
678 <element name="forward" value="bowtie2-fq1.fq" ftype="fastqsanger" />
69f044db2445 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 0f9578a65e86cc159aadf1a9b37aaf3621f19456
iuc
parents: 16
diff changeset
679 <element name="reverse" value="bowtie2-fq2.fq" ftype="fastqsanger" />
69f044db2445 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 0f9578a65e86cc159aadf1a9b37aaf3621f19456
iuc
parents: 16
diff changeset
680 </collection>
69f044db2445 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 0f9578a65e86cc159aadf1a9b37aaf3621f19456
iuc
parents: 16
diff changeset
681 </param>
69f044db2445 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 0f9578a65e86cc159aadf1a9b37aaf3621f19456
iuc
parents: 16
diff changeset
682 <param name="own_file" value="bowtie2-ref.fasta" />
31
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
683 <output name="output" file="bowtie2-test1.bam" ftype="bam" lines_diff="4" sort="true">
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
684 <metadata name="sort_order" value="coordinate"/>
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
685 </output>
17
69f044db2445 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 0f9578a65e86cc159aadf1a9b37aaf3621f19456
iuc
parents: 16
diff changeset
686 </test>
24
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
687 <test expect_num_outputs="1">
17
69f044db2445 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 0f9578a65e86cc159aadf1a9b37aaf3621f19456
iuc
parents: 16
diff changeset
688 <!-- test on paired-end datasets with read group info -->
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
689 <param name="type" value="paired"/>
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
690 <param name="paired_options_selector" value="no"/>
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
691 <param name="unaligned_file" value="false"/>
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
692 <param name="analysis_type_selector" value="simple"/>
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
693 <param name="rg_selector" value="set"/>
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
694 <param name="ID" value="rg1"/>
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
695 <param name="PL" value="CAPILLARY"/>
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
696 <param name="source" value="history" />
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
697 <param name="input_1" value="bowtie2-fq1.fq" ftype="fastqsanger"/>
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
698 <param name="input_2" value="bowtie2-fq2.fq" ftype="fastqsanger"/>
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
699 <param name="own_file" value="bowtie2-ref.fasta" />
31
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
700 <output name="output" file="bowtie2-test2.bam" ftype="bam" lines_diff="4" sort="true">
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
701 <metadata name="sort_order" value="coordinate"/>
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
702 </output>
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
703 </test>
24
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
704 <test expect_num_outputs="2">
17
69f044db2445 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 0f9578a65e86cc159aadf1a9b37aaf3621f19456
iuc
parents: 16
diff changeset
705 <!-- test on paired-end datasets with stats output -->
10
fed480fea9f0 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 8
diff changeset
706 <param name="type" value="paired"/>
fed480fea9f0 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 8
diff changeset
707 <param name="paired_options_selector" value="no"/>
fed480fea9f0 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 8
diff changeset
708 <param name="unaligned_file" value="false"/>
fed480fea9f0 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 8
diff changeset
709 <param name="analysis_type_selector" value="simple"/>
fed480fea9f0 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 8
diff changeset
710 <param name="source" value="history" />
fed480fea9f0 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 8
diff changeset
711 <param name="input_1" value="bowtie2-fq1.fq" ftype="fastqsanger"/>
fed480fea9f0 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 8
diff changeset
712 <param name="input_2" value="bowtie2-fq2.fq" ftype="fastqsanger"/>
fed480fea9f0 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 8
diff changeset
713 <param name="own_file" value="bowtie2-ref.fasta" />
fed480fea9f0 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 8
diff changeset
714 <param name="save_mapping_stats" value="true" />
31
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
715 <output name="output" file="bowtie2-test1.bam" ftype="bam" lines_diff="4" sort="true">
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
716 <metadata name="sort_order" value="coordinate"/>
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
717 </output>
15
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
718 <output name="mapping_stats">
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
719 <assert_contents>
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
720 <has_text text="of these" />
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
721 </assert_contents>
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
722 </output>
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
723 </test>
24
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
724 <test expect_num_outputs="1">
17
69f044db2445 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 0f9578a65e86cc159aadf1a9b37aaf3621f19456
iuc
parents: 16
diff changeset
725 <!-- test on interleaved dataset -->
15
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
726 <param name="type" value="paired_interleaved"/>
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
727 <!-- <param name="paired_options_selector" value="no"/> -->
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
728 <param name="unaligned_file" value="false"/>
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
729 <param name="analysis_type_selector" value="simple"/>
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
730 <param name="rg_selector" value="set"/>
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
731 <param name="ID" value="rg1"/>
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
732 <param name="PL" value="CAPILLARY"/>
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
733 <param name="source" value="history" />
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
734 <param name="input_1" value="bowtie2-fq_il.fq" ftype="fastqsanger"/>
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
735 <param name="own_file" value="bowtie2-ref.fasta" />
31
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
736 <output name="output" file="bowtie2-test_il.bam" ftype="bam" lines_diff="4" sort="true">
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
737 <metadata name="sort_order" value="coordinate"/>
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
738 </output>
10
fed480fea9f0 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 8
diff changeset
739 </test>
24
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
740 <test expect_num_outputs="1">
17
69f044db2445 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 0f9578a65e86cc159aadf1a9b37aaf3621f19456
iuc
parents: 16
diff changeset
741 <!-- test on fastqsanger.gz paired-end datasets -->
14
85f0e9edb32d planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit 954b2052cb74a0bc88f65df37f429ff27c45ea8f
devteam
parents: 13
diff changeset
742 <param name="type" value="paired"/>
85f0e9edb32d planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit 954b2052cb74a0bc88f65df37f429ff27c45ea8f
devteam
parents: 13
diff changeset
743 <param name="paired_options_selector" value="no"/>
85f0e9edb32d planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit 954b2052cb74a0bc88f65df37f429ff27c45ea8f
devteam
parents: 13
diff changeset
744 <param name="unaligned_file" value="false"/>
85f0e9edb32d planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit 954b2052cb74a0bc88f65df37f429ff27c45ea8f
devteam
parents: 13
diff changeset
745 <param name="analysis_type_selector" value="simple"/>
85f0e9edb32d planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit 954b2052cb74a0bc88f65df37f429ff27c45ea8f
devteam
parents: 13
diff changeset
746 <param name="source" value="history" />
85f0e9edb32d planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit 954b2052cb74a0bc88f65df37f429ff27c45ea8f
devteam
parents: 13
diff changeset
747 <param name="input_1" value="bowtie2-fq1.fq.gz" ftype="fastqsanger.gz"/>
85f0e9edb32d planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit 954b2052cb74a0bc88f65df37f429ff27c45ea8f
devteam
parents: 13
diff changeset
748 <param name="input_2" value="bowtie2-fq2.fq.gz" ftype="fastqsanger.gz"/>
85f0e9edb32d planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit 954b2052cb74a0bc88f65df37f429ff27c45ea8f
devteam
parents: 13
diff changeset
749 <param name="own_file" value="bowtie2-ref.fasta" />
31
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
750 <output name="output" file="bowtie2-test1.bam" ftype="bam" lines_diff="4" sort="true">
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
751 <metadata name="sort_order" value="coordinate"/>
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
752 </output>
14
85f0e9edb32d planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit 954b2052cb74a0bc88f65df37f429ff27c45ea8f
devteam
parents: 13
diff changeset
753 </test>
24
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
754 <test expect_num_outputs="1">
17
69f044db2445 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 0f9578a65e86cc159aadf1a9b37aaf3621f19456
iuc
parents: 16
diff changeset
755 <!-- test on fastqsanger.bz2 paired-end datasets -->
14
85f0e9edb32d planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit 954b2052cb74a0bc88f65df37f429ff27c45ea8f
devteam
parents: 13
diff changeset
756 <param name="type" value="paired"/>
85f0e9edb32d planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit 954b2052cb74a0bc88f65df37f429ff27c45ea8f
devteam
parents: 13
diff changeset
757 <param name="paired_options_selector" value="no"/>
85f0e9edb32d planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit 954b2052cb74a0bc88f65df37f429ff27c45ea8f
devteam
parents: 13
diff changeset
758 <param name="unaligned_file" value="false"/>
85f0e9edb32d planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit 954b2052cb74a0bc88f65df37f429ff27c45ea8f
devteam
parents: 13
diff changeset
759 <param name="analysis_type_selector" value="simple"/>
85f0e9edb32d planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit 954b2052cb74a0bc88f65df37f429ff27c45ea8f
devteam
parents: 13
diff changeset
760 <param name="source" value="history" />
85f0e9edb32d planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit 954b2052cb74a0bc88f65df37f429ff27c45ea8f
devteam
parents: 13
diff changeset
761 <param name="input_1" value="bowtie2-fq1.fq.bz2" ftype="fastqsanger.bz2"/>
85f0e9edb32d planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit 954b2052cb74a0bc88f65df37f429ff27c45ea8f
devteam
parents: 13
diff changeset
762 <param name="input_2" value="bowtie2-fq2.fq.bz2" ftype="fastqsanger.bz2"/>
85f0e9edb32d planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit 954b2052cb74a0bc88f65df37f429ff27c45ea8f
devteam
parents: 13
diff changeset
763 <param name="own_file" value="bowtie2-ref.fasta" />
31
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
764 <output name="output" file="bowtie2-test1.bam" ftype="bam" lines_diff="4" sort="true">
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
765 <metadata name="sort_order" value="coordinate"/>
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
766 </output>
14
85f0e9edb32d planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit 954b2052cb74a0bc88f65df37f429ff27c45ea8f
devteam
parents: 13
diff changeset
767 </test>
24
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
768 <test expect_num_outputs="1">
17
69f044db2445 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 0f9578a65e86cc159aadf1a9b37aaf3621f19456
iuc
parents: 16
diff changeset
769 <!-- test on fasta paired-end datasets -->
16
def46fdb3909 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 5581ee25e468d4a1144ce6e5e511cb29cd51cf1f
iuc
parents: 15
diff changeset
770 <param name="type" value="paired"/>
def46fdb3909 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 5581ee25e468d4a1144ce6e5e511cb29cd51cf1f
iuc
parents: 15
diff changeset
771 <param name="paired_options_selector" value="no"/>
def46fdb3909 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 5581ee25e468d4a1144ce6e5e511cb29cd51cf1f
iuc
parents: 15
diff changeset
772 <param name="unaligned_file" value="false"/>
def46fdb3909 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 5581ee25e468d4a1144ce6e5e511cb29cd51cf1f
iuc
parents: 15
diff changeset
773 <param name="analysis_type_selector" value="simple"/>
def46fdb3909 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 5581ee25e468d4a1144ce6e5e511cb29cd51cf1f
iuc
parents: 15
diff changeset
774 <param name="source" value="history" />
def46fdb3909 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 5581ee25e468d4a1144ce6e5e511cb29cd51cf1f
iuc
parents: 15
diff changeset
775 <param name="input_1" value="bowtie2-fq1.fa" ftype="fasta"/>
def46fdb3909 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 5581ee25e468d4a1144ce6e5e511cb29cd51cf1f
iuc
parents: 15
diff changeset
776 <param name="input_2" value="bowtie2-fq2.fa" ftype="fasta"/>
def46fdb3909 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 5581ee25e468d4a1144ce6e5e511cb29cd51cf1f
iuc
parents: 15
diff changeset
777 <param name="own_file" value="bowtie2-ref.fasta" />
31
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
778 <output name="output" file="bowtie2-test_fasta_in.bam" ftype="bam" lines_diff="4" sort="true">
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
779 <metadata name="sort_order" value="coordinate"/>
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
780 </output>
16
def46fdb3909 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 5581ee25e468d4a1144ce6e5e511cb29cd51cf1f
iuc
parents: 15
diff changeset
781 </test>
24
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
782 <test expect_num_outputs="1">
22
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
783 <!-- test on fasta paired-end datasets with bam_native as output -->
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
784 <param name="type" value="paired"/>
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
785 <param name="paired_options_selector" value="no"/>
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
786 <param name="unaligned_file" value="false"/>
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
787 <param name="analysis_type_selector" value="simple"/>
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
788 <param name="source" value="history" />
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
789 <param name="input_1" value="bowtie2-fq1.fa" ftype="fasta"/>
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
790 <param name="input_2" value="bowtie2-fq2.fa" ftype="fasta"/>
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
791 <param name="own_file" value="bowtie2-ref.fasta" />
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
792 <param name="sam_options_selector" value="yes" />
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
793 <param name="reorder" value="true" />
31
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
794 <output name="output" file="bowtie2-test_fasta_in_bam_qname_input_sorted.bam" ftype="qname_input_sorted.bam" lines_diff="4">
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
795 <metadata name="sort_order" value="unsorted"/>
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
796 </output>
22
b2f8e8b8b9a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit fcc7b4c9511c40ae06cd88dfa308201f63d4ac32
iuc
parents: 21
diff changeset
797 </test>
24
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
798 <test expect_num_outputs="1">
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
799 <!-- test on fasta paired-end datasets with sam as output -->
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
800 <param name="type" value="paired"/>
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
801 <param name="paired_options_selector" value="no"/>
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
802 <param name="unaligned_file" value="false"/>
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
803 <param name="analysis_type_selector" value="simple"/>
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
804 <param name="source" value="history" />
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
805 <param name="input_1" value="bowtie2-fq1.fa" ftype="fasta"/>
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
806 <param name="input_2" value="bowtie2-fq2.fa" ftype="fasta"/>
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
807 <param name="own_file" value="bowtie2-ref.fasta" />
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
808 <param name="sam_options_selector" value="yes" />
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
809 <param name="sam_options|sam_opt" value="true" />
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
810 <output name="output" ftype="sam">
31
f66e4858ca26 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 30058304dcfa992f24eb7a0bdf81b280a69bea03
iuc
parents: 30
diff changeset
811 <metadata name="sort_order" value="unsorted"/>
24
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
812 <assert_contents>
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
813 <has_text text="M01368:8:000000000-A3GHV:1:1101:6911:8255" />
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
814 </assert_contents>
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
815 </output>
cd8b7d755af8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 2c7869d210d1316e0eb3c9e9f926e1f18332c1ac
iuc
parents: 23
diff changeset
816 </test>
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
817 </tests>
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
818 <help><![CDATA[
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
819 **Bowtie2 Overview**
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
820
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
821 Bowtie2_ is an ultrafast and memory-efficient tool for aligning sequencing reads to long reference sequences. It is particularly good at aligning reads of about 50 up to 100s or 1,000s of characters to relatively long (e.g. mammalian) genomes. Bowtie 2 supports gapped, local, and paired-end alignment modes. Galaxy wrapper for Bowtie 2 outputs alignments in `BAM format`_, enabling interoperation with a large number of other tools available at this site.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
822 Majority of information in this page is derived from an excellent `Bowtie2 manual`_ written by Ben Langmead.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
823
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
824 .. _Bowtie2: http://bowtie-bio.sourceforge.net/bowtie2/
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
825 .. _`Bowtie2 manual`: http://bowtie-bio.sourceforge.net/bowtie2/manual.shtml
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
826 .. _`BAM format`: http://samtools.github.io/hts-specs/SAMv1.pdf
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
827
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
828 -----
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
829
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
830 **Selecting reference genomes for Bowtie2**
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
831
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
832 Galaxy wrapper for Bowtie2 allows you select between precomputed and user-defined indices for reference genomes using **Will you select a reference genome from your history or use a built-in index?** flag. This flag has two options:
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
833
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
834 1. **Use a built-in genome index** - when selected (this is default), Galaxy provides the user with **Select reference genome index** dropdown. Genomes listed in this dropdown have been pre-indexed with bowtie2-build utility and are ready to be mapped against.
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
835 2. **Use a genome from the history and build index** - when selected, Galaxy provides the user with **Select reference genome sequence** dropdown. This dropdown is populated by all FASTA formatted files listed in your current history. If your genome of interest is uploaded into history it will be shown there. Selecting a genome from this dropdown will cause Galaxy to first transparently index it using bowtie2-build command, and then run mapping with bowtie2.
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
836
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
837 If your genome of interest is not listed here you have two choices:
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
838
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
839 1. Contact galaxy team using **Help->Support** link at the top of the interface and let us know that an index needs to be added
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
840 2. Upload your genome of interest as a FASTA file to Galaxy history and selected **Use a genome from the history and build index** option.
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
841
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
842 ------
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
843
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
844 .. class:: infomark
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
845
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
846 **Bowtie2 options**
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
847
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
848 Galaxy wrapper for Bowtie2 implements most but not all options available through the command line. Supported options are described below.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
849
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
850 -----
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
851
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
852 **Inputs**
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
853
15
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
854 Bowtie 2 accepts files in Sanger FASTQ format (single or paired-end). Paired-end data can represented as two individual (forward and reverse) datasets, as well as a single interleaved dataset (see an example at the end of the help section).
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
855
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
856 ------
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
857
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
858 **Input options**::
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
859
15
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
860 --interleaved
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
861 Reads interleaved FASTQ files where the first two records (8 lines) represent a mate pair.
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
862
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
863 -s/--skip <int>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
864 Skip (i.e. do not align) the first `<int>` reads or pairs in the input.
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
865
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
866 -u/--qupto <int>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
867 Align the first `<int>` reads or read pairs from the input (after the
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
868 `-s`/`--skip` reads or pairs have been skipped), then stop. Default: no limit.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
869
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
870 -5/--trim5 <int>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
871 Trim `<int>` bases from 5' (left) end of each read before alignment (default: 0).
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
872
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
873 -3/--trim3 <int>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
874 Trim `<int>` bases from 3' (right) end of each read before alignment (default: 0).
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
875
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
876 --phred33
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
877 Input qualities are ASCII chars equal to the Phred quality plus 33. This is
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
878 also called the "Phred+33" encoding, which is used by the very latest Illumina
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
879 pipelines.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
880
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
881 --phred64
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
882 Input qualities are ASCII chars equal to the Phred quality plus 64. This is
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
883 also called the "Phred+64" encoding.
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
884
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
885 --solexa-quals
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
886 Convert input qualities from Solexa Phred quality (which can be negative) to
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
887 Phred Phred quality (which can't). This scheme was used in older Illumina GA
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
888 Pipeline versions (prior to 1.3). Default: off.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
889
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
890 --int-quals
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
891 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`....
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
892 Integers are treated as being on the Phred quality scale unless
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
893 `--solexa-quals` is also specified. Default: off.
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
894
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
895 ------
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
896
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
897 **Presets in `--end-to-end` mode**::
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
898
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
899 --very-fast
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
900 Same as: `-D 5 -R 1 -N 0 -L 22 -i S,0,2.50`
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
901
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
902 --fast
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
903 Same as: `-D 10 -R 2 -N 0 -L 22 -i S,0,2.50`
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
904
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
905 --sensitive
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
906 Same as: `-D 15 -R 2 -L 22 -i S,1,1.15` (default in `--end-to-end` mode)
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
907
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
908 --very-sensitive
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
909 Same as: `-D 20 -R 3 -N 0 -L 20 -i S,1,0.50`
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
910
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
911 ------
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
912
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
913 **Presets options in `--local` mode**::
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
914
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
915 --very-fast-local
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
916 Same as: `-D 5 -R 1 -N 0 -L 25 -i S,1,2.00`
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
917
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
918 --fast-local
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
919 Same as: `-D 10 -R 2 -N 0 -L 22 -i S,1,1.75`
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
920
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
921 --sensitive-local
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
922 Same as: `-D 15 -R 2 -N 0 -L 20 -i S,1,0.75` (default in `--local` mode)
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
923
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
924 --very-sensitive-local
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
925 Same as: `-D 20 -R 3 -N 0 -L 20 -i S,1,0.50`
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
926
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
927 ------
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
928
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
929 **Alignment options**::
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
930
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
931 -N <int>
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
932 Sets the number of mismatches to allowed in a seed alignment during multiseed
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
933 alignment. Can be set to 0 or 1. Setting this higher makes alignment slower
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
934 (often much slower) but increases sensitivity. Default: 0.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
935
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
936 -L <int>
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
937 Sets the length of the seed substrings to align during multiseed alignment.
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
938 Smaller values make alignment slower but more sensitive. Default: the
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
939 `--sensitive` preset is used by default, which sets `-L` to 22 in
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
940 `--end-to-end` mode and to 20 in `--local` mode.
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
941
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
942 -i <func>
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
943 Sets a function governing the interval between seed substrings to use during
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
944 multiseed alignment. For instance, if the read has 30 characers, and seed
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
945 length is 10, and the seed interval is 6, the seeds extracted will be:
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
946
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
947 Read: TAGCTACGCTCTACGCTATCATGCATAAAC
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
948 Seed 1 fw: TAGCTACGCT
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
949 Seed 1 rc: AGCGTAGCTA
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
950 Seed 2 fw: CGCTCTACGC
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
951 Seed 2 rc: GCGTAGAGCG
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
952 Seed 3 fw: ACGCTATCAT
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
953 Seed 3 rc: ATGATAGCGT
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
954 Seed 4 fw: TCATGCATAA
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
955 Seed 4 rc: TTATGCATGA
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
956
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
957 Since it's best to use longer intervals for longer reads, this parameter sets
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
958 the interval as a function of the read length, rather than a single
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
959 one-size-fits-all number. For instance, specifying `-i S,1,2.5` sets the
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
960 interval function `f` to `f(x) = 1 + 2.5 * sqrt(x)`, where x is the read length.
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
961 If the function returns a result less than
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
962 1, it is rounded up to 1. Default: the `--sensitive` preset is used by
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
963 default, which sets `-i` to `S,1,1.15` in `--end-to-end` mode to `-i S,1,0.75`
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
964 in `--local` mode.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
965
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
966 --n-ceil <func>
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
967 Sets a function governing the maximum number of ambiguous characters (usually
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
968 `N`s and/or `.`s) allowed in a read as a function of read length. For instance,
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
969 specifying `-L,0,0.15` sets the N-ceiling function `f` to `f(x) = 0 + 0.15 * x`,
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
970 where x is the read length. Reads exceeding this ceiling are filtered out.
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
971 Default: `L,0,0.15`.
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
972
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
973 --dpad <int>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
974 "Pads" dynamic programming problems by `<int>` columns on either side to allow
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
975 gaps. Default: 15.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
976
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
977 --gbar <int>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
978 Disallow gaps within `<int>` positions of the beginning or end of the read.
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
979 Default: 4.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
980
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
981 --ignore-quals
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
982 When calculating a mismatch penalty, always consider the quality value at the
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
983 mismatched position to be the highest possible, regardless of the actual value.
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
984 I.e. input is treated as though all quality values are high. This is also the
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
985 default behavior when the input doesn't specify quality values (e.g. in `-f`,
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
986 `-r`, or `-c` modes).
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
987
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
988 --nofw/--norc
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
989 If `--nofw` is specified, `bowtie2` will not attempt to align unpaired reads to
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
990 the forward (Watson) reference strand. If `--norc` is specified, `bowtie2` will
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
991 not attempt to align unpaired reads against the reverse-complement (Crick)
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
992 reference strand. In paired-end mode, `--nofw` and `--norc` pertain to the
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
993 fragments; i.e. specifying `--nofw` causes `bowtie2` to explore only those
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
994 paired-end configurations corresponding to fragments from the reverse-complement
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
995 (Crick) strand. Default: both strands enabled.
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
996
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
997 --no-1mm-upfront
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
998 By default, Bowtie 2 will attempt to find either an exact or a 1-mismatch
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
999 end-to-end alignment for the read *before* trying the multiseed heuristic. Such
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1000 alignments can be found very quickly, and many short read alignments have exact or
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1001 near-exact end-to-end alignments. However, this can lead to unexpected
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
1002 alignments when the user also sets options governing the multiseed heuristic,
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1003 like `-L` and `-N`. For instance, if the user specifies `-N 0` and `-L` equal
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1004 to the length of the read, the user will be surprised to find 1-mismatch alignments
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1005 reported. This option prevents Bowtie 2 from searching for 1-mismatch end-to-end
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
1006 alignments before using the multiseed heuristic, which leads to the expected
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1007 behavior when combined with options such as `-L` and `-N`. This comes at the
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1008 expense of speed.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1009
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1010 --end-to-end
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1011 In this mode, Bowtie 2 requires that the entire read align from one end to the
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1012 other, without any trimming (or "soft clipping") of characters from either end.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1013 The match bonus `--ma` always equals 0 in this mode, so all alignment scores
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1014 are less than or equal to 0, and the greatest possible alignment score is 0.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1015 This is mutually exclusive with `--local`. `--end-to-end` is the default mode.
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
1016
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1017 --local
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1018 In this mode, Bowtie 2 does not require that the entire read align from one end
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1019 to the other. Rather, some characters may be omitted ("soft clipped") from the
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1020 ends in order to achieve the greatest possible alignment score. The match bonus
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1021 `--ma` is used in this mode, and the best possible alignment score is equal to
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1022 the match bonus (`--ma`) times the length of the read. Specifying `--local`
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1023 and one of the presets (e.g. `--local --very-fast`) is equivalent to specifying
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1024 the local version of the preset (`--very-fast-local`). This is mutually
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1025 exclusive with `--end-to-end`. `--end-to-end` is the default mode.
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1026
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1027 -----
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1028
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1029 **Scoring options**::
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1030
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1031 --ma <int>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1032 Sets the match bonus. In `--local` mode `<int>` is added to the alignment
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1033 score for each position where a read character aligns to a reference character
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1034 and the characters match. Not used in `--end-to-end` mode. Default: 2.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1035
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1036 --mp MX,MN
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1037 Sets the maximum (`MX`) and minimum (`MN`) mismatch penalties, both integers. A
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1038 number less than or equal to `MX` and greater than or equal to `MN` is
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1039 subtracted from the alignment score for each position where a read character
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1040 aligns to a reference character, the characters do not match, and neither is an
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1041 `N`. If `--ignore-quals` is specified, the number subtracted quals `MX`.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1042 Otherwise, the number subtracted is `MN + floor( (MX-MN)(MIN(Q, 40.0)/40.0) )`
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1043 where Q is the Phred quality value. Default: `MX` = 6, `MN` = 2.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1044
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1045 --np <int>
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1046 Sets penalty for positions where the read, reference, or both, contain an
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1047 ambiguous character such as `N`. Default: 1.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1048
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1049 --rdg <int1>,<int2>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1050 Sets the read gap open (`<int1>`) and extend (`<int2>`) penalties. A read gap of
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1051 length N gets a penalty of `<int1>` + N * `<int2>`. Default: 5, 3.
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1052
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1053 --rfg <int1>,<int2>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1054 Sets the reference gap open (`<int1>`) and extend (`<int2>`) penalties. A
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1055 reference gap of length N gets a penalty of `<int1>` + N * `<int2>`. Default:
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1056 5, 3.
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
1057
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1058 --score-min <func>
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1059 Sets a function governing the minimum alignment score needed for an alignment to
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1060 be considered "valid" (i.e. good enough to report). This is a function of read
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1061 length. For instance, specifying `L,0,-0.6` sets the minimum-score function `f`
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
1062 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
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1063 the default in `--local` mode is `G,20,8`.
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1064
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1065 -----
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1066
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1067 **Reporting options**::
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1068
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1069 -k <int>
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1070 By default, `bowtie2` searches for distinct, valid alignments for each read.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1071 When it finds a valid alignment, it continues looking for alignments that are
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1072 nearly as good or better. The best alignment found is reported (randomly
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1073 selected from among best if tied). Information about the best alignments is
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1074 used to estimate mapping quality and to set SAM optional fields, such as
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1075 `AS:i` and `XS:i`.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1076
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1077 When `-k` is specified, however, `bowtie2` behaves differently. Instead, it
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1078 searches for at most `<int>` distinct, valid alignments for each read. The
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1079 search terminates when it can't find more distinct valid alignments, or when it
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1080 finds `<int>`, whichever happens first. All alignments found are reported in
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1081 descending order by alignment score. The alignment score for a paired-end
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1082 alignment equals the sum of the alignment scores of the individual mates. Each
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1083 reported read or pair alignment beyond the first has the SAM 'secondary' bit
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1084 (which equals 256) set in its FLAGS field. For reads that have more than
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1085 `<int>` distinct, valid alignments, `bowtie2` does not guarantee that the
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1086 `<int>` alignments reported are the best possible in terms of alignment score.
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1087 `-k` is mutually exclusive with `-a`.
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
1088
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1089 Note: Bowtie 2 is not designed with large values for `-k` in mind, and when
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1090 aligning reads to long, repetitive genomes large `-k` can be very, very slow.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1091
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1092 -a
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1093 Like `-k` but with no upper limit on number of alignments to search for. `-a`
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1094 is mutually exclusive with `-k`.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1095
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1096 Note: Bowtie 2 is not designed with `-a` mode in mind, and when
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1097 aligning reads to long, repetitive genomes this mode can be very, very slow.
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1098
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1099 -----
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1100
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1101 **Effort options**::
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1102
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1103 -D <int>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1104 Up to `<int>` consecutive seed extension attempts can "fail" before Bowtie 2
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1105 moves on, using the alignments found so far. A seed extension "fails" if it
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1106 does not yield a new best or a new second-best alignment. This limit is
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1107 automatically adjusted up when -k or -a are specified. Default: 15.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1108
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1109 -R <int>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1110 `<int>` is the maximum number of times Bowtie 2 will "re-seed" reads with
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1111 repetitive seeds. When "re-seeding," Bowtie 2 simply chooses a new set of reads
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1112 (same length, same number of mismatches allowed) at different offsets and
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1113 searches for more alignments. A read is considered to have repetitive seeds if
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1114 the total number of seed hits divided by the number of seeds that aligned at
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1115 least once is greater than 300. Default: 2.
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1116
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1117 -----
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1118
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1119 **Paired-end options**::
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
1120
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1121 -I/--minins <int>
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1122 The minimum fragment length for valid paired-end alignments. E.g. if `-I 60` is
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1123 specified and a paired-end alignment consists of two 20-bp alignments in the
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1124 appropriate orientation with a 20-bp gap between them, that alignment is
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1125 considered valid (as long as `-X` is also satisfied). A 19-bp gap would not
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1126 be valid in that case. If trimming options `-3` or `-5` are also used, the
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1127 `-I` constraint is applied with respect to the untrimmed mates.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1128
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1129 The larger the difference between `-I` and `-X`, the slower Bowtie 2 will
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1130 run. This is because larger differences bewteen `-I` and `-X` require that
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1131 Bowtie 2 scan a larger window to determine if a concordant alignment exists.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1132 For typical fragment length ranges (200 to 400 nucleotides), Bowtie 2 is very
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1133 efficient.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1134
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1135 Default: 0 (essentially imposing no minimum)
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1136
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1137 -X/--maxins <int>
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1138 The maximum fragment length for valid paired-end alignments. E.g. if `-X 100`
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1139 is specified and a paired-end alignment consists of two 20-bp alignments in the
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1140 proper orientation with a 60-bp gap between them, that alignment is considered
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1141 valid (as long as `-I` is also satisfied). A 61-bp gap would not be valid in
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1142 that case. If trimming options `-3` or `-5` are also used, the `-X`
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1143 constraint is applied with respect to the untrimmed mates, not the trimmed
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1144 mates.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1145
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1146 The larger the difference between `-I` and `-X`, the slower Bowtie 2 will
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1147 run. This is because larger differences bewteen `-I` and `-X` require that
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1148 Bowtie 2 scan a larger window to determine if a concordant alignment exists.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1149 For typical fragment length ranges (200 to 400 nucleotides), Bowtie 2 is very
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1150 efficient.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1151
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1152 Default: 500.
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
1153
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1154 --fr/--rf/--ff
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1155 The upstream/downstream mate orientations for a valid paired-end alignment
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1156 against the forward reference strand. E.g., if `--fr` is specified and there is
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1157 a candidate paired-end alignment where mate 1 appears upstream of the reverse
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1158 complement of mate 2 and the fragment length constraints (`-I` and `-X`) are
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1159 met, that alignment is valid. Also, if mate 2 appears upstream of the reverse
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1160 complement of mate 1 and all other constraints are met, that too is valid.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1161 `--rf` likewise requires that an upstream mate1 be reverse-complemented and a
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1162 downstream mate2 be forward-oriented. ` --ff` requires both an upstream mate 1
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1163 and a downstream mate 2 to be forward-oriented. Default: `--fr` (appropriate
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1164 for Illumina's Paired-end Sequencing Assay).
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1165
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1166 --no-mixed
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1167 By default, when `bowtie2` cannot find a concordant or discordant alignment for
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1168 a pair, it then tries to find alignments for the individual mates. This option
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1169 disables that behavior.
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
1170
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1171 --no-discordant
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1172 By default, `bowtie2` looks for discordant alignments if it cannot find any
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1173 concordant alignments. A discordant alignment is an alignment where both mates
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1174 align uniquely, but that does not satisfy the paired-end constraints
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1175 (`--fr`/`--rf`/`--ff`, `-I`, `-X`). This option disables that behavior.
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1176
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1177 --dovetail
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1178 If the mates "dovetail", that is if one mate alignment extends past the
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1179 beginning of the other such that the wrong mate begins upstream, consider that
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
1180 to be concordant. Default: mates cannot dovetail in a concordant alignment.
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1181
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1182 --no-contain
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1183 If one mate alignment contains the other, consider that to be non-concordant.
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
1184 Default: a mate can contain the other in a concordant alignment.
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1185
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1186 --no-overlap
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1187 If one mate alignment overlaps the other at all, consider that to be
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
1188 non-concordant. Default: mates can overlap in a concordant alignment.
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1189
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
1190 ------
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
1191
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1192 **SAM options**::
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
1193
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1194 --rg-id <text>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1195 Set the read group ID to `<text>`. This causes the SAM `@RG` header line to be
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1196 printed, with `<text>` as the value associated with the `ID:` tag. It also
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1197 causes the `RG:Z:` extra field to be attached to each SAM output record, with
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1198 value set to `<text>`.
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
1199
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1200 --rg <text>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1201 Add `<text>` (usually of the form `TAG:VAL`, e.g. `SM:Pool1`) as a field on the
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1202 `@RG` header line. Note: in order for the `@RG` line to appear, `--rg-id`
5
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
1203 must also be specified. This is because the `ID` tag is required by the SAM
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
1204 Specification. Specify `--rg` multiple times to set multiple fields. See the
5cfa4b6db588 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
1205 SAM Specification for details about what fields are legal.
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
1206
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1207 --omit-sec-seq
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1208 When printing secondary alignments, Bowtie 2 by default will write out the `SEQ`
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1209 and `QUAL` strings. Specifying this option causes Bowtie 2 to print an asterix
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1210 in those fields instead.
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1211
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1212 -----
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
1213
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1214 **Other options**::
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
1215
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1216 --reorder
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1217 Guarantees that output SAM records are printed in an order corresponding to the
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1218 order of the reads in the original input file, even when `-p` is set greater
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1219 than 1. Specifying `--reorder` and setting `-p` greater than 1 causes Bowtie
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1220 2 to run somewhat slower and use somewhat more memory then if `--reorder` were
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1221 not specified. Has no effect if `-p` is set to 1, since output order will
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1222 naturally correspond to input order in that case.
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
1223
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1224 --seed <int>
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1225 Use `<int>` as the seed for pseudo-random number generator. Default: 0.
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
1226
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1227 --non-deterministic
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1228 Normally, Bowtie 2 re-initializes its pseudo-random generator for each read. It
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1229 seeds the generator with a number derived from (a) the read name, (b) the
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1230 nucleotide sequence, (c) the quality sequence, (d) the value of the `--seed`
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1231 option. This means that if two reads are identical (same name, same
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1232 nucleotides, same qualities) Bowtie 2 will find and report the same alignment(s)
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1233 for both, even if there was ambiguity. When `--non-deterministic` is specified,
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1234 Bowtie 2 re-initializes its pseudo-random generator for each read using the
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1235 current time. This means that Bowtie 2 will not necessarily report the same
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1236 alignment for two identical reads. This is counter-intuitive for some users,
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1237 but might be more appropriate in situations where the input consists of many
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1238 identical reads.
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
1239
15
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1240 -----
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1241
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1242
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1243 **Paired-end (and mate-pair) data in fastq format**
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1244
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1245 Paired end datasets can be represented as two individual datasets:
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1246
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1247 First dataset::
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1248
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1249 @1/1
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1250 AGGGATGTGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTA
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1251 +
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1252 EGGEGGGDFGEEEAEECGDEGGFEEGEFGBEEDDECFEFDD@CDD<ED
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1253 @2/1
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1254 AGGGATGTGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTA
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1255 +
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1256 HHHHHHEGFHEEFEEHEEHHGGEGGGGEFGFGGGGHHHHFBEEEEEFG
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1257
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1258 Second dataset::
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1259
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1260 @1/2
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1261 CCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAAC
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1262 +
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1263 GHHHDFDFGFGEGFBGEGGEGEGGGHGFGHFHFHHHHHHHEF?EFEFF
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1264 @2/2
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1265 CCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAAC
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1266 +
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1267 HHHHHHHHHHHHHGHHHHHHGHHHHHHHHHHHFHHHFHHHHHHHHHHH
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1268
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1269 Or a single *interleaved* dataset::
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1270
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1271 @1/1
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1272 AGGGATGTGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTA
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1273 +
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1274 EGGEGGGDFGEEEAEECGDEGGFEEGEFGBEEDDECFEFDD@CDD<ED
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1275 @1/2
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1276 CCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAAC
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1277 +
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1278 GHHHDFDFGFGEGFBGEGGEGEGGGHGFGHFHFHHHHHHHEF?EFEFF
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1279 @2/1
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1280 AGGGATGTGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTA
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1281 +
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1282 HHHHHHEGFHEEFEEHEEHHGGEGGGGEFGFGGGGHHHHFBEEEEEFG
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1283 @2/2
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1284 CCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAAC
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1285 +
7e0b333f39e1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents: 14
diff changeset
1286 HHHHHHHHHHHHHGHHHHHHGHHHHHHHHHHHFHHHFHHHHHHHHHHH
11
fa69d5a7b8c8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit d0e857ba2691ca15b6239890baf98dbe7bc3ccbd
devteam
parents: 10
diff changeset
1287 ]]></help>
2
2a6cfe8997aa Uploaded from GH
devteam
parents: 1
diff changeset
1288 <citations>
17
69f044db2445 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 0f9578a65e86cc159aadf1a9b37aaf3621f19456
iuc
parents: 16
diff changeset
1289 <citation type="doi">10.1186/gb-2009-10-3-r25</citation>
69f044db2445 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 0f9578a65e86cc159aadf1a9b37aaf3621f19456
iuc
parents: 16
diff changeset
1290 <citation type="doi">10.1038/nmeth.1923</citation>
69f044db2445 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 0f9578a65e86cc159aadf1a9b37aaf3621f19456
iuc
parents: 16
diff changeset
1291 </citations>
0
a03a7ee6cdff Imported from capsule None
devteam
parents:
diff changeset
1292 </tool>