annotate bwa.xml @ 9:a628f5606f68 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit a161a3a7e9149a5ba63fe20f435cd2f275dce4c8
author iuc
date Fri, 22 Dec 2017 15:02:36 -0500
parents cbc665adcde4
children 29299da15326
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"?>
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
2 <tool id="bwa" name="Map with BWA" version="@VERSION@.3">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
3 <description>- map short reads (&lt; 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: 4
diff changeset
4 <macros>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
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: 4
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: 4
diff changeset
7 <token name="@command_options@">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
8 #if 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: 4
diff changeset
9 -n ${analysis_type.n}
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
10 -o ${analysis_type.o}
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
11 -e ${analysis_type.e}
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
12 -i ${analysis_type.i}
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
13 -d ${analysis_type.d}
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
14 -l ${analysis_type.l}
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
15 -k ${analysis_type.k}
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
16 -m ${analysis_type.m}
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
17 -M ${analysis_type.M}
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
18 -O ${analysis_type.O}
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
19 -E ${analysis_type.E}
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
20 -R ${analysis_type.R}
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
21 -q ${analysis_type.q}
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
22 #if str( $analysis_type.B ):
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
23 -B ${analysis_type.B}
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
24 #end if
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
25 #if str( $analysis_type.L ):
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
26 -L ${analysis_type.L}
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
27 #end if
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
28 #end if
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
29 </token>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
30 <token name="@read_group_options@">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
31 #if $use_rg:
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
32 @set_rg_string@
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
33 -r '$rg_string'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
34 #end if
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
35 </token>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
36 <xml name="advanced_pe_options">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
37 <param name="adv_pe_options_selector" type="select" label="Set advanced paired end options?"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
38 help="Provides additional controls">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
39 <option value="set">Set</option>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
40 <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: 4
diff changeset
41 </param>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
42 <when value="set">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
43 <param name="a" type="integer" value="500"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
44 label="Maximum insert size for a read pair to be considered being mapped properly."
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
45 help="sampe -a; This option is only used when there are not enough good alignment to infer the distribution of insert sizes; default=500"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
46 <param name="o" type="integer" value="100000"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
47 label="Maximum occurrences of a read for pairing. A read with more occurrences will be treated as a single-end read."
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
48 help="sampe -o; Reducing this parameter helps faster pairing; default=100000"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
49 <param name="n" type="integer" value="3"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
50 label="Maximum number of alignments to output in the XA tag for reads paired properly."
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
51 help="sampe -n; If a read has more than this many hits, the XA tag will not be written; default=3"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
52 <param name="N" type="integer" value="10"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
53 label="Maximum number of alignments to output in the XA tag for disconcordant read pairs (excluding singletons)."
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
54 help="sampe -N; If a read has more than this many hits, the XA tag will not be written; default=10"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
55 <param name="c" type="float" value="0.00005" label="Prior of chimeric rate (lower bound)"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
56 help="sampe -c"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
57 </when>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
58 <when value="do_not_set">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
59 <!-- do nothing -->
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
60 </when>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
61 </xml>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
62 <xml name="advanced_se_options">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
63 <param name="adv_se_options_selector" type="select" label="Set advanced single end options?"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
64 help="Provides additional controls">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
65 <option value="set">Set</option>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
66 <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: 4
diff changeset
67 </param>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
68 <when value="set">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
69 <param name="n" type="integer" value="3" label="Maximum number of alignments to output in the XA tag."
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
70 help="-n; If a read has more than this many hits, the XA tag will not be written; default=3"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
71 </when>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
72 <when value="do_not_set">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
73 <!-- do nothing -->
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
74 </when>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
75 </xml>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
76 </macros>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
77 <expand macro="requirements"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
78 <expand macro="stdio"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
79 <command>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
80 <![CDATA[
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
81 @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
82
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
83 ## setup vars for rg handling...
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
84 @define_read_group_helpers@
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
85 #if str( $input_type.input_type_selector ) == "paired":
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
86 #set $rg_auto_name = $read_group_name_default($input_type.fastq_input1, $input_type.fastq_input2)
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
87 #elif str( $input_type.input_type_selector ) in ["single_bam", "paired_bam"]:
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
88 #set $rg_auto_name = $read_group_name_default($input_type.bam_input)
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
89 #else
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
90 #set $rg_auto_name = $read_group_name_default($input_type.fastq_input1)
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
91 #end if
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
92 @set_use_rg_var@
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
93 @set_read_group_vars@
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
94
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
95 ## Begin bwa command line
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
96
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
97 ####### Fastq paired
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
98
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
99 #if str( $input_type.input_type_selector ) == "paired" or str( $input_type.input_type_selector ) == "paired_collection":
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
100 bwa aln
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
101 -t "\${GALAXY_SLOTS:-1}"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
102 @command_options@
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
103 '$reference_fasta_filename'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
104 #if str( $input_type.input_type_selector ) == "paired_collection":
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
105 '${input_type.fastq_input1.forward}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
106 #else
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
107 '${input_type.fastq_input1}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
108 #end if
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
109 > first.sai &&
0
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: 4
diff changeset
111 bwa aln
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
112 -t "\${GALAXY_SLOTS:-1}"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
113 @command_options@
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
114 '${reference_fasta_filename}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
115 #if str( $input_type.input_type_selector ) == "paired_collection":
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
116 '${input_type.fastq_input1.reverse}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
117 #else
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
118 '${input_type.fastq_input2}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
119 #end if
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
120 > second.sai &&
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
121
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
122 bwa sampe
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
123 #if str( $input_type.adv_pe_options.adv_pe_options_selector) == "True":
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
124 -a ${$input_type.adv_pe_options.a}
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
125 -o ${$input_type.adv_pe_options.o}
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
126 -n ${$input_type.adv_pe_options.n}
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
127 -N ${$input_type.adv_pe_options.N}
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
128 #end if
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
129 @read_group_options@
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
130 #if str( $input_type.input_type_selector ) == "paired_collection":
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
131 '${reference_fasta_filename}' first.sai second.sai '${input_type.fastq_input1.forward}' '${input_type.fastq_input1.reverse}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
132 #else:
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
133 '${reference_fasta_filename}' first.sai second.sai '${input_type.fastq_input1}' '${input_type.fastq_input2}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
134 #end if
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
135
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
136 ## Fastq single
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
137
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
138 #elif str( $input_type.input_type_selector ) == "single":
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
139 bwa aln
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
140 -t "\${GALAXY_SLOTS:-1}"
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
141
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
142 @command_options@
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
143
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
144 '${reference_fasta_filename}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
145 '${input_type.fastq_input1}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
146 > first.sai &&
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
147
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
148 bwa samse
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
149
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
150 #if str( $input_type.adv_se_options.adv_se_options_selector) == "True":
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
151 -n ${$input_type.adv_se_options.n}
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
152 #end if
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
153 @read_group_options@
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
154 '${reference_fasta_filename}' first.sai '${input_type.fastq_input1}'
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
155
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
156 ####### BAM paired
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
157
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
158 #elif str( $input_type.input_type_selector ) == "paired_bam":
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
159 bwa aln
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
160 -t "\${GALAXY_SLOTS:-1}"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
161 -b
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
162 -1
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
163 @command_options@
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
164 '${reference_fasta_filename}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
165 '${input_type.bam_input}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
166 > first.sai &&
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
167
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
168 bwa aln
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
169 -t "\${GALAXY_SLOTS:-1}"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
170 -b
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
171 -2
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
172 @command_options@
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
173 '${reference_fasta_filename}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
174 '${input_type.bam_input}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
175 > second.sai &&
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
176
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
177 bwa sampe
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
178
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
179 #if str( $input_type.adv_bam_pe_options.adv_pe_options_selector) == "True":
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
180 -a ${$input_type.adv_bam_pe_options.a}
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
181 -o ${$input_type.adv_bam_pe_options.o}
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
182 -n ${$input_type.adv_bam_pe_options.n}
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
183 -N ${$input_type.adv_bam_pe_options.N}
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
184 #end if
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
185 @read_group_options@
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
186 '${reference_fasta_filename}' first.sai second.sai '${input_type.bam_input}' '${input_type.bam_input}'
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
187
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
188 ####### Fastq single ------------ to do next
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
189
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
190 #elif str( $input_type.input_type_selector ) == "single_bam":
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
191 bwa aln
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
192 -t "\${GALAXY_SLOTS:-1}"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
193 -b
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
194 -0
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
195
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
196 @command_options@
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
197
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
198 '${reference_fasta_filename}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
199 '${input_type.bam_input}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
200 > first.sai &&
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
201
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
202 bwa samse
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
203
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
204 #if str( $input_type.adv_bam_se_options.adv_se_options_selector) == "True":
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
205 -n ${$input_type.adv_bam_se_options.n}
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
206 #end if
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
207 @read_group_options@
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
208 '${reference_fasta_filename}' first.sai '${input_type.bam_input}'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
209 #end if
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
210
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
211 | samtools sort -@\${GALAXY_SLOTS:-2} -O bam -o '$bam_output'
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
212 ]]>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
213 </command>
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
214
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
215 <inputs>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
216 <expand macro="reference_source_conditional"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
217 <conditional name="input_type">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
218 <param name="input_type_selector" type="select" label="Select input type"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
219 help="Select between fastq and bam datasets and 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: 4
diff changeset
220 <option value="paired">Paired fastq</option>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
221 <option value="paired_collection">Paired fastq collection</option>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
222 <option value="single">Single fastq</option>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
223 <option value="paired_bam">Paired BAM</option>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
224 <option value="single_bam">Single BAM</option>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
225 </param>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
226 <when value="paired">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
227 <param name="fastq_input1" type="data" format="fastqsanger,fastqsanger.gz,fasta"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
228 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: 4
diff changeset
229 <param name="fastq_input2" type="data" format="fastqsanger,fastqsanger.gz,fasta"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
230 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: 4
diff changeset
231 <conditional name="adv_pe_options">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
232 <expand macro="advanced_pe_options"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
233 </conditional>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
234 </when>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
235 <when value="paired_collection">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
236 <param name="fastq_input1" format="fastqsanger,fastqsanger.gz" type="data_collection" collection_type="paired" label="Select a paired collection"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
237 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: 4
diff changeset
238 <conditional name="adv_pe_options">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
239 <expand macro="advanced_pe_options"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
240 </conditional>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
241 </when>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
242 <when value="single">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
243 <param name="fastq_input1" type="data" format="fastqsanger,fastqsanger.gz,fasta"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
244 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: 4
diff changeset
245 <conditional name="adv_se_options">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
246 <expand macro="advanced_se_options"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
247 </conditional>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
248 </when>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
249 <!-- the difference between single and paired bams is in the <command> tag portion and realated to -0, -1, and -2 options -->
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
250 <when value="paired_bam">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
251 <param name="bam_input" type="data" format="bam" label="Select BAM dataset"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
252 help="Specify BAM dataset with paired reads"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
253 <conditional name="adv_bam_pe_options">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
254 <expand macro="advanced_pe_options"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
255 </conditional>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
256 </when>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
257 <when value="single_bam">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
258 <param name="bam_input" type="data" format="bam" label="Select BAM dataset"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
259 help="Specify BAM dataset with single reads"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
260 <conditional name="adv_bam_se_options">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
261 <expand macro="advanced_se_options"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
262 </conditional>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
263 </when>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
264 </conditional>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
265 <expand macro="read_group_conditional"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
266 <conditional name="analysis_type">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
267 <param name="analysis_type_selector" type="select" label="Select analysis mode">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
268 <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: 4
diff changeset
269 <option value="full">2.Full list of options</option>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
270 </param>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
271 <when value="illumina">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
272 <!-- do nothing -->
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
273 </when>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
274 <when value="full">
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
275 <param name="n" type="text" value="0.04"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
276 label="maximum edit distance if the value is integer, or the fraction of missing alignments given 2% uniform base error rate if float. In the latter case, the maximum edit distance is automatically chosen for different read lengths."
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
277 help="aln -n; default=0.04"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
278 <param name="o" type="integer" value="1" label="maximum number or gap openings"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
279 help="aln -o; default=1"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
280 <param name="e" type="integer" value="-1" label="maximum number of gap extensions"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
281 help="aln -e; -1 disables long gaps and invokes k-difference mode; default=-1"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
282 <param name="i" type="integer" value="5"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
283 label="do not put an indel within this many bp towards the ends" help="aln -i; default=5"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
284 <param name="d" type="integer" value="10" label="maximum occurrences for extending a long deletion"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
285 help="aln -d; default=10"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
286 <param name="l" type="integer" value="32" label="seed length" help="aln -l; default=32"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
287 <param name="k" type="integer" value="2" label="maximum differences in the seed"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
288 help="aln -k; default=2"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
289 <param name="m" type="integer" value="2000000" label="maximum entries in the queue"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
290 help="aln -m; default=2000000"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
291 <param name="M" type="integer" value="3" label="mismatch penalty" help="aln -M; default=3"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
292 <param name="O" type="integer" value="11" label="gap open penalty" help="aln -O; default=11"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
293 <param name="E" type="integer" value="4" label="gap extension penalty" help="aln -E; default=4"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
294 <param name="R" type="integer" value="30"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
295 label="stop searching when there are more than this value of equally best hits"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
296 help="aln -R; default=30"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
297 <param name="q" type="integer" value="0" label="quality threshold for read trimming down to 35bp"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
298 help="aln -q; default=0"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
299 <param name="B" type="integer" optional="True" label="length of barcode"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
300 help="aln -B; optional parameter"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
301 <param name="L" type="float" optional="True" label="log-scaled gap penalty for long deletions"
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
302 help="aln -L; optional parameter"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
303 </when>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
304 </conditional>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
305 </inputs>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
306 <outputs>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
307 <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: 4
diff changeset
308 <expand macro="dbKeyActionsBwa"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
309 </data>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
310 </outputs>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
311 <tests>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
312 <test>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
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: 4
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: 4
diff changeset
315 <param name="input_type_selector" value="single"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
316 <param name="fastq_input1" ftype="fasta" value="bwa-mem-fasta1.fa"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
317 <param name="analysis_type_selector" value="illumina"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
318 <output name="bam_output" ftype="bam" file="bwa-aln-test1-fasta.bam" lines_diff="2"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
319 </test>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
320 <test>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
321 <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: 4
diff changeset
322 <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: 4
diff changeset
323 <param name="input_type_selector" value="paired"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
324 <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: 4
diff changeset
325 <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: 4
diff changeset
326 <param name="analysis_type_selector" value="illumina"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
327 <output name="bam_output" ftype="bam" file="bwa-aln-test1.bam" lines_diff="2"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
328 </test>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
329 <test>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
330 <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: 4
diff changeset
331 <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: 4
diff changeset
332 <param name="input_type_selector" value="paired"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
333 <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: 4
diff changeset
334 <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: 4
diff changeset
335 <param name="analysis_type_selector" value="illumina"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
336 <output name="bam_output" ftype="bam" file="bwa-aln-test1.bam" lines_diff="2"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
337 </test>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
338 <test>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
339 <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: 4
diff changeset
340 <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: 4
diff changeset
341 <param name="input_type_selector" value="paired_bam"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
342 <param name="bam_input" ftype="bam" value="bwa-aln-bam-input.bam"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
343 <param name="analysis_type_selector" value="illumina"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
344 <output name="bam_output" ftype="bam" file="bwa-aln-test2.bam" lines_diff="2"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
345 </test>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
346 <test>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
347 <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: 4
diff changeset
348 <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: 4
diff changeset
349 <param name="input_type_selector" value="paired"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
350 <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: 4
diff changeset
351 <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: 4
diff changeset
352 <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: 4
diff changeset
353 <param name="ID" value="rg1"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
354 <param name="PL" value="CAPILLARY"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
355 <param name="analysis_type_selector" value="illumina"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
356 <output name="bam_output" ftype="bam" file="bwa-aln-test3.bam" lines_diff="2"/>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
357 </test>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
358 </tests>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
359 <help><![CDATA[
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
360 **What is does**
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
361
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
362 BWA is a software package for mapping low-divergent sequences against a large reference genome, such as the
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
363 human genome. The bwa-aln algorithm is designed for Illumina sequence reads up to 100bp. For longer reads use
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
364 the separate BWA-MEM Galaxy tool.
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
365
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
366 This Galaxy tool wraps bwa-aln, bwa-samse and -sampe modules of bwa read mapping tool:
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
367
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
368 - **bwa aln** - actual mapper placing reads onto the reference sequence
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
369 - **bwa samse** - post-processor converting suffix array coordinates into genome coordinates in SAM format for
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
370 single reads
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
371 - **bam sampe** - post-processor for paired reads
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
372
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
373
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
374 The Galaxy implementation takes fastq or BAM (unaligned BAM) datasets as input and produces output in BAM format,
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
375 which can be further processed using various BAM utilities exiting 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
376
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
377 -----
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
378
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
379 **Indices: Selecting reference genomes for BWA**
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
380
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
381 The Galaxy wrapper for BWA allows you to select between precomputed and user-defined indices for reference genomes
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
382 using the **Will you select a reference genome from your history or use a built-in index?** select box.
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
383
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
384 This select box has two options:
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
385
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
386 1. **Use a built-in genome index** - when selected (this is default), Galaxy provides the user with **Select
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
387 reference genome index** dropdown. Genomes listed in this dropdown have been pre-indexed with bwa index utility
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
388 and are ready to be mapped against.
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
389 2. **Use a genome from the history and build index** - when selected, Galaxy provides the user with **Select
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
390 reference genome sequence** dropdown. This dropdown is populated by all FASTA formatted files listed in your
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
391 current history. If your genome of interest is uploaded into history it will be shown there. Selecting a genome
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
392 from this dropdown will cause Galaxy to first transparently index it using `bwa index` command, and then run
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
393 mapping with `bwa aln`.
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
394
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
395
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
396 If your genome of interest is not listed here you have two choices:
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
397
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
398 1. Contact galaxy team using **Help->Support** link at the top of the interface and let us know that an index
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
399 needs to be added
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
400 2. Upload your genome of interest as a FASTA file to Galaxy history and selected **Use a genome from the history
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
401 and build index** option.
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
402
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
403
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
404 @RG@
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
405
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
406 @info@
8
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
407 ]]></help>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
408 <citations>
cbc665adcde4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa commit c355891532cecaab6b3288a148a6b3bcb5973396
iuc
parents: 4
diff changeset
409 <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: 4
diff changeset
410 <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: 4
diff changeset
411 </citations>
0
c9c78719ef26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
412 </tool>