annotate AddOrReplaceReadGroups.xml @ 17:bbe7940ff423 draft

Uploaded
author devteam
date Tue, 04 Feb 2014 15:34:44 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
1 <tool name="Add or Replace Groups" id="picard_ARRG" version="1.99">
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
2 <command interpreter="java -jar -Xmx8g">
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
3 $JAVA_JAR_PATH/AddOrReplaceReadGroups.jar
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
4 INPUT="${inputFile}"
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
5 RGLB="${rglb}"
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
6 RGPL="${rgpl}"
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
7 RGPU="${rgpu}"
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
8 RGSM="${rgsm}"
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
9 RGID="${rgid}"
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
10 #if $readGroupOpts.rgOpts == "full"
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
11 RGCN="${readGroupOpts.rgcn}"
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
12 RGDS="${readGroupOpts.rgds}"
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
13 RGPI="${readGroupOpts.rgpi}"
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
14 #end if
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
15 #if $reporting.opt == "full"
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
16 VALIDATION_STRINGENCY="${reporting.vs}"
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
17 QUIET="${reporting.verbosity}"
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
18 #else
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
19 VALIDATION_STRINGENCY=LENIENT
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
20 QUIET=True
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
21 #end if
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
22 OUTPUT="${outFile}"
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
23 TMP_DIR="${__new_file_path__}"
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
24 </command>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
25
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
26 <stdio>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
27 <exit_code range="0" level="warning" description="Tool finished correctly" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
28 </stdio>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
29
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
30
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
31 <inputs>
bbe7940ff423 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"
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
33 help="If empty, upload or import a SAM/BAM dataset." />
bbe7940ff423 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." />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
35 <param name="rgsm" value="" type="text" label="Read group sample name (SM tag)" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
36 <param name="rglb" value="" type="text" label="Read group library (LB tag)" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
37 <param name="rgpl" value="" type="text" label="Read group platform (PL tag)" help="illumina, solid, 454, pacbio, helicos" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
38 <param name="rgpu" value="" type="text" label="Read group platform unit" help="like run barcode, etc." />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
39 <conditional name="readGroupOpts">
bbe7940ff423 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">
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
41 <option value="preSet">Use pre-set defaults</option>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
42 <option value="full">Set optional arguments</option>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
43 </param>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
44 <when value="preSet" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
45 <when value="full">
bbe7940ff423 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)" />
bbe7940ff423 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)" />
bbe7940ff423 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)" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
49 </when>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
50 </conditional>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
51
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
52 <conditional name="reporting">
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
53 <param name="opt" type="select" label="Change reporting options" help="Allows you to set Validation Stringency and Verbosity">
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
54 <option value="preSet">Use pre-set defaults</option>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
55 <option value="full">Set optional arguments</option>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
56 </param>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
57 <when value="preSet" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
58 <when value="full">
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
59 <param name="vs" type="select" label="Set validation stringency">
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
60 <option value="LENIENT" selected="True">Lenient</option>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
61 <option value="STRICT">Strict</option>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
62 <option value="SILENT">Silent</option>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
63 </param>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
64 <param name="verbosity" type="select" label="Enable or supress reporting of job summary to Standard Error">
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
65 <option value="True" selected="True">Supress</option>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
66 <option value="False">Enable</option>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
67 </param>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
68 </when>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
69 </conditional>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
70
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
71 </inputs>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
72 <outputs>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
73 <data name="outFile" format="bam">
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
74 </data>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
75 </outputs>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
76 <tests>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
77 <test>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
78 <!-- Command for replacing read groups in bam:
bbe7940ff423 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
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
80 -->
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
81 <param name="inputFile" value="PICARD-in-noHeader.sam" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
82 <param name="rglb" value="test1" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
83 <param name="rgpl" value="Illumina" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
84 <param name="rgpu" value="PLAT" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
85 <param name="rgsm" value="sample1" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
86 <param name="rgid" value="test1" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
87 <param name="rgOpts" value="preSet" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
88 <param name="opt" value="preSet" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
89 <output name="outFile" file="PICARD-ARRG-test1.bam" lines_diff="2" ftype="bam" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
90 </test>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
91 <test>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
92 <!-- Command for replacing read groups in sam:
bbe7940ff423 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
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
94 picard_ARRG_input1.bam can be created from picard_ARRG_input1.sam
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
95 -->
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
96 <param name="inputFile" value="PICARD-in.sam" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
97 <param name="rglb" value="test2" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
98 <param name="rgpl" value="Illumina" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
99 <param name="rgpu" value="PLAT" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
100 <param name="rgsm" value="sample2" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
101 <param name="rgid" value="test2" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
102 <param name="rgOpts" value="preSet" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
103 <param name="opt" value="preSet" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
104 <output name="outFile" file="PICARD-ARRG-test2.bam" lines_diff="2" ftype="bam" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
105 </test>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
106 <test>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
107 <!-- Command for adding read groups in sam:
bbe7940ff423 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
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
109 -->
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
110 <param name="inputFile" value="PICARD-in.bam" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
111 <param name="rglb" value="test3" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
112 <param name="rgpl" value="Illumina" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
113 <param name="rgpu" value="PLAT" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
114 <param name="rgsm" value="sample3" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
115 <param name="rgid" value="test3" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
116 <param name="rgOpts" value="preSet" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
117 <param name="opt" value="preSet" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
118 <output name="outFile" file="PICARD-ARRG-test3.bam" lines_diff="2" ftype="bam" />
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
119 </test>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
120 </tests>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
121 <help>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
122
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
123 .. class:: infomark
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
124
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
125 **Purpose**
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
126
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
127 Add or Replace Read Groups in an input BAM or SAM file.
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
128
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
129 **Read Groups are Important!**
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
130
bbe7940ff423 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:
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
132
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
133 .. csv-table::
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
134 :header-rows: 1
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
135
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
136 Tag,Importance,Definition,Meaning
bbe7940ff423 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."
bbe7940ff423 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)."
bbe7940ff423 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."
bbe7940ff423 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."
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
141
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
142 **Example of Read Group usage**
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
143
bbe7940ff423 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::
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
145
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
146 Dad's data:
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
147 @RG ID:FLOWCELL1.LANE1 PL:illumina LB:LIB-DAD-1 SM:DAD PI:200
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
148 @RG ID:FLOWCELL1.LANE2 PL:illumina LB:LIB-DAD-1 SM:DAD PI:200
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
149 @RG ID:FLOWCELL1.LANE3 PL:illumina LB:LIB-DAD-2 SM:DAD PI:400
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
150 @RG ID:FLOWCELL1.LANE4 PL:illumina LB:LIB-DAD-2 SM:DAD PI:400
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
151
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
152 Mom's data:
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
153 @RG ID:FLOWCELL1.LANE5 PL:illumina LB:LIB-MOM-1 SM:MOM PI:200
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
154 @RG ID:FLOWCELL1.LANE6 PL:illumina LB:LIB-MOM-1 SM:MOM PI:200
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
155 @RG ID:FLOWCELL1.LANE7 PL:illumina LB:LIB-MOM-2 SM:MOM PI:400
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
156 @RG ID:FLOWCELL1.LANE8 PL:illumina LB:LIB-MOM-2 SM:MOM PI:400
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
157
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
158 Kid's data:
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
159 @RG ID:FLOWCELL2.LANE1 PL:illumina LB:LIB-KID-1 SM:KID PI:200
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
160 @RG ID:FLOWCELL2.LANE2 PL:illumina LB:LIB-KID-1 SM:KID PI:200
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
161 @RG ID:FLOWCELL2.LANE3 PL:illumina LB:LIB-KID-2 SM:KID PI:400
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
162 @RG ID:FLOWCELL2.LANE4 PL:illumina LB:LIB-KID-2 SM:KID PI:400
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
163
bbe7940ff423 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).
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
165
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
166 **Picard documentation**
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
167
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
168 This is a Galaxy wrapper for AddOrReplaceReadGroups, a part of the external package Picard-tools_.
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
169
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
170 .. _Picard-tools: http://www.google.com/search?q=picard+samtools
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
171
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
172 ------
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
173
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
174 .. class:: infomark
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
175
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
176 **Inputs, outputs, and parameters**
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
177
bbe7940ff423 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
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
179 be coordinate-sorted. Galaxy currently coordinate-sorts all bam files.
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
180
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
181 The output file is either bam (the default) or sam, according to user selection,
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
182 and contains the same information as the input file except for the appropraite
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
183 additional (or modified) read group tags. Bam is recommended since it is smaller.
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
184
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
185 From the Picard documentation.
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
186
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
187 AddOrReplaceReadGroups REQUIRED parameters::
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
188
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
189 Option (Type) Description
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
190
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
191 RGLB=String Read Group Library
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
192 RGPL=String Read Group platform (e.g. illumina, solid)
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
193 RGPU=String Read Group platform unit (eg. run barcode)
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
194 RGSM=String Read Group sample name
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
195 RGID=String Read Group ID; Default value: null (empty)
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
196
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
197 AddOrReplaceReadGroups OPTIONAL parameters::
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
198
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
199 Option (Type) Description
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
200
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
201 RGCN=String Read Group sequencing center name; Default value: null (empty)
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
202 RGDS=String Read Group description Default value: null (empty)
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
203
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
204 AddOrReplaceReadGroups REPORTING parameters::
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
205
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
206 Option (Type) Description
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
207
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
208 VALIDATION_STRINGENCY=ValidationStringency Validation stringency for all SAM files read by this program.
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
209 Setting stringency to SILENT can improve performance when
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
210 processing a BAM file in which variable-length data (read,
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
211 qualities, tags) do not otherwise need to be decoded.
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
212 Default value (in Galaxy): LENIENT.
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
213
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
214 QUIET=Boolean Whether to suppress job-summary info on System.err.
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
215 Default value (in Galaxy): True.
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
216
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
217
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
218 .. class:: warningmark
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
219
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
220 **Warning on SAM/BAM quality**
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
221
bbe7940ff423 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**
bbe7940ff423 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
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
224 to be the only way to deal with SAM/BAM that cannot be parsed.
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
225
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
226
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
227
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
228 </help>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
229 </tool>
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
230
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
231
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
232
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
233
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
234
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
235
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
236
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
237
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
238
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
239
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
240
bbe7940ff423 Uploaded
devteam
parents:
diff changeset
241