annotate picard_AddOrReplaceReadGroups.xml @ 1:5f1da1eadb39 draft default tip

add symlinked macros file
author avowinkel
date Mon, 06 Jul 2015 14:48:21 -0400
parents 5166ed57b1c4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
1 <tool name="AddOrReplaceReadGroups" id="picard_AddOrReplaceReadGroups" version="1.135-gx-1">
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
2 <description>add or replaces read group information</description>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
3 <macros>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
4 <import>picard_macros.xml</import>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
5 <import>read_group_macros.xml</import>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
6 </macros>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
7 <expand macro="requirements" />
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
8 <command>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
9 @define_read_group_helpers@
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
10 #set $rg_auto_name = $read_group_name_default($inputFile)
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
11 @set_read_group_vars@
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
12 @java_options@
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
13 java -jar \$JAVA_JAR_PATH/picard.jar
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
14 AddOrReplaceReadGroups
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
15 INPUT="${inputFile}"
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
16 $format_read_group("RGLB=", $rg_lb, '"')
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
17 $format_read_group("RGPL=", $rg_pl, '"')
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
18 $format_read_group("RGPU=", $rg_pu, '"')
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
19 $format_read_group("RGSM=", $rg_sm, '"')
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
20 $format_read_group("RGID=", $rg_id, '"')
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
21 $format_read_group("RGDS=", $rg_ds, '"')
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
22 $format_read_group("RGPI=", $rg_pi, '"')
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
23 $format_read_group("RGDT=", $rg_dt, '"')
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
24 VALIDATION_STRINGENCY="${validation_stringency}"
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
25 QUIET=true
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
26 VERBOSITY=ERROR
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
27 OUTPUT="${outFile}"
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
28
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
29 </command>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
30
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
31 <inputs>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
32 <param format="bam,sam" name="inputFile" type="data" label="Select SAM/BAM dataset or dataset collection" help="If empty, upload or import a SAM/BAM dataset" />
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
33 <expand macro="read_group_inputs_picard" />
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
34 <expand macro="VS" />
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
35
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
36 </inputs>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
37
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
38 <outputs>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
39 <data name="outFile" format="bam" label="${tool.name} on ${on_string}: BAM with replaced/modified readgroups"/>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
40 </outputs>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
41
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
42 <stdio>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
43 <exit_code range="1:" level="fatal"/>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
44 </stdio>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
45
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
46 <tests>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
47 <test>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
48 <param name="inputFile" value="picard_ARRG.bam" />
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
49 <param name="LB" value="tumor-a" />
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
50 <param name="PL" value="ILLUMINA" />
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
51 <param name="PU" value="run-1" />
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
52 <param name="SM" value="sample-a" />
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
53 <param name="ID" value="id-1" />
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
54 <output name="outFile" file="picard_ARRG_test1.bam" ftype="bam" />
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
55 </test>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
56 </tests>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
57 <help>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
58
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
59 .. class:: infomark
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
60
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
61 **Purpose**
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
62
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
63 Add or Replace Read Groups in an input BAM or SAM file.
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
64
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
65 @dataset_collections@
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
66
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
67 @RG@
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
68
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
69 @description@
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
70
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
71 INPUT=File
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
72 I=File Input file (bam or sam). Required.
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
73
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
74 OUTPUT=File
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
75 O=File Output file (bam or sam). Required.
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
76
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
77 SORT_ORDER=SortOrder
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
78 SO=SortOrder Optional sort order to output in. If not supplied OUTPUT is in the same order as INPUT.
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
79 Default value: null. Possible values: {unsorted, queryname, coordinate}
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
80
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
81 RGID=String
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
82 ID=String Read Group ID Default value: 1. This option can be set to 'null' to clear the default
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
83 value.
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
84
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
85 RGLB=String
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
86 LB=String Read Group Library Required.
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
87
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
88 RGPL=String
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
89 PL=String Read Group platform (e.g. illumina, solid) Required.
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
90
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
91 RGPU=String
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
92 PU=String Read Group platform unit (eg. run barcode) Required.
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
93
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
94 RGSM=String
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
95 SM=String Read Group sample name Required.
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
96
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
97 RGCN=String
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
98 CN=String Read Group sequencing center name Default value: null.
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
99
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
100 RGDS=String
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
101 DS=String Read Group description Default value: null.
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
102
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
103 RGDT=Iso8601Date
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
104 DT=Iso8601Date Read Group run date Default value: null.
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
105
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
106 RGPI=Integer
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
107 PI=Integer Read Group predicted insert size Default value: null.
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
108
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
109 @more_info@
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
110 </help>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
111 </tool>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
112
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
113
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
114
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
115
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
116
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
117
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
118
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
119
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
120
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
121
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
122
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
123
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
124
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
125