annotate picard_AddCommentsToBam.xml @ 0:4419e9980172 draft

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