annotate AddOrReplaceReadGroups.xml @ 25:fae82a000024 draft

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