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