annotate picard_FixMateInformation.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 name="FixMateInformation" id="picard_FixMateInformation" version="1.122.0">
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
2 <description>ensure that all mate-pair information is in sync between each read and it's mate pair</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/FixMateInformation.jar
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
15 INPUT="${inputFile}"
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
16 OUTPUT="${outFile}"
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
17 ASSUME_SORTED=${assume_sorted}
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
18 ADD_MATE_CIGAR=${add_mate_cigar}
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
19
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
20 SORT_ORDER=coordinate
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
21 VALIDATION_STRINGENCY="${validation_stringency}"
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
22 QUIET=true
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
23 VERBOSITY=ERROR
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
24
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
25 </command>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
26 <inputs>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
27 <param name="inputFile" multiple="True" 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
28 <param name="add_mate_cigar" type="boolean" checked="true" truevalue="True" falsevalue="False" label="Adds the mate CIGAR tag (MC) if true, does not if false" help="ADD_MATE_CIGAR; default=True"/>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
29 <param name="assume_sorted" type="boolean" truevalue="True" falsevalue="False" label="Assume that the input file is QUERYNAME sorted" help="ASSUME_SORTED; default=False"/>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
30
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
31 <expand macro="VS" />
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
32
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
33 </inputs>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
34
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
35 <outputs>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
36 <data format="bam" name="outFile" label="${tool.name} on ${on_string}: BAM with fixed mates"/>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
37 </outputs>
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" value="picard_FixMateInformation.bam" ftype="bam"/>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
42 <param name="add_mate_cigar" value="True"/>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
43 <param name="assume_sorted" value="False"/>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
44 <param name="validation_stringency" value="LENIENT"/>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
45 <output name="outFile" file="picard_FixMateInformation_test1.bam" ftype="bam" lines_diff="2"/>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
46 </test>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
47 </tests>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
48
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
49 <stdio>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
50 <exit_code range="1:" level="fatal"/>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
51 </stdio>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
52
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
53 <help>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
54
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
55 **Purpose**
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
56
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
57 Ensure that all mate-pair information is in sync between each read and it's mate pair. Reads marked with the secondary alignment flag are written to the output file unchanged.
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
58
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
59 ------
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
60
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
61 .. class:: warningmark
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
62
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
63 **Warning on using ASSUME_SORTED option**
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
64
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
65 Datasets imported into Galaxy are automatically coordinate sorted. So use this option (set it to True) only if you are sure that this is necessary. If you are not sure - a good rule of thumb
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
66 is to assume that the BAM you are working with is coordinate sorted.
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
67
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
68 @dataset_collections@
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
69
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
70 @description@
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
71
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
72 ASSUME_SORTED=Boolean
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
73 AS=Boolean If true, assume that the input file is queryname sorted, even if the header says
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
74 otherwise. Default value: false.
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
75
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
76 ADD_MATE_CIGAR=Boolean
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
77 MC=Boolean Adds the mate CIGAR tag (MC) if true, does not if false. Default value: true.
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
78
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
79 @more_info@
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
80
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
81 </help>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
82 </tool>
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
83
b76a4f17bbbb Uploaded
devteam
parents:
diff changeset
84