annotate picard_RevertOriginalBaseQualitiesAndAddMateCigar.xml @ 1:5f1da1eadb39 draft default tip

add symlinked macros file
author avowinkel
date Mon, 06 Jul 2015 14:48:21 -0400
parents 5166ed57b1c4
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="RevertOriginalBaseQualitiesAndAddMateCigar" id="picard_RevertOriginalBaseQualitiesAndAddMateCigar" version="1.135">
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
2 <description>revert the original base qualities and add the mate cigar tag</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
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
10 java -jar \$JAVA_JAR_PATH/picard.jar
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
11 RevertOriginalBaseQualitiesAndAddMateCigar
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
12
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
13 INPUT="${inputFile}"
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
14 OUTPUT="${outFile}"
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
15
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
16 RESTORE_ORIGINAL_QUALITIES="${restore_original_qualities}"
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
17 MAX_RECORDS_TO_EXAMINE="${max_records_to_examine}"
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
18
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
19 SORT_ORDER=coordinate
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
20 VALIDATION_STRINGENCY="${validation_stringency}"
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
21 QUIET=true
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
22 VERBOSITY=ERROR
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
23
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
24 </command>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
25 <inputs>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
26 <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"/>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
27 <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"/>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
28 <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"/>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
29
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
30 <expand macro="VS" />
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
31
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
32 </inputs>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
33
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
34 <outputs>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
35 <data format="bam" name="outFile" label="${tool.name} on ${on_string}: Reverted BAM dataset"/>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
36 </outputs>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
37
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
38 <tests>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
39 <test>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
40 <param name="inputFile" value="picard_RevertOriginalBaseQualitiesAndAddMateCigar.bam" ftype="bam"/>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
41 <param name="restore_original_qualities" value="True"/>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
42 <param name="max_records_to_examine" value="10000"/>
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_RevertOriginalBaseQualitiesAndAddMateCigar_test1.bam" ftype="bam" lines_diff="2"/>
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
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
48 <stdio>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
49 <exit_code range="1:" level="fatal"/>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
50 </stdio>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
51
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
52 <help>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
53
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
54 **Purpose**
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
55
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
56 Reverts the original base qualities and adds the mate cigar tag to SAM or BAMs.
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
57
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
58 @dataset_collections@
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
59
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
60 @description@
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
61
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
62 RESTORE_ORIGINAL_QUALITIES=Boolean
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
63 OQ=Boolean True to restore original qualities from the OQ field to the QUAL field if available.
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
64 Default value: true. Possible values: {true, false}
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
65
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
66 MAX_RECORDS_TO_EXAMINE=IntegerThe maximum number of records to examine to determine if we can exit early and not
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
67 output, given that there are a no original base qualities (if we are to restore) and mate
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
68 cigars exist. Set to 0 to never skip the file. Default value: 10000.
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
69
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
70 @more_info@
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
71
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
72 </help>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
73 </tool>
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
74
5166ed57b1c4 Uploaded version 1.135
avowinkel
parents:
diff changeset
75