annotate AddOrReplaceReadGroups.xml @ 15:197ec26418ab draft

Uploaded
author devteam
date Tue, 04 Feb 2014 13:16:26 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
197ec26418ab Uploaded
devteam
parents:
diff changeset
1 <tool name="Add or Replace Groups" id="picard_ARRG" version="1.99">
197ec26418ab Uploaded
devteam
parents:
diff changeset
2 <command interpreter="java -jar -Xmx8g">
197ec26418ab Uploaded
devteam
parents:
diff changeset
3 AddOrReplaceReadGroups.jar
197ec26418ab Uploaded
devteam
parents:
diff changeset
4 INPUT="${inputFile}"
197ec26418ab Uploaded
devteam
parents:
diff changeset
5 RGLB="${rglb}"
197ec26418ab Uploaded
devteam
parents:
diff changeset
6 RGPL="${rgpl}"
197ec26418ab Uploaded
devteam
parents:
diff changeset
7 RGPU="${rgpu}"
197ec26418ab Uploaded
devteam
parents:
diff changeset
8 RGSM="${rgsm}"
197ec26418ab Uploaded
devteam
parents:
diff changeset
9 RGID="${rgid}"
197ec26418ab Uploaded
devteam
parents:
diff changeset
10 #if $readGroupOpts.rgOpts == "full"
197ec26418ab Uploaded
devteam
parents:
diff changeset
11 RGCN="${readGroupOpts.rgcn}"
197ec26418ab Uploaded
devteam
parents:
diff changeset
12 RGDS="${readGroupOpts.rgds}"
197ec26418ab Uploaded
devteam
parents:
diff changeset
13 RGPI="${readGroupOpts.rgpi}"
197ec26418ab Uploaded
devteam
parents:
diff changeset
14 #end if
197ec26418ab Uploaded
devteam
parents:
diff changeset
15 #if $reporting.opt == "full"
197ec26418ab Uploaded
devteam
parents:
diff changeset
16 VALIDATION_STRINGENCY="${reporting.vs}"
197ec26418ab Uploaded
devteam
parents:
diff changeset
17 QUIET="${reporting.verbosity}"
197ec26418ab Uploaded
devteam
parents:
diff changeset
18 #else
197ec26418ab Uploaded
devteam
parents:
diff changeset
19 VALIDATION_STRINGENCY=LENIENT
197ec26418ab Uploaded
devteam
parents:
diff changeset
20 QUIET=True
197ec26418ab Uploaded
devteam
parents:
diff changeset
21 #end if
197ec26418ab Uploaded
devteam
parents:
diff changeset
22 OUTPUT="${outFile}"
197ec26418ab Uploaded
devteam
parents:
diff changeset
23 TMP_DIR="${__new_file_path__}"
197ec26418ab Uploaded
devteam
parents:
diff changeset
24 </command>
197ec26418ab Uploaded
devteam
parents:
diff changeset
25
197ec26418ab Uploaded
devteam
parents:
diff changeset
26 <stdio>
197ec26418ab Uploaded
devteam
parents:
diff changeset
27 <exit_code range="0" level="warning" description="Tool finished correctly" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
28 </stdio>
197ec26418ab Uploaded
devteam
parents:
diff changeset
29
197ec26418ab Uploaded
devteam
parents:
diff changeset
30
197ec26418ab Uploaded
devteam
parents:
diff changeset
31 <inputs>
197ec26418ab Uploaded
devteam
parents:
diff changeset
32 <param format="bam,sam" name="inputFile" type="data" label="SAM/BAM dataset to add or replace read groups in"
197ec26418ab Uploaded
devteam
parents:
diff changeset
33 help="If empty, upload or import a SAM/BAM dataset." />
197ec26418ab Uploaded
devteam
parents:
diff changeset
34 <param name="rgid" value="1" type="text" label="Read group ID (ID tag)" help="The most important read group tag. Galaxy will use a value of '1' if nothing provided." />
197ec26418ab Uploaded
devteam
parents:
diff changeset
35 <param name="rgsm" value="" type="text" label="Read group sample name (SM tag)" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
36 <param name="rglb" value="" type="text" label="Read group library (LB tag)" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
37 <param name="rgpl" value="" type="text" label="Read group platform (PL tag)" help="illumina, solid, 454, pacbio, helicos" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
38 <param name="rgpu" value="" type="text" label="Read group platform unit" help="like run barcode, etc." />
197ec26418ab Uploaded
devteam
parents:
diff changeset
39 <conditional name="readGroupOpts">
197ec26418ab Uploaded
devteam
parents:
diff changeset
40 <param name="rgOpts" type="select" label="Specify additional (optional) arguments" help="Allows you to set GCN, RGDS, and RGPI">
197ec26418ab Uploaded
devteam
parents:
diff changeset
41 <option value="preSet">Use pre-set defaults</option>
197ec26418ab Uploaded
devteam
parents:
diff changeset
42 <option value="full">Set optional arguments</option>
197ec26418ab Uploaded
devteam
parents:
diff changeset
43 </param>
197ec26418ab Uploaded
devteam
parents:
diff changeset
44 <when value="preSet" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
45 <when value="full">
197ec26418ab Uploaded
devteam
parents:
diff changeset
46 <param name="rgcn" value="" type="text" label="Read group sequencing center name" help="Leave set to &lt;null&gt; for default (none)" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
47 <param name="rgds" value="" type="text" label="Read group description" help="Leave set to &lt;null&gt; for default (none)" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
48 <param name="rgpi" value="" type="text" label="Predicted insert size" help="Leave set to &lt;null&gt; for default (none)" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
49 </when>
197ec26418ab Uploaded
devteam
parents:
diff changeset
50 </conditional>
197ec26418ab Uploaded
devteam
parents:
diff changeset
51
197ec26418ab Uploaded
devteam
parents:
diff changeset
52 <conditional name="reporting">
197ec26418ab Uploaded
devteam
parents:
diff changeset
53 <param name="opt" type="select" label="Change reporting options" help="Allows you to set Validation Stringency and Verbosity">
197ec26418ab Uploaded
devteam
parents:
diff changeset
54 <option value="preSet">Use pre-set defaults</option>
197ec26418ab Uploaded
devteam
parents:
diff changeset
55 <option value="full">Set optional arguments</option>
197ec26418ab Uploaded
devteam
parents:
diff changeset
56 </param>
197ec26418ab Uploaded
devteam
parents:
diff changeset
57 <when value="preSet" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
58 <when value="full">
197ec26418ab Uploaded
devteam
parents:
diff changeset
59 <param name="vs" type="select" label="Set validation stringency">
197ec26418ab Uploaded
devteam
parents:
diff changeset
60 <option value="LENIENT" selected="True">Lenient</option>
197ec26418ab Uploaded
devteam
parents:
diff changeset
61 <option value="STRICT">Strict</option>
197ec26418ab Uploaded
devteam
parents:
diff changeset
62 <option value="SILENT">Silent</option>
197ec26418ab Uploaded
devteam
parents:
diff changeset
63 </param>
197ec26418ab Uploaded
devteam
parents:
diff changeset
64 <param name="verbosity" type="select" label="Enable or supress reporting of job summary to Standard Error">
197ec26418ab Uploaded
devteam
parents:
diff changeset
65 <option value="True" selected="True">Supress</option>
197ec26418ab Uploaded
devteam
parents:
diff changeset
66 <option value="False">Enable</option>
197ec26418ab Uploaded
devteam
parents:
diff changeset
67 </param>
197ec26418ab Uploaded
devteam
parents:
diff changeset
68 </when>
197ec26418ab Uploaded
devteam
parents:
diff changeset
69 </conditional>
197ec26418ab Uploaded
devteam
parents:
diff changeset
70
197ec26418ab Uploaded
devteam
parents:
diff changeset
71 </inputs>
197ec26418ab Uploaded
devteam
parents:
diff changeset
72 <outputs>
197ec26418ab Uploaded
devteam
parents:
diff changeset
73 <data name="outFile" format="bam">
197ec26418ab Uploaded
devteam
parents:
diff changeset
74 </data>
197ec26418ab Uploaded
devteam
parents:
diff changeset
75 </outputs>
197ec26418ab Uploaded
devteam
parents:
diff changeset
76 <tests>
197ec26418ab Uploaded
devteam
parents:
diff changeset
77 <test>
197ec26418ab Uploaded
devteam
parents:
diff changeset
78 <!-- Command for replacing read groups in bam:
197ec26418ab Uploaded
devteam
parents:
diff changeset
79 java -jar AddOrReplaceReadGroups.jar VALIDATION_STRINGENCY=LENIENT INPUT=./test-data/in-noHeader.sam OUTPUT=./test-data/PICARD-ARRG-test1.bam RGLB=test1 RGPL=Illumina RGPU=PLAT RGSM=sample1 RGID=test1 QUIET=True
197ec26418ab Uploaded
devteam
parents:
diff changeset
80 -->
197ec26418ab Uploaded
devteam
parents:
diff changeset
81 <param name="inputFile" value="PICARD-in-noHeader.sam" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
82 <param name="rglb" value="test1" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
83 <param name="rgpl" value="Illumina" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
84 <param name="rgpu" value="PLAT" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
85 <param name="rgsm" value="sample1" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
86 <param name="rgid" value="test1" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
87 <param name="rgOpts" value="preSet" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
88 <param name="opt" value="preSet" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
89 <output name="outFile" file="PICARD-ARRG-test1.bam" lines_diff="2" ftype="bam" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
90 </test>
197ec26418ab Uploaded
devteam
parents:
diff changeset
91 <test>
197ec26418ab Uploaded
devteam
parents:
diff changeset
92 <!-- Command for replacing read groups in sam:
197ec26418ab Uploaded
devteam
parents:
diff changeset
93 java -jar AddOrReplaceReadGroups.jar VALIDATION_STRINGENCY=LENIENT INPUT=./test-data/in.sam OUTPUT=./test-data/PICARD-ARRG-test2.bam RGLB=test2 RGPL=Illumina RGPU=PLAT RGSM=sample2 RGID=test2 QUIET=True
197ec26418ab Uploaded
devteam
parents:
diff changeset
94 picard_ARRG_input1.bam can be created from picard_ARRG_input1.sam
197ec26418ab Uploaded
devteam
parents:
diff changeset
95 -->
197ec26418ab Uploaded
devteam
parents:
diff changeset
96 <param name="inputFile" value="PICARD-in.sam" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
97 <param name="rglb" value="test2" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
98 <param name="rgpl" value="Illumina" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
99 <param name="rgpu" value="PLAT" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
100 <param name="rgsm" value="sample2" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
101 <param name="rgid" value="test2" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
102 <param name="rgOpts" value="preSet" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
103 <param name="opt" value="preSet" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
104 <output name="outFile" file="PICARD-ARRG-test2.bam" lines_diff="2" ftype="bam" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
105 </test>
197ec26418ab Uploaded
devteam
parents:
diff changeset
106 <test>
197ec26418ab Uploaded
devteam
parents:
diff changeset
107 <!-- Command for adding read groups in sam:
197ec26418ab Uploaded
devteam
parents:
diff changeset
108 java -jar AddOrReplaceReadGroups.jar VALIDATION_STRINGENCY=LENIENT INPUT=./test-data/in.bam OUTPUT=./test-data/PICARD-ARRG-test3.bam RGLB=test3 RGPL=Illumina RGPU=PLAT RGSM=sample3 RGID=test3 QUIET=True
197ec26418ab Uploaded
devteam
parents:
diff changeset
109 -->
197ec26418ab Uploaded
devteam
parents:
diff changeset
110 <param name="inputFile" value="PICARD-in.bam" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
111 <param name="rglb" value="test3" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
112 <param name="rgpl" value="Illumina" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
113 <param name="rgpu" value="PLAT" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
114 <param name="rgsm" value="sample3" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
115 <param name="rgid" value="test3" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
116 <param name="rgOpts" value="preSet" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
117 <param name="opt" value="preSet" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
118 <output name="outFile" file="PICARD-ARRG-test3.bam" lines_diff="2" ftype="bam" />
197ec26418ab Uploaded
devteam
parents:
diff changeset
119 </test>
197ec26418ab Uploaded
devteam
parents:
diff changeset
120 </tests>
197ec26418ab Uploaded
devteam
parents:
diff changeset
121 <help>
197ec26418ab Uploaded
devteam
parents:
diff changeset
122
197ec26418ab Uploaded
devteam
parents:
diff changeset
123 .. class:: infomark
197ec26418ab Uploaded
devteam
parents:
diff changeset
124
197ec26418ab Uploaded
devteam
parents:
diff changeset
125 **Purpose**
197ec26418ab Uploaded
devteam
parents:
diff changeset
126
197ec26418ab Uploaded
devteam
parents:
diff changeset
127 Add or Replace Read Groups in an input BAM or SAM file.
197ec26418ab Uploaded
devteam
parents:
diff changeset
128
197ec26418ab Uploaded
devteam
parents:
diff changeset
129 **Read Groups are Important!**
197ec26418ab Uploaded
devteam
parents:
diff changeset
130
197ec26418ab Uploaded
devteam
parents:
diff changeset
131 Setting read groups correctly from the start will simplify your life greatly because you can merge multiple BAM files into one significantly reducing the number of analysis steps. Below we provide an explanation of read groups fields taken from GATK FAQ webpage:
197ec26418ab Uploaded
devteam
parents:
diff changeset
132
197ec26418ab Uploaded
devteam
parents:
diff changeset
133 .. csv-table::
197ec26418ab Uploaded
devteam
parents:
diff changeset
134 :header-rows: 1
197ec26418ab Uploaded
devteam
parents:
diff changeset
135
197ec26418ab Uploaded
devteam
parents:
diff changeset
136 Tag,Importance,Definition,Meaning
197ec26418ab Uploaded
devteam
parents:
diff changeset
137 "ID","Required","Read group identifier. Each @RG line must have a unique ID. The value of ID is used in the RG tags of alignment records. Must be unique among all read groups in header section. Read group IDs may be modified when merging SAM files in order to handle collisions.","Ideally, this should be a globally unique identify across all sequencing data in the world, such as the Illumina flowcell + lane name and number. Will be referenced by each read with the RG:Z field, allowing tools to determine the read group information associated with each read, including the sample from which the read came. Also, a read group is effectively treated as a separate run of the NGS instrument in tools like base quality score recalibration (a GATK component) -- all reads within a read group are assumed to come from the same instrument run and to therefore share the same error model."
197ec26418ab Uploaded
devteam
parents:
diff changeset
138 "SM","Sample. Use pool name where a pool is being sequenced.","Required. As important as ID.","The name of the sample sequenced in this read group. GATK tools treat all read groups with the same SM value as containing sequencing data for the same sample. Therefore it's critical that the SM field be correctly specified, especially when using multi-sample tools like the Unified Genotyper (a GATK component)."
197ec26418ab Uploaded
devteam
parents:
diff changeset
139 "PL","Platform/technology used to produce the read. Valid values: ILLUMINA, SOLID, LS454, HELICOS and PACBIO.","Important. Not currently used in the GATK, but was in the past, and may return. The only way to known the sequencing technology used to generate the sequencing data","It's a good idea to use this field."
197ec26418ab Uploaded
devteam
parents:
diff changeset
140 "LB","DNA preparation library identify","Essential for MarkDuplicates","MarkDuplicates uses the LB field to determine which read groups might contain molecular duplicates, in case the same DNA library was sequenced on multiple lanes."
197ec26418ab Uploaded
devteam
parents:
diff changeset
141
197ec26418ab Uploaded
devteam
parents:
diff changeset
142 **Example of Read Group usage**
197ec26418ab Uploaded
devteam
parents:
diff changeset
143
197ec26418ab Uploaded
devteam
parents:
diff changeset
144 Support we have a trio of samples: MOM, DAD, and KID. Each has two DNA libraries prepared, one with 400 bp inserts and another with 200 bp inserts. Each of these libraries is run on two lanes of an illumina hiseq, requiring 3 x 2 x 2 = 12 lanes of data. When the data come off the sequencer, we would create 12 BAM files, with the following @RG fields in the header::
197ec26418ab Uploaded
devteam
parents:
diff changeset
145
197ec26418ab Uploaded
devteam
parents:
diff changeset
146 Dad's data:
197ec26418ab Uploaded
devteam
parents:
diff changeset
147 @RG ID:FLOWCELL1.LANE1 PL:illumina LB:LIB-DAD-1 SM:DAD PI:200
197ec26418ab Uploaded
devteam
parents:
diff changeset
148 @RG ID:FLOWCELL1.LANE2 PL:illumina LB:LIB-DAD-1 SM:DAD PI:200
197ec26418ab Uploaded
devteam
parents:
diff changeset
149 @RG ID:FLOWCELL1.LANE3 PL:illumina LB:LIB-DAD-2 SM:DAD PI:400
197ec26418ab Uploaded
devteam
parents:
diff changeset
150 @RG ID:FLOWCELL1.LANE4 PL:illumina LB:LIB-DAD-2 SM:DAD PI:400
197ec26418ab Uploaded
devteam
parents:
diff changeset
151
197ec26418ab Uploaded
devteam
parents:
diff changeset
152 Mom's data:
197ec26418ab Uploaded
devteam
parents:
diff changeset
153 @RG ID:FLOWCELL1.LANE5 PL:illumina LB:LIB-MOM-1 SM:MOM PI:200
197ec26418ab Uploaded
devteam
parents:
diff changeset
154 @RG ID:FLOWCELL1.LANE6 PL:illumina LB:LIB-MOM-1 SM:MOM PI:200
197ec26418ab Uploaded
devteam
parents:
diff changeset
155 @RG ID:FLOWCELL1.LANE7 PL:illumina LB:LIB-MOM-2 SM:MOM PI:400
197ec26418ab Uploaded
devteam
parents:
diff changeset
156 @RG ID:FLOWCELL1.LANE8 PL:illumina LB:LIB-MOM-2 SM:MOM PI:400
197ec26418ab Uploaded
devteam
parents:
diff changeset
157
197ec26418ab Uploaded
devteam
parents:
diff changeset
158 Kid's data:
197ec26418ab Uploaded
devteam
parents:
diff changeset
159 @RG ID:FLOWCELL2.LANE1 PL:illumina LB:LIB-KID-1 SM:KID PI:200
197ec26418ab Uploaded
devteam
parents:
diff changeset
160 @RG ID:FLOWCELL2.LANE2 PL:illumina LB:LIB-KID-1 SM:KID PI:200
197ec26418ab Uploaded
devteam
parents:
diff changeset
161 @RG ID:FLOWCELL2.LANE3 PL:illumina LB:LIB-KID-2 SM:KID PI:400
197ec26418ab Uploaded
devteam
parents:
diff changeset
162 @RG ID:FLOWCELL2.LANE4 PL:illumina LB:LIB-KID-2 SM:KID PI:400
197ec26418ab Uploaded
devteam
parents:
diff changeset
163
197ec26418ab Uploaded
devteam
parents:
diff changeset
164 Note the hierarchical relationship between read groups (unique for each lane) to libraries (sequenced on two lanes) and samples (across four lanes, two lanes for each library).
197ec26418ab Uploaded
devteam
parents:
diff changeset
165
197ec26418ab Uploaded
devteam
parents:
diff changeset
166 **Picard documentation**
197ec26418ab Uploaded
devteam
parents:
diff changeset
167
197ec26418ab Uploaded
devteam
parents:
diff changeset
168 This is a Galaxy wrapper for AddOrReplaceReadGroups, a part of the external package Picard-tools_.
197ec26418ab Uploaded
devteam
parents:
diff changeset
169
197ec26418ab Uploaded
devteam
parents:
diff changeset
170 .. _Picard-tools: http://www.google.com/search?q=picard+samtools
197ec26418ab Uploaded
devteam
parents:
diff changeset
171
197ec26418ab Uploaded
devteam
parents:
diff changeset
172 ------
197ec26418ab Uploaded
devteam
parents:
diff changeset
173
197ec26418ab Uploaded
devteam
parents:
diff changeset
174 .. class:: infomark
197ec26418ab Uploaded
devteam
parents:
diff changeset
175
197ec26418ab Uploaded
devteam
parents:
diff changeset
176 **Inputs, outputs, and parameters**
197ec26418ab Uploaded
devteam
parents:
diff changeset
177
197ec26418ab Uploaded
devteam
parents:
diff changeset
178 Either a sam file or a bam file must be supplied. If a bam file is used, it must
197ec26418ab Uploaded
devteam
parents:
diff changeset
179 be coordinate-sorted. Galaxy currently coordinate-sorts all bam files.
197ec26418ab Uploaded
devteam
parents:
diff changeset
180
197ec26418ab Uploaded
devteam
parents:
diff changeset
181 The output file is either bam (the default) or sam, according to user selection,
197ec26418ab Uploaded
devteam
parents:
diff changeset
182 and contains the same information as the input file except for the appropraite
197ec26418ab Uploaded
devteam
parents:
diff changeset
183 additional (or modified) read group tags. Bam is recommended since it is smaller.
197ec26418ab Uploaded
devteam
parents:
diff changeset
184
197ec26418ab Uploaded
devteam
parents:
diff changeset
185 From the Picard documentation.
197ec26418ab Uploaded
devteam
parents:
diff changeset
186
197ec26418ab Uploaded
devteam
parents:
diff changeset
187 AddOrReplaceReadGroups REQUIRED parameters::
197ec26418ab Uploaded
devteam
parents:
diff changeset
188
197ec26418ab Uploaded
devteam
parents:
diff changeset
189 Option (Type) Description
197ec26418ab Uploaded
devteam
parents:
diff changeset
190
197ec26418ab Uploaded
devteam
parents:
diff changeset
191 RGLB=String Read Group Library
197ec26418ab Uploaded
devteam
parents:
diff changeset
192 RGPL=String Read Group platform (e.g. illumina, solid)
197ec26418ab Uploaded
devteam
parents:
diff changeset
193 RGPU=String Read Group platform unit (eg. run barcode)
197ec26418ab Uploaded
devteam
parents:
diff changeset
194 RGSM=String Read Group sample name
197ec26418ab Uploaded
devteam
parents:
diff changeset
195 RGID=String Read Group ID; Default value: null (empty)
197ec26418ab Uploaded
devteam
parents:
diff changeset
196
197ec26418ab Uploaded
devteam
parents:
diff changeset
197 AddOrReplaceReadGroups OPTIONAL parameters::
197ec26418ab Uploaded
devteam
parents:
diff changeset
198
197ec26418ab Uploaded
devteam
parents:
diff changeset
199 Option (Type) Description
197ec26418ab Uploaded
devteam
parents:
diff changeset
200
197ec26418ab Uploaded
devteam
parents:
diff changeset
201 RGCN=String Read Group sequencing center name; Default value: null (empty)
197ec26418ab Uploaded
devteam
parents:
diff changeset
202 RGDS=String Read Group description Default value: null (empty)
197ec26418ab Uploaded
devteam
parents:
diff changeset
203
197ec26418ab Uploaded
devteam
parents:
diff changeset
204 AddOrReplaceReadGroups REPORTING parameters::
197ec26418ab Uploaded
devteam
parents:
diff changeset
205
197ec26418ab Uploaded
devteam
parents:
diff changeset
206 Option (Type) Description
197ec26418ab Uploaded
devteam
parents:
diff changeset
207
197ec26418ab Uploaded
devteam
parents:
diff changeset
208 VALIDATION_STRINGENCY=ValidationStringency Validation stringency for all SAM files read by this program.
197ec26418ab Uploaded
devteam
parents:
diff changeset
209 Setting stringency to SILENT can improve performance when
197ec26418ab Uploaded
devteam
parents:
diff changeset
210 processing a BAM file in which variable-length data (read,
197ec26418ab Uploaded
devteam
parents:
diff changeset
211 qualities, tags) do not otherwise need to be decoded.
197ec26418ab Uploaded
devteam
parents:
diff changeset
212 Default value (in Galaxy): LENIENT.
197ec26418ab Uploaded
devteam
parents:
diff changeset
213
197ec26418ab Uploaded
devteam
parents:
diff changeset
214 QUIET=Boolean Whether to suppress job-summary info on System.err.
197ec26418ab Uploaded
devteam
parents:
diff changeset
215 Default value (in Galaxy): True.
197ec26418ab Uploaded
devteam
parents:
diff changeset
216
197ec26418ab Uploaded
devteam
parents:
diff changeset
217
197ec26418ab Uploaded
devteam
parents:
diff changeset
218 .. class:: warningmark
197ec26418ab Uploaded
devteam
parents:
diff changeset
219
197ec26418ab Uploaded
devteam
parents:
diff changeset
220 **Warning on SAM/BAM quality**
197ec26418ab Uploaded
devteam
parents:
diff changeset
221
197ec26418ab Uploaded
devteam
parents:
diff changeset
222 Many SAM/BAM files produced externally and uploaded to Galaxy do not fully conform to SAM/BAM specifications. Galaxy deals with this by using the **LENIENT**
197ec26418ab Uploaded
devteam
parents:
diff changeset
223 flag when it runs Picard, which allows reads to be discarded if they're empty or don't map. This appears
197ec26418ab Uploaded
devteam
parents:
diff changeset
224 to be the only way to deal with SAM/BAM that cannot be parsed.
197ec26418ab Uploaded
devteam
parents:
diff changeset
225
197ec26418ab Uploaded
devteam
parents:
diff changeset
226
197ec26418ab Uploaded
devteam
parents:
diff changeset
227
197ec26418ab Uploaded
devteam
parents:
diff changeset
228 </help>
197ec26418ab Uploaded
devteam
parents:
diff changeset
229 </tool>
197ec26418ab Uploaded
devteam
parents:
diff changeset
230
197ec26418ab Uploaded
devteam
parents:
diff changeset
231
197ec26418ab Uploaded
devteam
parents:
diff changeset
232
197ec26418ab Uploaded
devteam
parents:
diff changeset
233
197ec26418ab Uploaded
devteam
parents:
diff changeset
234
197ec26418ab Uploaded
devteam
parents:
diff changeset
235
197ec26418ab Uploaded
devteam
parents:
diff changeset
236
197ec26418ab Uploaded
devteam
parents:
diff changeset
237
197ec26418ab Uploaded
devteam
parents:
diff changeset
238
197ec26418ab Uploaded
devteam
parents:
diff changeset
239
197ec26418ab Uploaded
devteam
parents:
diff changeset
240
197ec26418ab Uploaded
devteam
parents:
diff changeset
241