annotate picard_CleanSam.xml @ 2:801f5e934011 draft default tip

Uploaded
author devteam
date Thu, 23 Oct 2014 11:40:52 -0400
parents b76a4f17bbbb
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
1 <tool id="picard_CleanSam" name="CleanSam" version="1.122.0">
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
2
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
3 <description>perform SAM/BAM grooming</description>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
4
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
5 <requirements>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
6 <requirement type="package" version="1.122.0">picard</requirement>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
7 </requirements>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
8
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
9 <macros>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
10 <import>picard_macros.xml</import>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
11 </macros>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
12
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
13 <command>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
14 @java_options@
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
15 java -jar \$JAVA_JAR_PATH/CleanSam.jar
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
16 INPUT="${inputFile}"
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
17 OUTPUT="${outFile}"
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
18 QUIET=true
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
19 VERBOSITY=ERROR
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
20 VALIDATION_STRINGENCY=${validation_stringency}
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
21 </command>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
22
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
23 <inputs>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
24 <param name="inputFile" type="data" format="sam,bam" label="Select SAM/BAM dataset or dataset collection" help="If empty, upload or import a SAM/BAM dataset"/>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
25
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
26 <expand macro="VS" />
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
27
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
28 </inputs>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
29
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
30 <outputs>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
31 <data name="outFile" format="bam" label="${tool.name} on ${on_string}: cleaned BAM dataset">
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
32 </data>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
33 </outputs>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
34
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
35 <stdio>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
36 <exit_code range="1:" level="fatal"/>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
37 </stdio>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
38
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
39 <tests>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
40 <test>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
41 <param name="inputFile" ftype="bam" value="picard_CleanSam.bam" />
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
42 <output name="outFile" file="picard_CleanSam_test1.bam" ftype="bam" />
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
43 </test>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
44 </tests>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
45
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
46 <help>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
47
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
48 .. class:: infomark
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
49
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
50 **Purpose**
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
51
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
52 Read SAM/BAM and perform various fix-ups. Currently, the only fix-ups are:
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
53
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
54 1. to soft-clip an alignment that hangs off the end of its reference sequence.
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
55 2. to set MAPQ to 0 if a read is unmapped.
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
56
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
57 @dataset_collections@
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
58
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
59 @more_info@
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
60
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
61 </help>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
62 </tool>