annotate picard_RevertOriginalBaseQualitiesAndAddMateCigar.xml @ 0:b76a4f17bbbb draft

Uploaded
author devteam
date Thu, 23 Oct 2014 11:31:30 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
1 <tool name="RevertOriginalBaseQualitiesAndAddMateCigar" id="picard_RevertOriginalBaseQualitiesAndAddMateCigar" version="1.122.0">
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
2 <description>revert the original base qualities and add the mate cigar tag</description>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
3 <requirements>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
4 <requirement type="package" version="1.122.0">picard</requirement>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
5 </requirements>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
6
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
7 <macros>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
8 <import>picard_macros.xml</import>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
9 </macros>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
10
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
11 <command>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
12 @java_options@
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
13
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
14 java -jar \$JAVA_JAR_PATH/RevertOriginalBaseQualitiesAndAddMateCigar.jar
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
15
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
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
19 RESTORE_ORIGINAL_QUALITIES="${restore_original_qualities}"
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
20 MAX_RECORDS_TO_EXAMINE="${max_records_to_examine}"
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
21
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
22 SORT_ORDER=coordinate
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
23 VALIDATION_STRINGENCY="${validation_stringency}"
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
24 QUIET=true
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
25 VERBOSITY=ERROR
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
26
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
27 </command>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
28 <inputs>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
29 <param format="sam,bam" name="inputFile" type="data" multiple="True" label="Select SAM/BAM dataset or dataset collection" help="If empty, upload or import a SAM/BAM dataset"/>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
30 <param name="restore_original_qualities" type="boolean" checked="True" label="Restore original qualities from the OQ field to the QUAL field if available" help="RESTORE_ORIGINAL_QUALITIES; default=True"/>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
31 <param name="max_records_to_examine" type="integer" value="10000" min="0" label="The maximum number of records to examine to determine if we can exit early and not output, given that there are a no original base qualities (if we are to restore) and mate cigars exist. Set to 0 to never skip the dataset" help="MAX_RECORDS_TO_EXAMINE; default=10,000"/>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
32
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
33 <expand macro="VS" />
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
34
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
35 </inputs>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
36
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
37 <outputs>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
38 <data format="bam" name="outFile" label="${tool.name} on ${on_string}: Reverted BAM dataset"/>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
39 </outputs>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
40
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
41 <tests>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
42 <test>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
43 <param name="inputFile" value="picard_RevertOriginalBaseQualitiesAndAddMateCigar.bam" ftype="bam"/>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
44 <param name="restore_original_qualities" value="True"/>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
45 <param name="max_records_to_examine" value="10000"/>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
46 <param name="validation_stringency" value="LENIENT"/>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
47 <output name="outFile" file="picard_RevertOriginalBaseQualitiesAndAddMateCigar_test1.bam" ftype="bam" lines_diff="2"/>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
48 </test>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
49 </tests>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
50
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
51 <stdio>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
52 <exit_code range="1:" level="fatal"/>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
53 </stdio>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
54
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
55 <help>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
56
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
57 **Purpose**
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
58
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
59 Reverts the original base qualities and adds the mate cigar tag to SAM or BAMs.
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
60
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
61 @dataset_collections@
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
62
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
63 @description@
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
64
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
65 RESTORE_ORIGINAL_QUALITIES=Boolean
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
66 OQ=Boolean True to restore original qualities from the OQ field to the QUAL field if available.
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
67 Default value: true. Possible values: {true, false}
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
68
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
69 MAX_RECORDS_TO_EXAMINE=IntegerThe maximum number of records to examine to determine if we can exit early and not
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
70 output, given that there are a no original base qualities (if we are to restore) and mate
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
71 cigars exist. Set to 0 to never skip the file. Default value: 10000.
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
72
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
73 @more_info@
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
74
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
75 </help>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
76 </tool>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
77
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
78