annotate picard_AddCommentsToBam.xml @ 0:5166ed57b1c4 draft

Uploaded version 1.135
author avowinkel
date Mon, 06 Jul 2015 14:46:32 -0400
parents
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="AddCommentsToBam" id="picard_AddCommentsToBam" version="1.135">
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
2 <description>add comments to BAM dataset</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 </macros>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
6 <expand macro="requirements" />
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
7 <command>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
8 @java_options@
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
9 java -jar \$JAVA_JAR_PATH/picard.jar
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
10 AddCommentsToBam
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
11 INPUT="${inputFile}"
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
12 OUTPUT="${outFile}"
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
13 #for $element in $comments:
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
14 COMMENT="${element.comment}"
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
15 #end for
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
16 QUIET=true
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
17 VERBOSITY=ERROR
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
18 VALIDATION_STRINGENCY=${validation_stringency}
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
19 </command>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
20
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
21 <inputs>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
22 <param format="bam" 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
23 <repeat name="comments" title="Comment" min="1" help="You can provide multiple comments">
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
24 <param name="comment" type="text" size="50" label="Add this comment to BAM dataset" help="COMMENT"/>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
25 </repeat>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
26
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
27 <expand macro="VS" />
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
28
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
29 </inputs>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
30
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
31 <outputs>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
32 <data name="outFile" format="bam" label="${tool.name} on ${on_string}: BAM with comments"/>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
33 </outputs>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
34
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
35 <stdio>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
36 <exit_code range="1:" level="fatal"/>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
37 </stdio>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
38
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
39 <tests>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
40 <test>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
41 <param name="inputFile" value="picard_AddCommentsToBam.bam" />
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
42 <param name="comment" value="test1" />
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
43 <param name="validation_stringency" value="LENIENT" />
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
44 <output name="outFile" file="picard_AddCommentsToBam_test1.bam" ftype="bam" />
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
45 </test>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
46 </tests>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
47 <help>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
48
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
49 .. class:: infomark
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
50
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
51 **Purpose**
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
52
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
53 Adds one or more comments (@CO) to the header of a specified BAM dataset.
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
54
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
55 @dataset_collections@
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
56
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
57 @description@
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
58
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
59 COMMENT=String
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
60 C=String Comments to add to the BAM file This option may be specified 0 or more times.
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
61
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
62 @more_info@
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
63 </help>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
64 </tool>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
65
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
66
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
67
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
68
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
69
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
70
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
71
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
72
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
73
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
74
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
75
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
76
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
77