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