annotate picard_RevertOriginalBaseQualitiesAndAddMateCigar.xml @ 8:3a3234d7a2e8 draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 00a7926c285bc4a339bd7deebf40b28f39c7d947-dirty
author devteam
date Thu, 16 Jul 2015 15:53:10 -0400
parents 3d4f1fa26f0e
children 05087b27692a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
3a3234d7a2e8 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 00a7926c285bc4a339bd7deebf40b28f39c7d947-dirty
devteam
parents: 5
diff changeset
1 <tool name="RevertOriginalBaseQualitiesAndAddMateCigar" id="picard_RevertOriginalBaseQualitiesAndAddMateCigar" version="@TOOL_VERSION@.0">
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
2 <description>revert the original base qualities and add the mate cigar tag</description>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
3 <macros>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
4 <import>picard_macros.xml</import>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
5 </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
6 <expand macro="requirements" />
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
7 <command>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
8 @java_options@
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
9
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
10 java -jar \$JAVA_JAR_PATH/picard.jar
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
11 RevertOriginalBaseQualitiesAndAddMateCigar
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
12
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
13 INPUT="${inputFile}"
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
14 OUTPUT="${outFile}"
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
15
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
16 RESTORE_ORIGINAL_QUALITIES="${restore_original_qualities}"
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
17 MAX_RECORDS_TO_EXAMINE="${max_records_to_examine}"
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
18
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
19 SORT_ORDER=coordinate
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
20 VALIDATION_STRINGENCY="${validation_stringency}"
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
21 QUIET=true
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
22 VERBOSITY=ERROR
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
23
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
24 </command>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
25 <inputs>
3d4f1fa26f0e Uploaded
devteam
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"/>
3d4f1fa26f0e Uploaded
devteam
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"/>
3d4f1fa26f0e Uploaded
devteam
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"/>
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 format="bam" name="outFile" label="${tool.name} on ${on_string}: Reverted BAM dataset"/>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
36 </outputs>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
37
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
38 <tests>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
39 <test>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
40 <param name="inputFile" value="picard_RevertOriginalBaseQualitiesAndAddMateCigar.bam" ftype="bam"/>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
41 <param name="restore_original_qualities" value="True"/>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
42 <param name="max_records_to_examine" value="10000"/>
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_RevertOriginalBaseQualitiesAndAddMateCigar_test1.bam" ftype="bam" lines_diff="2"/>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
45 </test>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
46 </tests>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
47
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
48 <stdio>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
49 <exit_code range="1:" level="fatal"/>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
50 </stdio>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
51
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
52 <help>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
53
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
54 **Purpose**
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
55
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
56 Reverts the original base qualities and adds the mate cigar tag to SAM or BAMs.
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
57
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
58 @dataset_collections@
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
59
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
60 @description@
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
61
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
62 RESTORE_ORIGINAL_QUALITIES=Boolean
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
63 OQ=Boolean True to restore original qualities from the OQ field to the QUAL field if available.
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
64 Default value: true. Possible values: {true, false}
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
65
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
66 MAX_RECORDS_TO_EXAMINE=IntegerThe maximum number of records to examine to determine if we can exit early and not
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
67 output, given that there are a no original base qualities (if we are to restore) and mate
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
68 cigars exist. Set to 0 to never skip the file. Default value: 10000.
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
69
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
70 @more_info@
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
71
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
72 </help>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
73 </tool>
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
74
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
75