annotate bwa-mem.xml @ 17:23e88ff6c494 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
author iuc
date Wed, 19 Mar 2025 17:24:58 +0000
parents 22b497739c9c
children 52f5f04041f2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
1 <?xml version="1.0"?>
17
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
2 <tool id="bwa_mem" name="Map with BWA-MEM" version="@TOOL_VERSION@" profile="22.05">
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
3 <description>- map medium and long reads (&gt; 100 bp) against reference genome</description>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
4 <macros>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
5 <import>read_group_macros.xml</import>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
6 <import>bwa_macros.xml</import>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
7 </macros>
17
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
8 <expand macro="bio_tools"/>
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
9 <expand macro="requirements">
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
10 <requirement type="package" version="1.13">samtools</requirement>
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
11 </expand>
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
12 <expand macro="stdio"/>
10
29299da15326 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 4a306ebd8b7808ce963a69a3b15dd860c1fde585
iuc
parents: 8
diff changeset
13 <command><![CDATA[
11
6def3ba376a7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 9bbf35d7f47e5ab6b78248c9907b71446d4e7b0c
iuc
parents: 10
diff changeset
14 @pipefail@
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
15 @set_reference_fasta_filename@
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
16
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
17 ## Begin BWA-MEM command line
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
18
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
19 bwa mem
14
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
20
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
21 #if str( $output_sort ) == "unsorted":
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
22 -t 1
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
23 #else
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
24 -t "\${GALAXY_SLOTS:-1}"
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
25 #end if
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
26 ## Verbosity is set to 1 (errors only)
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
27 -v 1
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
28
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
29 #if str( $fastq_input.fastq_input_selector ) == "paired_iv":
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
30 ## For interleaved fastq files set -p option
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
31 -p
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
32 ## check that insert statistics is used
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
33 #if str( $fastq_input.iset_stats ):
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
34 -I '${fastq_input.iset_stats}'
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
35 #end if
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
36 #end if
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
37
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
38 #if str( $analysis_type.analysis_type_selector ) not in ["illumina", "full"]:
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
39 -x '$analysis_type.analysis_type_selector'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
40 #elif str( $analysis_type.analysis_type_selector ) == "full":
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
41 ## Algorithmic options
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
42 #if str( $analysis_type.algorithmic_options.algorithmic_options_selector ) == "set":
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
43 -k '${analysis_type.algorithmic_options.k}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
44 -w '${analysis_type.algorithmic_options.w}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
45 -d '${analysis_type.algorithmic_options.d}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
46 -r '${analysis_type.algorithmic_options.r}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
47 -y '${analysis_type.algorithmic_options.y}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
48 -c '${analysis_type.algorithmic_options.c}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
49 -D '${analysis_type.algorithmic_options.D}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
50 -W '${analysis_type.algorithmic_options.W}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
51 -m '${analysis_type.algorithmic_options.m}'
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
52 ${analysis_type.algorithmic_options.S}
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
53 ${analysis_type.algorithmic_options.P}
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
54 ${analysis_type.algorithmic_options.e}
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
55 #end if
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
56
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
57 ## Scoring options
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
58 #if str( $analysis_type.scoring_options.scoring_options_selector ) == "set":
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
59 -A '${analysis_type.scoring_options.A}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
60 -B '${analysis_type.scoring_options.B}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
61 -O '${analysis_type.scoring_options.O}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
62 -E '${analysis_type.scoring_options.E}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
63 -L '${analysis_type.scoring_options.L}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
64 -U '${analysis_type.scoring_options.U}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
65 #end if
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
66
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
67 ## IO options
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
68 #if str( $analysis_type.io_options.io_options_selector ) == "set":
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
69 -T '${analysis_type.io_options.T}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
70 -h '${analysis_type.io_options.h}'
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
71 ${analysis_type.io_options.a}
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
72 ${analysis_type.io_options.C}
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
73 ${analysis_type.io_options.V}
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
74 ${analysis_type.io_options.Y}
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
75 ${analysis_type.io_options.M}
5
b59a6178a6e0 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit dead2eaab58698fe02b8bb068f8d859eba551e8d
devteam
parents: 4
diff changeset
76 ${analysis_type.io_options.five}
6
a4d167793afa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit e1191c87a0fccfafa0f23c3bd09f416a6700b387
devteam
parents: 5
diff changeset
77 ${analysis_type.io_options.q}
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
78 #end if
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
79
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
80 #end if
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
81
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
82 ## Handle read group options...
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
83 @define_read_group_helpers@
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
84 #if str( $fastq_input.fastq_input_selector ) == "paired":
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
85 #set $rg_auto_name = $read_group_name_default($fastq_input.fastq_input1, $fastq_input.fastq_input2)
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
86 #else:
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
87 #set $rg_auto_name = $read_group_name_default($fastq_input.fastq_input1)
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
88 #end if
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
89 @set_use_rg_var@
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
90 @set_read_group_vars@
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
91 #if $use_rg
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
92 @set_rg_string@
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
93 -R '$rg_string'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
94 #end if
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
95
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
96 #if str( $fastq_input.fastq_input_selector ) == "paired":
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
97 ## check that insert statistics is used
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
98 #if str( $fastq_input.iset_stats ):
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
99 -I '${fastq_input.iset_stats}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
100 #end if
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
101
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
102 '${reference_fasta_filename}'
17
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
103 '${fastq_input.fastq_input1}'
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
104 '${fastq_input.fastq_input2}'
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
105 #elif str( $fastq_input.fastq_input_selector ) == "paired_collection":
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
106 ## check that insert statistics is used
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
107 #if str( $fastq_input.iset_stats ):
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
108 -I '${fastq_input.iset_stats}'
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
109 #end if
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
110
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
111 '${reference_fasta_filename}'
17
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
112 '${fastq_input.fastq_input1.forward}'
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
113 '${fastq_input.fastq_input1.reverse}'
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
114 #else:
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
115 '${reference_fasta_filename}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
116 '${fastq_input.fastq_input1}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
117 #end if
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
118
14
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
119 #if str( $output_sort ) == "coordinate":
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
120 | samtools sort -@\${GALAXY_SLOTS:-2} -T "\${TMPDIR:-.}" -O bam -o '$bam_output'
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
121 #elif str( $output_sort ) == "name":
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
122 | samtools sort -n -@\${GALAXY_SLOTS:-2} -T "\${TMPDIR:-.}" -O bam -o '$bam_output'
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
123 #else
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
124 | samtools view -@ \${GALAXY_SLOTS:-2} -bS - -o '$bam_output'
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
125 #end if
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
126
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
127
10
29299da15326 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 4a306ebd8b7808ce963a69a3b15dd860c1fde585
iuc
parents: 8
diff changeset
128 ]]></command>
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
129
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
130 <inputs>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
131 <expand macro="reference_source_conditional" />
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
132 <conditional name="fastq_input">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
133 <param name="fastq_input_selector" type="select" label="Single or Paired-end reads" help="Select between paired and single end data">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
134 <option value="paired">Paired</option>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
135 <option value="single">Single</option>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
136 <option value="paired_collection">Paired Collection</option>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
137 <option value="paired_iv">Paired Interleaved</option>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
138 </param>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
139 <when value="paired">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
140 <param name="fastq_input1" type="data" format="fastqsanger,fastqsanger.gz,fasta" label="Select first set of reads" help="Specify dataset with forward reads"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
141 <param name="fastq_input2" type="data" format="fastqsanger,fastqsanger.gz,fasta" label="Select second set of reads" help="Specify dataset with reverse reads"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
142 <param name="iset_stats" type="text" optional="True" label="Enter mean, standard deviation, max, and min for insert lengths." help="-I; This parameter is only used for paired reads. Only mean is required while sd, max, and min will be inferred. Examples: both &quot;250&quot; and &quot;250,25&quot; will work while &quot;250,,10&quot; will not. See below for details.">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
143 <sanitizer invalid_char="">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
144 <valid initial="string.digits"><add value=","/> </valid>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
145 </sanitizer>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
146 </param>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
147 </when>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
148 <when value="single">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
149 <param name="fastq_input1" type="data" format="fastqsanger,fastqsanger.gz,fasta" label="Select fastq dataset" help="Specify dataset with single reads"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
150 </when>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
151 <when value="paired_collection">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
152 <param name="fastq_input1" format="fastqsanger,fastqsanger.gz,fasta" type="data_collection" collection_type="paired" label="Select a paired collection" help="See help section for an explanation of dataset collections"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
153 <param name="iset_stats" type="text" optional="True" label="Enter mean, standard deviation, max, and min for insert lengths." help="-I; This parameter is only used for paired reads. Only mean is required while sd, max, and min will be inferred. Examples: both &quot;250&quot; and &quot;250,25&quot; will work while &quot;250,,10&quot; will not. See below for details.">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
154 <sanitizer invalid_char="">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
155 <valid initial="string.digits"><add value=","/> </valid>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
156 </sanitizer>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
157 </param>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
158 </when>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
159 <when value="paired_iv">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
160 <param name="fastq_input1" type="data" format="fastqsanger,fastqsanger.gz,fasta" label="Select fastq dataset" help="Specify dataset with interleaved reads"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
161 <param name="iset_stats" type="text" optional="True" label="Enter mean, standard deviation, max, and min for insert lengths." help="-I; This parameter is only used for paired reads. Only mean is required while sd, max, and min will be inferred. Examples: both &quot;250&quot; and &quot;250,25&quot; will work while &quot;250,,10&quot; will not. See below for details.">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
162 <sanitizer invalid_char="">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
163 <valid initial="string.digits"><add value=","/> </valid>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
164 </sanitizer>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
165 </param>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
166 </when>
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
167 </conditional>
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
168
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
169 <expand macro="read_group_conditional" />
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
170
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
171 <conditional name="analysis_type">
17
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
172 <param name="analysis_type_selector" type="select" label="Select analysis mode" help="Please note that minimap2 is recommended over BWA as the aligner for long-read or contig data, for which it outperforms BWA in speed and typically in accuracy (see tool help below).">
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
173 <option value="illumina">1.Simple Illumina mode</option>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
174 <option value="pacbio">2.PacBio mode (-x pacbio)</option>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
175 <option value="ont2d">3.Nanopore 2D-reads mode (-x ont2d)</option>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
176 <option value="intractg">4.Intra-species contigs mode (-x intractg)</option>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
177 <option value="full">5.Full list of options</option>
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
178 </param>
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
179 <when value="illumina">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
180 <!-- do nothing -->
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
181 </when>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
182 <when value="pacbio">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
183 <!-- do nothing. all magic happens within <command> tag -->
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
184 </when>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
185 <when value="ont2d">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
186 <!-- do nothing. all magic happens within <command> tag -->
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
187 </when>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
188 <when value="intractg">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
189 <!-- do nothing. all magic happens within <command> tag -->
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
190 </when>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
191 <when value="full">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
192 <conditional name="algorithmic_options">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
193 <param name="algorithmic_options_selector" type="select" label="Set algorithmic options?" help="Sets -k, -w, -d, -r, -y, -c, -D, -W, -m, -S, -P, and -e options.">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
194 <option value="set">Set</option>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
195 <option value="do_not_set" selected="True">Do not set</option>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
196 </param>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
197 <when value="set">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
198 <param name="k" type="integer" value="19" label="Minimum seed length" help="-k; default=19"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
199 <param name="w" type="integer" value="100" label="Band width for banded alignment" help="-w; default=100"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
200 <param name="d" type="integer" value="100" label="Off-diagonal X-dropoff" help="-d; default=100"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
201 <param name="r" type="float" value="1.5" label="Look for internal seeds inside a seed longer than -k * THIS VALUE" help="-r; default=1.5; This is a key heuristic parameter for tuning the performance. Larger value yields fewer seeds, which leads to faster alignment speed but lower accuracy" />
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
202 <param name="y" type="integer" value="20" label="Seed occurrence for the 3rd round seeding" help="-y; default=20" />
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
203 <param name="c" type="integer" value="500" label="Skip seeds with more than that many occurrences" help="-c; default=500"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
204 <param name="D" type="float" value="0.5" label="Drop chains shorter than this fraction of the longest overlapping chain" help="-D; default=0.5"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
205 <param name="W" type="integer" value="0" label="Discard a chain if seeded bases shorter than THIS VALUE" help="-W; default=0"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
206 <param name="m" type="integer" value="50" label="Perform at most this many rounds of mate rescues for each read" help="-m; default=50"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
207 <param name="S" type="boolean" truevalue="-S" falsevalue="" label="Skip mate rescue" help="-S"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
208 <param name="P" type="boolean" truevalue="-P" falsevalue="" label="Skip pairing; mate rescue performed unless -S also in use" help="-P"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
209 <param name="e" type="boolean" truevalue="-e" falsevalue="" label="Discard full-length exact matches" help="-e"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
210 </when>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
211 <when value="do_not_set">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
212 <!-- do nothing -->
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
213 </when>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
214 </conditional>
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
215
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
216 <conditional name="scoring_options">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
217 <param name="scoring_options_selector" type="select" label="Set scoring options?" help="Sets -A, -B, -O, -E, -L, and -U options.">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
218 <option value="set">Set</option>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
219 <option value="do_not_set" selected="True">Do not set</option>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
220 </param>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
221 <when value="set">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
222 <param name="A" type="integer" value="1" label="Score for a sequence match" help="-A; scales options -T, -d, -B, -O, -E, -L, and -U unless overridden; default=1"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
223 <param name="B" type="integer" value="4" label="Penalty for a mismatch" help="-B; default=4"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
224 <param name="O" type="text" value="6,6" label="Gap open penalties for deletions and insertions" help="-O; default=6,6">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
225 <sanitizer invalid_char="">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
226 <valid initial="string.digits"><add value=","/> </valid>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
227 </sanitizer>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
228 </param>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
229 <param name="E" type="text" value="1,1" label="Gap extension penalties; a gap of size k cost &#39;-O + -E*k&#39;. If two numbers are specified, the first is the penalty of extending a deletion and the second for extending an insertion" help="-E; default=1,1">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
230 <sanitizer invalid_char="">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
231 <valid initial="string.digits"><add value=","/> </valid>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
232 </sanitizer>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
233 </param>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
234 <param name="L" type="text" value="5,5" label="Penalties for 5&#39;-end and 3&#39;-end clipping" help="-L; default=5,5; When performing Smith-Waterman extension, BWA-MEM keeps track of the best score reaching the end of query. If this score is larger than the best Smith-Waterman score minus the clipping penalty, clipping will not be applied. Note that in this case, the SAM AS tag reports the best Smith-Waterman score; clipping penalty is not deduced">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
235 <sanitizer invalid_char="">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
236 <valid initial="string.digits"><add value=","/> </valid>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
237 </sanitizer>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
238 </param>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
239 <param name="U" type="integer" value="17" label="Penalty for an unpaired read pair" help="-U; default=17"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
240 </when>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
241 <when value="do_not_set">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
242 <!-- do nothing -->
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
243 </when>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
244 </conditional>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
245
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
246 <conditional name="io_options">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
247 <param name="io_options_selector" type="select" label="Set input/output options" help="Sets -T, -h, -a, -C, -V, -Y, and -M options.">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
248 <option value="set">Set</option>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
249 <option value="do_not_set" selected="True">Do not set</option>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
250 </param>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
251 <when value="set">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
252 <param name="five" argument="-5" type="boolean" truevalue="-5" falsevalue="" label="For split alignment, take alignment with smallest coordinate as primary" help="Useful for HiC data"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
253 <param argument="-q" type="boolean" truevalue="-q" falsevalue="" label="Don't lower MAPQ for split alignment" help="By default the MAPQ score of a supplementary alignment will be lowered to the primary alignment score."/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
254 <param name="T" type="integer" value="30" label="Minimum score to output" help="-T; default=30"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
255 <param name="h" type="integer" value="5" label="If there are less than THIS VALUE hits with score &gt;80% of the max score, output them all in the XA tag" help="-h; default=5" />
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
256 <param name="a" type="boolean" truevalue="-a" falsevalue="" label="Output all alignments for single-ends or unpaired paired-ends" help="-a; These alignments will be flagged as secondary alignments"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
257 <param name="C" type="boolean" truevalue="-C" falsevalue="" label="Append FASTA/FASTQ comment to BAM output" help="-C"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
258 <param name="V" type="boolean" truevalue="-V" falsevalue="" label="Output the reference FASTA header in the XR tag" help="-C"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
259 <param name="Y" type="boolean" truevalue="-Y" falsevalue="" label="Use soft clipping for supplementary alignments" help="-Y; By default, BWA-MEM uses soft clipping for the primary alignment and hard clipping for supplementary alignments" />
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
260 <param name="M" type="boolean" truevalue="-M" falsevalue="" label="Mark shorter split hits of a chimeric alignment in the FLAG field as 'secondary alignment' instead of 'supplementary alignment'" help="-M; For Picard&lt;1.96 compatibility" />
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
261 </when>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
262 <when value="do_not_set">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
263 <!-- do nothing -->
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
264 </when>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
265 </conditional>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
266 </when>
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
267 </conditional>
14
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
268 <param name="output_sort" type="select" label="BAM sorting mode" help="The 'Not sorted' option can extend the run time of the tool significantly (cause it requires running on only a single thread).">
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
269 <option value="coordinate" selected="True">Sort by chromosomal coordinates</option>
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
270 <option value="name">Sort by read names (i.e., the QNAME field) </option>
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
271 <option value="unsorted">Not sorted (sorted as input)</option>
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
272 </param>
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
273 </inputs>
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
274
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
275 <outputs>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
276 <data format="bam" name="bam_output" label="${tool.name} on ${on_string} (mapped reads in BAM format)">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
277 <expand macro="dbKeyActionsBwaMem" />
14
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
278 <change_format>
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
279 <when input="output_sort" value="name" format="qname_sorted.bam" />
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
280 <when input="output_sort" value="unsorted" format="qname_input_sorted.bam" />
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
281 </change_format>
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
282 </data>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
283 </outputs>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
284 <tests>
17
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
285 <!-- `samtools sort` in the new update adds PG lines to the output so the lines_diff is changed from "2" to "4" -->
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
286 <test expect_num_outputs="1">
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
287 <param name="reference_source_selector" value="history" />
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
288 <param name="ref_file" ftype="fasta" value="bwa-mem-mt-genome.fa"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
289 <param name="fastq_input_selector" value="paired"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
290 <param name="fastq_input1" ftype="fastqsanger" value="bwa-mem-fastq1.fq"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
291 <param name="fastq_input2" ftype="fastqsanger" value="bwa-mem-fastq2.fq"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
292 <param name="analysis_type_selector" value="illumina"/>
17
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
293 <output name="bam_output" ftype="bam" file="bwa-mem-test1.bam" lines_diff="4" />
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
294 </test>
17
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
295 <test expect_num_outputs="1">
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
296 <param name="reference_source_selector" value="history" />
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
297 <param name="ref_file" ftype="fasta" value="bwa-mem-mt-genome.fa"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
298 <param name="fastq_input_selector" value="single"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
299 <param name="fastq_input1" ftype="fastqsanger" value="bwa-mem-fasta1.fa"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
300 <param name="analysis_type_selector" value="illumina"/>
17
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
301 <output name="bam_output" ftype="bam" file="bwa-mem-test1-fasta.bam" lines_diff="4" />
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
302 </test>
17
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
303 <test expect_num_outputs="1">
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
304 <param name="reference_source_selector" value="history" />
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
305 <param name="ref_file" ftype="fasta" value="bwa-mem-mt-genome.fa"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
306 <param name="fastq_input_selector" value="paired"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
307 <param name="fastq_input1" ftype="fastqsanger.gz" value="bwa-mem-fastq1.fq.gz"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
308 <param name="fastq_input2" ftype="fastqsanger" value="bwa-mem-fastq2.fq"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
309 <param name="analysis_type_selector" value="illumina"/>
17
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
310 <output name="bam_output" ftype="bam" file="bwa-mem-test1.bam" lines_diff="4" />
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
311 </test>
17
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
312 <test expect_num_outputs="1">
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
313 <param name="reference_source_selector" value="history" />
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
314 <param name="ref_file" ftype="fasta" value="bwa-mem-mt-genome.fa"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
315 <param name="index_a" value="is"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
316 <param name="fastq_input_selector" value="paired"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
317 <param name="fastq_input1" ftype="fastqsanger" value="bwa-mem-fastq1.fq"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
318 <param name="fastq_input2" ftype="fastqsanger" value="bwa-mem-fastq2.fq"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
319 <param name="rg_selector" value="set"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
320 <param name="ID" value="rg1"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
321 <param name="PL" value="CAPILLARY"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
322 <param name="LB" value="AARDVARK-1" />
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
323 <param name="analysis_type_selector" value="illumina"/>
17
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
324 <output name="bam_output" ftype="bam" file="bwa-mem-test2.bam" lines_diff="4" />
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
325 </test>
17
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
326 <test expect_num_outputs="1">
14
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
327 <param name="reference_source_selector" value="history" />
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
328 <param name="ref_file" ftype="fasta" value="bwa-mem-mt-genome.fa"/>
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
329 <param name="fastq_input_selector" value="paired"/>
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
330 <param name="fastq_input1" ftype="fastqsanger" value="bwa-mem-fastq1.fq"/>
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
331 <param name="fastq_input2" ftype="fastqsanger" value="bwa-mem-fastq2.fq"/>
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
332 <param name="analysis_type_selector" value="illumina"/>
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
333 <param name="output_sort" value="unsorted"/>
17
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
334 <output name="bam_output" ftype="qname_input_sorted.bam" file="bwa-mem-test3.bam" lines_diff="4" />
14
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
335 </test>
17
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
336 <test expect_num_outputs="1">
14
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
337 <param name="reference_source_selector" value="history" />
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
338 <param name="ref_file" ftype="fasta" value="bwa-mem-mt-genome.fa"/>
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
339 <param name="fastq_input_selector" value="paired"/>
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
340 <param name="fastq_input1" ftype="fastqsanger" value="bwa-mem-fastq1.fq"/>
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
341 <param name="fastq_input2" ftype="fastqsanger" value="bwa-mem-fastq2.fq"/>
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
342 <param name="analysis_type_selector" value="illumina"/>
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
343 <param name="output_sort" value="name"/>
17
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
344 <output name="bam_output" ftype="qname_sorted.bam" file="bwa-mem-test4.bam" lines_diff="4" />
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
345 </test>
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
346 <test expect_num_outputs="1">
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
347 <param name="reference_source_selector" value="history" />
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
348 <param name="ref_file" ftype="fasta" value="bwa-mem-mt-genome.fa"/>
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
349 <conditional name="fastq_input">
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
350 <param name="fastq_input_selector" value="paired_collection"/>
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
351 <param name="fastq_input1">
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
352 <collection type="paired">
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
353 <element name="forward" value="bwa-mem-fastq1.fq" />
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
354 <element name="reverse" value="bwa-mem-fastq2.fq" />
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
355 </collection>
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
356 </param>
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
357 </conditional>
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
358 <conditional name="analysis_type">
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
359 <param name="analysis_type_selector" value="illumina"/>
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
360 </conditional>
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
361 <param name="output_sort" value="name"/>
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
362 <output name="bam_output" ftype="qname_sorted.bam" file="bwa-mem-test4.bam" lines_diff="4" />
14
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
363 </test>
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
364 </tests>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
365 <help><![CDATA[
17
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
366
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
367 **What it does**
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
368
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
369 This Galaxy tool wraps the bwa-mem module of the BWA_ read mapping tool. For more details about the different modules of the BWA package see the `BWA manual`_.
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
370
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
371 The Galaxy implementation takes fastq files as input and produces output in BAM format, which can be further processed using various BAM utilities existing in Galaxy (BAMTools, SAMTools, Picard).
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
372
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
373 From http://arxiv.org/abs/1303.3997:
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
374
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
375 BWA-MEM is an alignment algorithm for aligning sequence reads or long query sequences against a large reference genome such as human.
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
376 It automatically chooses between local and end-to-end alignments, supports paired-end reads and performs chimeric alignment.
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
377 The algorithm is robust to sequencing errors and applicable to a wide range of sequence lengths from 70bp to a few megabases.
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
378
17
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
379 -----
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
380
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
381 @ref_genomes@
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
382
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
383 -----
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
384
17
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
385 **Analysis modes**
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
386
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
387 The tool supports different preconfigured analysis modes optimized for different types of input data. Alternatively, it allows you to take full control over all available options.
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
388
17
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
389 The preconfigured modes are:
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
390
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
391 1. *Simple Illumina mode*
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
392
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
393 This corresponds to the simplest possible and standard bwa mem application in which it aligns single or paired-end data to a reference using default parameters. It is equivalent to the following command: bwa mem <reference index> <fastq dataset1> [fastq dataset2]
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
394 2. *PacBio mode*
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
395
17
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
396 This mode is adjusted specifically for mapping of long PacBio subreads. It is running bwa mame with the `-x pacbio` option.
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
397 3. *Nanopore 2D-reads mode*
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
398
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
399 This mode is running bwa mem with the `-x ont2d` option.
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
400 4. *Intra-sepcies contigs mode*
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
401
17
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
402 This mode is running bwa mem with the `-x intractg` option.
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
403
17
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
404 .. class:: infomark
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
405
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
406 Please note: minimap2_ is recommended over and outperforms BWA-MEM for most types of input data except for Illumina short reads. For Illumina short-read mapping you may also consider using `BWA-MEM2`_, which is about twice as fast as BWA-MEM.
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
407
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
408 -----
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
409
14
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
410 **Bam sorting mode**
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
411
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
412 The generated bam files can be sorted according to three criteria: coordinates, names and input order.
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
413
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
414 In coordinate sorted mode the reads are sorted by coordinates. It means that the reads from the beginning of the first chromosome are first in the file.
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
415
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
416 When sorted by read name, the file is sorted by the reference ID (i.e., the QNAME field).
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
417
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
418 Finally, the *No sorted (sorted as input)* option yield a BAM file in which the records are sorted in an order corresponding to the order of the reads in the original input file. This option requires using a single thread to perform the conversion from SAM to BAM format, so the runtime is extended.
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
419
8a98cfb7ea55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit 055c6c3de6c9e0f219f5792f6580244815c1cd31"
iuc
parents: 12
diff changeset
420
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
421 @RG@
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
422
17
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
423 @links@
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
424 .. _minimap2: https://github.com/lh3/minimap2
23e88ff6c494 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit e953b3b7dac6cbe9509fdc673907a7c2c7183180
iuc
parents: 15
diff changeset
425 .. _`BWA-MEM2`: https://github.com/bwa-mem2/bwa-mem2
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
426 ]]></help>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
427 <citations>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
428 <citation type="doi">10.1093/bioinformatics/btp324</citation>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
429 <citation type="doi">10.1093/bioinformatics/btp698</citation>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
430 <citation type="bibtex">@misc{1303.3997,
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
431 Author = {Heng Li},
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
432 Title = {Aligning sequence reads, clone sequences and assembly contigs with BWA-MEM},
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
433 Year = {2013},
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
434 Eprint = {arXiv:1303.3997},
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
435 url = {http://arxiv.org/abs/1303.3997},
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
436 }</citation>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 6
diff changeset
437 </citations>
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
438 </tool>