annotate picard_AddCommentsToBam.xml @ 28:881d7645d1bf draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 92e89c89178482870c14cf15f38fbfd4470aa130"
author iuc
date Sat, 15 Jan 2022 12:39:30 +0000
parents 2a17c789e0a5
children f9242e01365a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19
5053a18d9bc8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 7036343b9ac0a0ffc2ce4f6db465b9298ef05e73
iuc
parents: 14
diff changeset
1 <tool name="AddCommentsToBam" id="picard_AddCommentsToBam" version="@TOOL_VERSION@.@WRAPPER_VERSION@">
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
2 <description>add comments to BAM dataset</description>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
3 <macros>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
4 <import>picard_macros.xml</import>
20
2a17c789e0a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 5ebd6c8453b49dd6a36e372eb1eb6e323bb7ad8a
iuc
parents: 19
diff changeset
5 <token name="@WRAPPER_VERSION@">1</token>
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
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: 9
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
9 @java_options@
13
7e6fd3d0f16e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents: 12
diff changeset
10 @symlink_element_identifier@
12
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
11 picard
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
12 AddCommentsToBam
14
465cbb0cf2eb planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 74ee0f0b594075fab7f707aaffb4a7f9dac35f2f
devteam
parents: 13
diff changeset
13 INPUT='$escaped_element_identifier'
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
14 OUTPUT="${outFile}"
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
15 #for $element in $comments:
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
16 COMMENT="${element.comment}"
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
17 #end for
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
18 QUIET=true
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
19 VERBOSITY=ERROR
20
2a17c789e0a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 5ebd6c8453b49dd6a36e372eb1eb6e323bb7ad8a
iuc
parents: 19
diff changeset
20 @TMPDIR_OPTION@
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
21 VALIDATION_STRINGENCY=${validation_stringency}
12
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
22 ]]></command>
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
23
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
24 <inputs>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
25 <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" />
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
26 <repeat name="comments" title="Comment" min="1" help="You can provide multiple comments">
9
5eaa8a968300 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 1869970193a1878acbc0f8a79b81dd02b37f1dc1
devteam
parents: 8
diff changeset
27 <param name="comment" type="text" label="Add this comment to BAM dataset" help="COMMENT"/>
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
28 </repeat>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
29
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
30 <expand macro="VS" />
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
31
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
32 </inputs>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
33
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
34 <outputs>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
35 <data name="outFile" format="bam" label="${tool.name} on ${on_string}: BAM with comments"/>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
36 </outputs>
12
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
37
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
38
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
39 <tests>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
40 <test>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
41 <param name="inputFile" value="picard_AddCommentsToBam.bam" />
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
42 <param name="comment" value="test1" />
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
43 <param name="validation_stringency" value="LENIENT" />
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
44 <output name="outFile" file="picard_AddCommentsToBam_test1.bam" ftype="bam" />
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
45 </test>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
46 </tests>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
47 <help>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
48
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
49 .. class:: infomark
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
50
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
51 **Purpose**
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
52
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
53 Adds one or more comments (@CO) to the header of a specified BAM dataset.
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
54
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
55 @dataset_collections@
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
56
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
57 @description@
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
58
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
59 COMMENT=String
12
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 9
diff changeset
60 C=String Comments to add to the BAM file This option may be specified 0 or more times.
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
61
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
62 @more_info@
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
63 </help>
19
5053a18d9bc8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 7036343b9ac0a0ffc2ce4f6db465b9298ef05e73
iuc
parents: 14
diff changeset
64 <expand macro="citations" />
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
65 </tool>