annotate AddOrReplaceReadGroups.xml @ 62:876ea92b5c28 draft

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