Mercurial > repos > devteam > picard_122_up
comparison picard_FixMateInformation.xml @ 0:b76a4f17bbbb draft
Uploaded
author | devteam |
---|---|
date | Thu, 23 Oct 2014 11:31:30 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:b76a4f17bbbb |
---|---|
1 <tool name="FixMateInformation" id="picard_FixMateInformation" version="1.122.0"> | |
2 <description>ensure that all mate-pair information is in sync between each read and it's mate pair</description> | |
3 <requirements> | |
4 <requirement type="package" version="1.122.0">picard</requirement> | |
5 </requirements> | |
6 | |
7 <macros> | |
8 <import>picard_macros.xml</import> | |
9 </macros> | |
10 | |
11 <command> | |
12 @java_options@ | |
13 | |
14 java -jar \$JAVA_JAR_PATH/FixMateInformation.jar | |
15 INPUT="${inputFile}" | |
16 OUTPUT="${outFile}" | |
17 ASSUME_SORTED=${assume_sorted} | |
18 ADD_MATE_CIGAR=${add_mate_cigar} | |
19 | |
20 SORT_ORDER=coordinate | |
21 VALIDATION_STRINGENCY="${validation_stringency}" | |
22 QUIET=true | |
23 VERBOSITY=ERROR | |
24 | |
25 </command> | |
26 <inputs> | |
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"/> | |
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"/> | |
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"/> | |
30 | |
31 <expand macro="VS" /> | |
32 | |
33 </inputs> | |
34 | |
35 <outputs> | |
36 <data format="bam" name="outFile" label="${tool.name} on ${on_string}: BAM with fixed mates"/> | |
37 </outputs> | |
38 | |
39 <tests> | |
40 <test> | |
41 <param name="inputFile" value="picard_FixMateInformation.bam" ftype="bam"/> | |
42 <param name="add_mate_cigar" value="True"/> | |
43 <param name="assume_sorted" value="False"/> | |
44 <param name="validation_stringency" value="LENIENT"/> | |
45 <output name="outFile" file="picard_FixMateInformation_test1.bam" ftype="bam" lines_diff="2"/> | |
46 </test> | |
47 </tests> | |
48 | |
49 <stdio> | |
50 <exit_code range="1:" level="fatal"/> | |
51 </stdio> | |
52 | |
53 <help> | |
54 | |
55 **Purpose** | |
56 | |
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. | |
58 | |
59 ------ | |
60 | |
61 .. class:: warningmark | |
62 | |
63 **Warning on using ASSUME_SORTED option** | |
64 | |
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 | |
66 is to assume that the BAM you are working with is coordinate sorted. | |
67 | |
68 @dataset_collections@ | |
69 | |
70 @description@ | |
71 | |
72 ASSUME_SORTED=Boolean | |
73 AS=Boolean If true, assume that the input file is queryname sorted, even if the header says | |
74 otherwise. Default value: false. | |
75 | |
76 ADD_MATE_CIGAR=Boolean | |
77 MC=Boolean Adds the mate CIGAR tag (MC) if true, does not if false. Default value: true. | |
78 | |
79 @more_info@ | |
80 | |
81 </help> | |
82 </tool> | |
83 | |
84 |