annotate nextgenmap.xml @ 0:1a24072a6eb7 draft default tip

Uploaded
author dnbenso
date Tue, 23 Nov 2021 22:45:56 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
1 <tool id="nextgenmap" name="NextGenMap" version="@WRAPPER_VERSION@+galaxy0">
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
2 <description>NextGenMap is a flexible highly sensitive short read mapping tool</description>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
3 <macros>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
4 <import>macros.xml</import>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
5 </macros>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
6 <expand macro="requirements" />
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
8 addmemory=\${GALAXY_MEMORY_MB_PER_SLOT:-768} &&
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
9 ((addmemory=addmemory*75/100)) &&
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
10 ln -s '$ref' reference.fa &&
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
11 ngm -t \${GALAXY_SLOTS:-2} -r '$ref' -i '$min_ident'
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
12 #if str( $single_paired.single_paired_selector ) == 'single':
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
13 -q '$single_paired.reads'
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
14 #elif str( $single_paired.single_paired_selector ) == 'paired':
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
15 -1 '$single_paired.forward' -2 '$single_paired.reverse'
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
16 #else
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
17 -1 '$single_paired.paired_input.forward' -2 '$single_paired.paired_input.reverse'
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
18 #end if
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
19 #if $adv.adv_options == "yes":
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
20 #if $adv.min_insert_size:
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
21 --min-insert-size '${adv.min_insert_size}'
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
22 #end if
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
23 #if $adv.max_insert_size:
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
24 --max-insert-size '${adv.max_insert_size}'
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
25 #end if
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
26 #if $adv.max_read_length:
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
27 --max-read-length '${adv.max_read_length}'
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
28 #end if
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
29 #if $adv.force_rlength_check:
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
30 --force-rlength-check
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
31 #end if
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
32 #if $adv.topn:
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
33 --topn '${adv.topn}'
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
34 #end if
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
35 #if $adv.strata:
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
36 --strata
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
37 #end if
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
38 #if $adv.keep_tags:
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
39 --keep-tags
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
40 #end if
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
41 #if $adv.hard_clip:
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
42 --hard-clip
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
43 #end if
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
44 #if $adv.silent_clip:
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
45 --silent-clip
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
46 #end if
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
47 #if $adv.rg.rg_options == "yes":
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
48 #if $adv.rg.rg_id:
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
49 --rg-id '${adv.rg.rg_id}'
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
50 #end if
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
51 #if $adv.rg.rg_sm:
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
52 --rg-id '${adv.rg.rg_sm}'
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
53 #end if
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
54 #if $adv.rg.rg_lb:
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
55 --rg-id '${adv.rg.rg_lb}'
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
56 #end if
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
57 #if $adv.rg.rg_pl:
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
58 --rg-id '${adv.rg.rg_pl}'
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
59 #end if
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
60 #if $adv.rg.rg_ds:
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
61 --rg-id '${adv.rg.rg_ds}'
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
62 #end if
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
63 #if $adv.rg.rg_dt:
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
64 --rg-id '${adv.rg.rg_dt}'
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
65 #end if
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
66 #if $adv.rg.rg_pu:
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
67 --rg-id '${adv.rg.rg_pu}'
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
68 #end if
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
69 #if $adv.rg.rg_pi:
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
70 --rg-id '${adv.rg.rg_pi}'
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
71 #end if
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
72 #if $adv.rg.rg_pg:
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
73 --rg-id '${adv.rg.rg_pg}'
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
74 #end if
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
75 #if $adv.rg.rg_cn:
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
76 --rg-id '${adv.rg.rg_cn}'
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
77 #end if
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
78 #if $adv.rg.rg_fo:
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
79 --rg-id '${adv.rg.rg_fo}'
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
80 #end if
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
81 #if $adv.rg.rg_ks:
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
82 --rg-id '${adv.rg.rg_ks}'
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
83 #end if
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
84 #end if
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
85 #if $adv.pe_delimiter:
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
86 --pe-delimiter '${adv.pe_delimiter}'
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
87 #end if
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
88 #end if
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
89 -o out.sam &&
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
90 samtools sort -O BAM -@ \${GALAXY_SLOTS:-2} -m \$addmemory"M" -o sort.bam -T "\${TMPDIR:-.}" out.sam &&
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
91 cp sort.bam $output1
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
92 ]]></command>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
93 <inputs>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
94 <param type="data" name="ref" format="fasta" label="Assembled reference"/>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
95 <param name="min_ident" type="float" min="0" max="1" value="0.5" label="Reads below threshold will be marked unmapped"/>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
96 <conditional name="single_paired">
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
97 <param name="single_paired_selector" type="select" label="Single-end or paired reads">
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
98 <option value="single" selected="true">Single-end</option>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
99 <option value="paired">Paired</option>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
100 <option value="paired_collection">Paired Collection</option>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
101 </param>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
102 <when value="single">
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
103 <param name="reads" type="data" format="fastqsanger" label="Select first set of reads" help="Specify dataset with forward reads"/>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
104 </when>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
105 <when value="paired">
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
106 <param name="forward" type="data" format="fastqsanger" label="Select first set of reads" help="Specify dataset with forward reads"/>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
107 <param name="reverse" type="data" format="fastqsanger" label="Select second set of reads" help="Specify dataset with reverse reads"/>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
108 </when>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
109 <when value="paired_collection">
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
110 <param name="paired_input" type="data_collection" collection_type="paired" format="fastq,fastq.gz" label="Select paired collection(s)"/>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
111 </when>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
112 </conditional>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
113 <conditional name="adv">
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
114 <param type="select" name="adv_options" label="Show advanced options">
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
115 <option value="yes">Yes</option>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
116 <option value="no" selected="true">No</option>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
117 </param>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
118 <when value="yes">
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
119 <param argument="--min-insert-size" name="min_insert_size" type="integer" optional="true" min="0" label="The min insert size for paired end alignments [0]" />
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
120 <param argument="--max-insert-size" name="max_insert_size" type="integer" optional="true" min="0" label="The max insert size for paired end alignments [1000]" />
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
121 <param argument="--max-read-length" name="max_read_length" type="integer" optional="true" min="0" label="Length of longest read in input. Default is estimated from data" />
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
122 <param argument="--force-rlength-check" name="force_rlength_check" type="boolean" optional="true" label="Forces NextgenMap to run through all reads to find the max. read length. (default: off)" />
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
123 <param argument="--topn" name="topn" type="integer" optional="true" label="Prints the &lt;n&gt; best alignments sorted by alignment score [1]" />
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
124 <param argument="--strata" name="strata" type="boolean" optional="true" label="Only output the highest scoring mappings for any given read, up to &lt;n&gt; mappings per read. If a read has more than &lt;n&gt; mappings with the same score, it is discarded and reported as unmapped." />
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
125 <param argument="--keep-tags" name="keep_tags" type="boolean" optional="true" label="Copy BAM/SAM tags present in input file to output file (default: off)" />
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
126 <param argument="--no-unal" name="no_unal" type="boolean" optional="true" label="Don't print unaligned reads to output file." />
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
127 <param argument="--hard-clip" name="hard_clip" type="boolean" optional="true" label="Hard instead of soft clipping in SAM output" />
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
128 <param argument="--silent-clip" name="silent_clip" type="boolean" optional="true" label="Hard clip reads but don't add clipping information to CIGAR string" />
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
129 <conditional name="rg">
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
130 <param type="select" name="rg_options" label="Add RG headers">
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
131 <option value="yes">Yes</option>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
132 <option value="no" selected="true">No</option>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
133 </param>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
134 <when value="yes">
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
135 <param argument="--rg-id" name="rg_id" type="text" optional="true" label="Adds RG:Z: &lt;string&gt; to all alignments in SAM/BAM" >
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
136 <sanitizer>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
137 <valid initial="string.printable">
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
138 <remove value="&apos;"/>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
139 </valid>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
140 </sanitizer>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
141 </param>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
142 <param argument="--rg-sm" name="rg_sm" type="text" optional="true" label="RG header: Sample" >
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
143 <sanitizer>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
144 <valid initial="string.printable">
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
145 <remove value="&apos;"/>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
146 </valid>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
147 </sanitizer>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
148 </param>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
149 <param argument="--rg-lb" name="rg_lb" type="text" optional="true" label="RG header: Library" >
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
150 <sanitizer>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
151 <valid initial="string.printable">
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
152 <remove value="&apos;"/>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
153 </valid>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
154 </sanitizer>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
155 </param>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
156 <param argument="--rg-pl" name="rg_pl" type="text" optional="true" label="RG header: Platform" >
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
157 <sanitizer>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
158 <valid initial="string.printable">
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
159 <remove value="&apos;"/>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
160 </valid>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
161 </sanitizer>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
162 </param>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
163 <param argument="--rg-ds" name="rg_ds" type="text" optional="true" label="RG header: Description" >
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
164 <sanitizer>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
165 <valid initial="string.printable">
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
166 <remove value="&apos;"/>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
167 </valid>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
168 </sanitizer>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
169 </param>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
170 <param argument="--rg-dt" name="rg_dt" type="text" optional="true" label="RG header: Date (format: YYYY-MM-DD)" >
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
171 <sanitizer>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
172 <valid initial="string.printable">
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
173 <remove value="&apos;"/>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
174 </valid>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
175 </sanitizer>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
176 </param>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
177 <param argument="--rg-pu" name="rg_pu" type="text" optional="true" label="RG header: Platform unit" >
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
178 <sanitizer>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
179 <valid initial="string.printable">
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
180 <remove value="&apos;"/>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
181 </valid>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
182 </sanitizer>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
183 </param>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
184 <param argument="--rg-pi" name="rg_pi" type="text" optional="true" label="RG header: Median insert size" >
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
185 <sanitizer>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
186 <valid initial="string.printable">
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
187 <remove value="&apos;"/>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
188 </valid>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
189 </sanitizer>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
190 </param>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
191 <param argument="--rg-pg" name="rg_pg" type="text" optional="true" label="RG header: Programs" >
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
192 <sanitizer>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
193 <valid initial="string.printable">
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
194 <remove value="&apos;"/>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
195 </valid>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
196 </sanitizer>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
197 </param>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
198 <param argument="--rg-cn" name="rg_cn" type="text" optional="true" label="RG header: sequencing center" >
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
199 <sanitizer>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
200 <valid initial="string.printable">
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
201 <remove value="&apos;"/>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
202 </valid>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
203 </sanitizer>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
204 </param>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
205 <param argument="--rg-fo" name="rg_fo" type="text" optional="true" label="RG header: Flow order" >
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
206 <sanitizer>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
207 <valid initial="string.printable">
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
208 <remove value="&apos;"/>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
209 </valid>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
210 </sanitizer>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
211 </param>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
212 <param argument="--rg-ks" name="rg_ks" type="text" optional="true" label="RG header: Key sequence" >
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
213 <sanitizer>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
214 <valid initial="string.printable">
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
215 <remove value="&apos;"/>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
216 </valid>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
217 </sanitizer>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
218 </param>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
219 </when>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
220 <when value="no">
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
221 </when>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
222 </conditional>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
223 <param argument="--pe-delimiter" name="pe_delimiter" type="text" optional="true" label="Character used in suffix that identifies mate 1 and 2. E.g. /1 and /2. This suffixes will be removed to ensure proper SAM output (default: /)" >
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
224 <sanitizer>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
225 <valid initial="string.printable">
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
226 <remove value="&apos;"/>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
227 </valid>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
228 </sanitizer>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
229 </param>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
230 </when>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
231 <when value="no">
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
232 </when>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
233 </conditional>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
234 </inputs>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
235 <outputs>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
236 <data name="output1" format="bam" label="${tool.name} on ${on_string}: BAM" />
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
237 </outputs>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
238 <tests>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
239 <test>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
240 <param name="single_paired_selector" value="paired"/>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
241 <param name="forward" ftype="fastq.gz" value="R1.fq.gz"/>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
242 <param name="reverse" ftype="fastq.gz" value="R2.fq.gz"/>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
243 <param name="ref" ftype="fasta" value="ref.fa"/>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
244 <output name="output1" ftype="bam" file="results.bam"/>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
245 </test>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
246 </tests>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
247 <help><![CDATA[
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
248 **NextGenMap**
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
249
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
250 `NextGenMap`_ is a flexible highly sensitive short read mapping tool that handles much higher mismatch rates than comparable algorithms while still outperforming them in terms of runtime. This allows analysing large scale datasets even with increased SNP rates or higher error rates (e.g. caused by specialized experimental protocols) and avoids biases caused by highly variable regions in the genome.
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
251
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
252 -----
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
253
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
254 **Usage**
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
255
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
256 ngm [-c <path>] {-q <reads> [-p] | -1 <mates 1> -2 <mates 2>} -r <reference> -o <output> [parameter]
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
257
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
258
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
259 .. _NextGenMap: https://github.com/Cibiv/NextGenMap/wiki
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
260
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
261 ]]></help>
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
262 <expand macro="citations" />
1a24072a6eb7 Uploaded
dnbenso
parents:
diff changeset
263 </tool>