annotate bwa-mem2.xml @ 2:b4a22d90cce9 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 563c0931e9fc14b0d6e8a7d64ad042a483ec9bb4"
author iuc
date Wed, 24 Nov 2021 21:29:45 +0000
parents 82217dccdbcf
children bfaa0d22c2e4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
1 <tool id="bwa_mem2" name="BWA-MEM2" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
2 <description>- map medium and long reads (&gt; 100 bp) against reference genome</description>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
3 <macros>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
4 <import>read_group_macros.xml</import>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
5 <import>macros.xml</import>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
6 </macros>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
7 <expand macro="requirements"/>
2
b4a22d90cce9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 563c0931e9fc14b0d6e8a7d64ad042a483ec9bb4"
iuc
parents: 0
diff changeset
8 <expand macro="xrefs"/>
0
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
9 <expand macro="stdio"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
10 <command><![CDATA[
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
11 @pipefail@
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
12 @set_reference_fasta_filename@
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
13
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
14 ## Begin BWA-MEM command line
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
15
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
16 bwa-mem2 mem
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
17 #if str( $output_sort ) == "unsorted":
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
18 -t 1
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
19 #else
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
20 -t "\${GALAXY_SLOTS:-1}"
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
21 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
22 ## Verbosity is set to 1 (errors only)
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
23 -v 1
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
24
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
25 #if str( $fastq_input.fastq_input_selector ) == "paired_iv":
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
26 ## For interleaved fastq files set -p option
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
27 -p
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
28 ## check that insert statistics is used
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
29 #if str( $fastq_input.iset_stats ):
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
30 -I '${fastq_input.iset_stats}'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
31 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
32 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
33
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
34 #if str( $analysis_type.analysis_type_selector ) not in ["illumina", "full"]:
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
35 -x '$analysis_type.analysis_type_selector'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
36 #elif str( $analysis_type.analysis_type_selector ) == "full":
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
37 ## Algorithmic options
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
38 #if str( $analysis_type.algorithmic_options.algorithmic_options_selector ) == "set":
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
39 -k '${analysis_type.algorithmic_options.k}'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
40 -w '${analysis_type.algorithmic_options.w}'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
41 -d '${analysis_type.algorithmic_options.d}'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
42 -r '${analysis_type.algorithmic_options.r}'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
43 -y '${analysis_type.algorithmic_options.y}'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
44 -c '${analysis_type.algorithmic_options.c}'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
45 -D '${analysis_type.algorithmic_options.D}'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
46 -W '${analysis_type.algorithmic_options.W}'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
47 -m '${analysis_type.algorithmic_options.m}'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
48 ${analysis_type.algorithmic_options.S}
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
49 ${analysis_type.algorithmic_options.P}
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
50 ${analysis_type.algorithmic_options.e}
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
51 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
52
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
53 ## Scoring options
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
54 #if str( $analysis_type.scoring_options.scoring_options_selector ) == "set":
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
55 -A '${analysis_type.scoring_options.A}'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
56 -B '${analysis_type.scoring_options.B}'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
57 -O '${analysis_type.scoring_options.O}'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
58 -E '${analysis_type.scoring_options.E}'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
59 -L '${analysis_type.scoring_options.L}'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
60 -U '${analysis_type.scoring_options.U}'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
61 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
62
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
63 ## IO options
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
64 #if str( $analysis_type.io_options.io_options_selector ) == "set":
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
65 -T '${analysis_type.io_options.T}'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
66 -h '${analysis_type.io_options.h}'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
67 ${analysis_type.io_options.a}
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
68 ${analysis_type.io_options.C}
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
69 ${analysis_type.io_options.V}
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
70 ${analysis_type.io_options.Y}
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
71 ${analysis_type.io_options.M}
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
72 ${analysis_type.io_options.five}
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
73 ${analysis_type.io_options.q}
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
74 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
75
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
76 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
77
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
78 ## Handle read group options...
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
79 @define_read_group_helpers@
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
80 #if str( $fastq_input.fastq_input_selector ) == "paired":
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
81 #set $rg_auto_name = $read_group_name_default($fastq_input.fastq_input1, $fastq_input.fastq_input2)
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
82 #else:
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
83 #set $rg_auto_name = $read_group_name_default($fastq_input.fastq_input1)
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
84 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
85 @set_use_rg_var@
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
86 @set_read_group_vars@
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
87 #if $use_rg
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
88 @set_rg_string@
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
89 -R '$rg_string'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
90 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
91
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
92 #if str( $fastq_input.fastq_input_selector ) == "paired":
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
93 ## check that insert statistics is used
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
94 #if str( $fastq_input.iset_stats ):
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
95 -I '${fastq_input.iset_stats}'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
96 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
97
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
98 '${reference_fasta_filename}'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
99 '${fastq_input.fastq_input1}' '${fastq_input.fastq_input2}'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
100 #elif str( $fastq_input.fastq_input_selector ) == "paired_collection":
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
101 ## check that insert statistics is used
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
102 #if str( $fastq_input.iset_stats ):
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
103 -I '${fastq_input.iset_stats}'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
104 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
105
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
106 '${reference_fasta_filename}'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
107 '${fastq_input.fastq_input1.forward}' '${fastq_input.fastq_input1.reverse}'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
108 #else:
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
109 '${reference_fasta_filename}'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
110 '${fastq_input.fastq_input1}'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
111 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
112
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
113 #if str( $output_sort ) == "coordinate":
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
114 | samtools sort -@\${GALAXY_SLOTS:-2} -T "\${TMPDIR:-.}" -O bam -o '$bam_output'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
115 #elif str( $output_sort ) == "name":
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
116 | samtools sort -n -@\${GALAXY_SLOTS:-2} -T "\${TMPDIR:-.}" -O bam -o '$bam_output'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
117 #else
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
118 | samtools view -@ \${GALAXY_SLOTS:-2} -bS - -o '$bam_output'
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
119 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
120
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
121
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
122 ]]></command>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
123
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
124 <inputs>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
125 <expand macro="reference_source_conditional" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
126 <conditional name="fastq_input">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
127 <param name="fastq_input_selector" type="select" label="Single or Paired-end reads" help="Select between paired and single end data">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
128 <option value="paired">Paired</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
129 <option value="single">Single</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
130 <option value="paired_collection">Paired Collection</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
131 <option value="paired_iv">Paired Interleaved</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
132 </param>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
133 <when value="paired">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
134 <param name="fastq_input1" type="data" format="fastqsanger,fastqsanger.gz,fasta" label="Select first set of reads" help="Specify dataset with forward reads"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
135 <param name="fastq_input2" type="data" format="fastqsanger,fastqsanger.gz,fasta" label="Select second set of reads" help="Specify dataset with reverse reads"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
136 <param name="iset_stats" type="text" optional="True" label="Enter mean, standard deviation, max, and min for insert lengths." help="-I; This parameter is only used for paired reads. Only mean is required while sd, max, and min will be inferred. Examples: both &quot;250&quot; and &quot;250,25&quot; will work while &quot;250,,10&quot; will not. See below for details.">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
137 <sanitizer invalid_char="">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
138 <valid initial="string.digits"><add value=","/> </valid>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
139 </sanitizer>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
140 </param>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
141 </when>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
142 <when value="single">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
143 <param name="fastq_input1" type="data" format="fastqsanger,fastqsanger.gz,fasta" label="Select fastq dataset" help="Specify dataset with single reads"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
144 </when>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
145 <when value="paired_collection">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
146 <param name="fastq_input1" format="fastqsanger,fastqsanger.gz,fasta" type="data_collection" collection_type="paired" label="Select a paired collection" help="See help section for an explanation of dataset collections"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
147 <param name="iset_stats" type="text" optional="True" label="Enter mean, standard deviation, max, and min for insert lengths." help="-I; This parameter is only used for paired reads. Only mean is required while sd, max, and min will be inferred. Examples: both &quot;250&quot; and &quot;250,25&quot; will work while &quot;250,,10&quot; will not. See below for details.">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
148 <sanitizer invalid_char="">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
149 <valid initial="string.digits"><add value=","/> </valid>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
150 </sanitizer>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
151 </param>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
152 </when>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
153 <when value="paired_iv">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
154 <param name="fastq_input1" type="data" format="fastqsanger,fastqsanger.gz,fasta" label="Select fastq dataset" help="Specify dataset with interleaved reads"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
155 <param name="iset_stats" type="text" optional="True" label="Enter mean, standard deviation, max, and min for insert lengths." help="-I; This parameter is only used for paired reads. Only mean is required while sd, max, and min will be inferred. Examples: both &quot;250&quot; and &quot;250,25&quot; will work while &quot;250,,10&quot; will not. See below for details.">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
156 <sanitizer invalid_char="">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
157 <valid initial="string.digits"><add value=","/> </valid>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
158 </sanitizer>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
159 </param>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
160 </when>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
161 </conditional>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
162
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
163 <expand macro="read_group_conditional" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
164
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
165 <conditional name="analysis_type">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
166 <param name="analysis_type_selector" type="select" label="Select analysis mode">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
167 <option value="illumina">1.Simple Illumina mode</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
168 <option value="pacbio">2.PacBio mode (-x pacbio)</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
169 <option value="ont2d">3.Nanopore 2D-reads mode (-x ont2d)</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
170 <option value="intractg">4.Intra-species contigs mode (-x intractg)</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
171 <option value="full">5.Full list of options</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
172 </param>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
173 <when value="illumina">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
174 <!-- do nothing -->
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
175 </when>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
176 <when value="pacbio">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
177 <!-- do nothing. all magic happens within <command> tag -->
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
178 </when>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
179 <when value="ont2d">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
180 <!-- do nothing. all magic happens within <command> tag -->
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
181 </when>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
182 <when value="intractg">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
183 <!-- do nothing. all magic happens within <command> tag -->
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
184 </when>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
185 <when value="full">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
186 <conditional name="algorithmic_options">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
187 <param name="algorithmic_options_selector" type="select" label="Set algorithmic options?" help="Sets -k, -w, -d, -r, -y, -c, -D, -W, -m, -S, -P, and -e options.">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
188 <option value="set">Set</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
189 <option value="do_not_set" selected="True">Do not set</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
190 </param>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
191 <when value="set">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
192 <param name="k" type="integer" value="19" label="Minimum seed length" help="-k; default=19"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
193 <param name="w" type="integer" value="100" label="Band width for banded alignment" help="-w; default=100"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
194 <param name="d" type="integer" value="100" label="Off-diagonal X-dropoff" help="-d; default=100"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
195 <param name="r" type="float" value="1.5" label="Look for internal seeds inside a seed longer than -k * THIS VALUE" help="-r; default=1.5; This is a key heuristic parameter for tuning the performance. Larger value yields fewer seeds, which leads to faster alignment speed but lower accuracy" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
196 <param name="y" type="integer" value="20" label="Seed occurrence for the 3rd round seeding" help="-y; default=20" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
197 <param name="c" type="integer" value="500" label="Skip seeds with more than that many occurrences" help="-c; default=500"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
198 <param name="D" type="float" value="0.5" label="Drop chains shorter than this fraction of the longest overlapping chain" help="-D; default=0.5"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
199 <param name="W" type="integer" value="0" label="Discard a chain if seeded bases shorter than THIS VALUE" help="-W; default=0"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
200 <param name="m" type="integer" value="50" label="Perform at most this many rounds of mate rescues for each read" help="-m; default=50"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
201 <param name="S" type="boolean" truevalue="-S" falsevalue="" label="Skip mate rescue" help="-S"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
202 <param name="P" type="boolean" truevalue="-P" falsevalue="" label="Skip pairing; mate rescue performed unless -S also in use" help="-P"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
203 <param name="e" type="boolean" truevalue="-e" falsevalue="" label="Discard full-length exact matches" help="-e"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
204 </when>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
205 <when value="do_not_set">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
206 <!-- do nothing -->
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
207 </when>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
208 </conditional>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
209
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
210 <conditional name="scoring_options">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
211 <param name="scoring_options_selector" type="select" label="Set scoring options?" help="Sets -A, -B, -O, -E, -L, and -U options.">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
212 <option value="set">Set</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
213 <option value="do_not_set" selected="True">Do not set</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
214 </param>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
215 <when value="set">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
216 <param name="A" type="integer" value="1" label="Score for a sequence match" help="-A; scales options -T, -d, -B, -O, -E, -L, and -U unless overridden; default=1"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
217 <param name="B" type="integer" value="4" label="Penalty for a mismatch" help="-B; default=4"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
218 <param name="O" type="text" value="6,6" label="Gap open penalties for deletions and insertions" help="-O; default=6,6">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
219 <sanitizer invalid_char="">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
220 <valid initial="string.digits"><add value=","/> </valid>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
221 </sanitizer>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
222 </param>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
223 <param name="E" type="text" value="1,1" label="Gap extension penalties; a gap of size k cost &#39;-O + -E*k&#39;. If two numbers are specified, the first is the penalty of extending a deletion and the second for extending an insertion" help="-E; default=1,1">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
224 <sanitizer invalid_char="">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
225 <valid initial="string.digits"><add value=","/> </valid>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
226 </sanitizer>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
227 </param>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
228 <param name="L" type="text" value="5,5" label="Penalties for 5&#39;-end and 3&#39;-end clipping" help="-L; default=5,5; When performing Smith-Waterman extension, BWA-MEM keeps track of the best score reaching the end of query. If this score is larger than the best Smith-Waterman score minus the clipping penalty, clipping will not be applied. Note that in this case, the SAM AS tag reports the best Smith-Waterman score; clipping penalty is not deduced">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
229 <sanitizer invalid_char="">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
230 <valid initial="string.digits"><add value=","/> </valid>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
231 </sanitizer>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
232 </param>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
233 <param name="U" type="integer" value="17" label="Penalty for an unpaired read pair" help="-U; default=17"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
234 </when>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
235 <when value="do_not_set">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
236 <!-- do nothing -->
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
237 </when>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
238 </conditional>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
239
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
240 <conditional name="io_options">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
241 <param name="io_options_selector" type="select" label="Set input/output options" help="Sets -T, -h, -a, -C, -V, -Y, and -M options.">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
242 <option value="set">Set</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
243 <option value="do_not_set" selected="True">Do not set</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
244 </param>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
245 <when value="set">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
246 <param name="five" argument="-5" type="boolean" truevalue="-5" falsevalue="" label="For split alignment, take alignment with smallest coordinate as primary" help="Useful for HiC data"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
247 <param argument="-q" type="boolean" truevalue="-q" falsevalue="" label="Don't lower MAPQ for split alignment" help="By default the MAPQ score of a supplementary alignment will be lowered to the primary alignment score."/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
248 <param name="T" type="integer" value="30" label="Minimum score to output" help="-T; default=30"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
249 <param name="h" type="integer" value="5" label="If there are less than THIS VALUE hits with score &gt;80% of the max score, output them all in the XA tag" help="-h; default=5" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
250 <param name="a" type="boolean" truevalue="-a" falsevalue="" label="Output all alignments for single-ends or unpaired paired-ends" help="-a; These alignments will be flagged as secondary alignments"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
251 <param name="C" type="boolean" truevalue="-C" falsevalue="" label="Append FASTA/FASTQ comment to BAM output" help="-C"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
252 <param name="V" type="boolean" truevalue="-V" falsevalue="" label="Output the reference FASTA header in the XR tag" help="-C"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
253 <param name="Y" type="boolean" truevalue="-Y" falsevalue="" label="Use soft clipping for supplementary alignments" help="-Y; By default, BWA-MEM uses soft clipping for the primary alignment and hard clipping for supplementary alignments" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
254 <param name="M" type="boolean" truevalue="-M" falsevalue="" label="Mark shorter split hits of a chimeric alignment in the FLAG field as 'secondary alignment' instead of 'supplementary alignment'" help="-M; For Picard&lt;1.96 compatibility" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
255 </when>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
256 <when value="do_not_set">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
257 <!-- do nothing -->
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
258 </when>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
259 </conditional>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
260 </when>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
261 </conditional>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
262 <param name="output_sort" type="select" label="BAM sorting mode" help="The 'Not sorted' option can extend the run time of the tool significantly (cause it requires running on only a single thread).">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
263 <option value="coordinate" selected="True">Sort by chromosomal coordinates</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
264 <option value="name">Sort by read names (i.e., the QNAME field) </option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
265 <option value="unsorted">Not sorted (sorted as input)</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
266 </param>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
267 </inputs>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
268
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
269 <outputs>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
270 <data format="bam" name="bam_output" label="${tool.name} on ${on_string} (mapped reads in BAM format)">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
271 <expand macro="dbKeyActionsBwaMem" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
272 <change_format>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
273 <when input="output_sort" value="name" format="qname_sorted.bam" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
274 <when input="output_sort" value="unsorted" format="qname_input_sorted.bam" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
275 </change_format>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
276 </data>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
277 </outputs>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
278
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
279 <tests>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
280 <test>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
281 <param name="reference_source_selector" value="history" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
282 <param name="ref_file" ftype="fasta" value="bwa-mem-mt-genome.fa"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
283 <param name="fastq_input_selector" value="paired"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
284 <param name="fastq_input1" ftype="fastqsanger" value="bwa-mem-fastq1.fq"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
285 <param name="fastq_input2" ftype="fastqsanger" value="bwa-mem-fastq2.fq"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
286 <param name="analysis_type_selector" value="illumina"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
287 <output name="bam_output" ftype="bam" file="bwa-mem-test1.bam" lines_diff="4" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
288 </test>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
289 <test>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
290 <param name="reference_source_selector" value="history" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
291 <param name="ref_file" ftype="fasta" value="bwa-mem-mt-genome.fa"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
292 <param name="fastq_input_selector" value="single"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
293 <param name="fastq_input1" ftype="fastqsanger" value="bwa-mem-fasta1.fa"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
294 <param name="analysis_type_selector" value="illumina"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
295 <output name="bam_output" ftype="bam" file="bwa-mem-test1-fasta.bam" lines_diff="4" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
296 </test>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
297 <test>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
298 <param name="reference_source_selector" value="history" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
299 <param name="ref_file" ftype="fasta" value="bwa-mem-mt-genome.fa"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
300 <param name="fastq_input_selector" value="paired"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
301 <param name="fastq_input1" ftype="fastqsanger.gz" value="bwa-mem-fastq1.fq.gz"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
302 <param name="fastq_input2" ftype="fastqsanger" value="bwa-mem-fastq2.fq"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
303 <param name="analysis_type_selector" value="illumina"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
304 <output name="bam_output" ftype="bam" file="bwa-mem-test1.bam" lines_diff="4" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
305 </test>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
306 <test>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
307 <param name="reference_source_selector" value="history" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
308 <param name="ref_file" ftype="fasta" value="bwa-mem-mt-genome.fa"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
309 <param name="fastq_input_selector" value="paired"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
310 <param name="fastq_input1" ftype="fastqsanger" value="bwa-mem-fastq1.fq"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
311 <param name="fastq_input2" ftype="fastqsanger" value="bwa-mem-fastq2.fq"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
312 <param name="rg_selector" value="set"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
313 <param name="ID" value="rg1"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
314 <param name="PL" value="CAPILLARY"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
315 <param name="LB" value="AARDVARK-1" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
316 <param name="analysis_type_selector" value="illumina"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
317 <output name="bam_output" ftype="bam" file="bwa-mem-test2.bam" lines_diff="4" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
318 </test>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
319 <test>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
320 <param name="reference_source_selector" value="history" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
321 <param name="ref_file" ftype="fasta" value="bwa-mem-mt-genome.fa"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
322 <param name="fastq_input_selector" value="paired"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
323 <param name="fastq_input1" ftype="fastqsanger" value="bwa-mem-fastq1.fq"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
324 <param name="fastq_input2" ftype="fastqsanger" value="bwa-mem-fastq2.fq"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
325 <param name="analysis_type_selector" value="illumina"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
326 <param name="output_sort" value="unsorted"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
327 <output name="bam_output" ftype="qname_input_sorted.bam" file="bwa-mem-test3.bam" lines_diff="4" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
328 </test>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
329 <test>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
330 <param name="reference_source_selector" value="history" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
331 <param name="ref_file" ftype="fasta" value="bwa-mem-mt-genome.fa"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
332 <param name="fastq_input_selector" value="paired"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
333 <param name="fastq_input1" ftype="fastqsanger" value="bwa-mem-fastq1.fq"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
334 <param name="fastq_input2" ftype="fastqsanger" value="bwa-mem-fastq2.fq"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
335 <param name="analysis_type_selector" value="illumina"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
336 <param name="output_sort" value="name"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
337 <output name="bam_output" ftype="qname_sorted.bam" file="bwa-mem-test4.bam" lines_diff="4" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
338 </test>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
339 <test>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
340 <param name="reference_source_selector" value="cached" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
341 <param name="ref_file" value="mtgenome"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
342 <param name="fastq_input_selector" value="paired"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
343 <param name="fastq_input1" ftype="fastqsanger" value="bwa-mem-fastq1.fq"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
344 <param name="fastq_input2" ftype="fastqsanger" value="bwa-mem-fastq2.fq"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
345 <param name="analysis_type_selector" value="illumina"/>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
346 <output name="bam_output" ftype="bam" file="bwa-mem-test1.bam" lines_diff="4" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
347 </test>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
348 </tests>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
349 <help><![CDATA[
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
350 **What is does**
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
351 BWA-MEM2 is the new version of the bwa-mem algorithm in bwa. It produces alignment identical to bwa and is ~1.3-3.1x faster depending on the use-case, dataset and the running machine.
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
352 The algorithm is robust to sequencing errors and applicable to a wide range of sequence lengths from 70bp to a few megabases.
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
353
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
354 The Galaxy implementation takes fastq files as input and produces output in BAM format, which can be further processed using various BAM utilities exiting in Galaxy (BAMTools, SAMTools, Picard).
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
355
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
356 -----
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
357
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
358 **Indices: Selecting reference genomes for BWA**
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
359
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
360 Galaxy wrapper for BWA allows you select between precomputed and user-defined indices for reference genomes using **Will you select a reference genome from your history or use a built-in index?** flag. This flag has two options:
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
361
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
362 1. **Use a built-in genome index** - when selected (this is default), Galaxy provides the user with **Select reference genome index** dropdown. Genomes listed in this dropdown have been pre-indexed with bwa index utility and are ready to be mapped against.
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
363 2. **Use a genome from the history and build index** - when selected, Galaxy provides the user with **Select reference genome sequence** dropdown. This dropdown is populated by all FASTA formatted files listed in your current history. If your genome of interest is uploaded into history it will be shown there. Selecting a genome from this dropdown will cause Galaxy to first transparently index it using `bwa index` command, and then run mapping with `bwa mem`.
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
364
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
365 If your genome of interest is not listed here you have two choices:
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
366
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
367 1. Contact galaxy team using **Help->Support** link at the top of the interface and let us know that an index needs to be added
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
368 2. Upload your genome of interest as a FASTA file to Galaxy history and selected **Use a genome from the history and build index** option.
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
369
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
370 -----
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
371
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
372 **Galaxy-specific option**
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
373
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
374 Galaxy allows four levels of control over bwa-mem options provided by **Select analysis mode** menu option. These are:
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
375
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
376 1. *Simple Illumina mode*: The simplest possible bwa mem application in which it alignes single or paired-end data to reference using default parameters. It is equivalent to the following command: bwa mem <reference index> <fastq dataset1> [fastq dataset2]
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
377 2. *PacBio mode*: The mode adjusted specifically for mapping of long PacBio subreads. Equivalent to the following command: bwa mem -k17 -W40 -r10 -A1 -B1 -O1 -E1 -L0 <reference index> <PacBio dataset in fastq format>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
378 3. *Full list of options*: Allows access to all options through Galaxy interface.
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
379
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
380 -----
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
381
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
382 **Bam sorting mode**
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
383
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
384 The generated bam files can be sorted according to three criteria: coordinates, names and input order.
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
385
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
386 In coordinate sorted mode the reads are sorted by coordinates. It means that the reads from the beginning of the first chromosome are first in the file.
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
387
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
388 When sorted by read name, the file is sorted by the reference ID (i.e., the QNAME field).
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
389
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
390 Finally, the *No sorted (sorted as input)* option yield a BAM file in which the records are sorted in an order corresponding to the order of the reads in the original input file. This option requires using a single thread to perform the conversion from SAM to BAM format, so the runtime is extended.
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
391
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
392
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
393 @RG@
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
394
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
395 @info@
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
396 ]]></help>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
397 <expand macro="citations" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
398 </tool>