annotate picard_FixMateInformation.xml @ 33:3f254c5ced1d draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
author iuc
date Sun, 03 Mar 2024 16:06:11 +0000
parents f9242e01365a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
33
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
1 <tool name="FixMateInformation" id="picard_FixMateInformation" version="@TOOL_VERSION@.@WRAPPER_VERSION@" profile="@PROFILE@">
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
2 <description>ensure that all mate-pair information is in sync between each read and it's mate pair</description>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
3 <macros>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
4 <import>picard_macros.xml</import>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
5 <token name="@WRAPPER_VERSION@">0</token>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
6 </macros>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
7 <expand macro="requirements"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
9 @java_options@
33
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
10 picard FixMateInformation
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
11 --INPUT '${inputFile}'
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
12 --OUTPUT '${outFile}'
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
13 --ASSUME_SORTED ${assume_sorted}
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
14 --ADD_MATE_CIGAR ${add_mate_cigar}
13
7e6fd3d0f16e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents: 12
diff changeset
15
33
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
16 --SORT_ORDER coordinate
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
17 --VALIDATION_STRINGENCY '${validation_stringency}'
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
18 --QUIET true
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
19 --VERBOSITY ERROR
13
7e6fd3d0f16e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents: 12
diff changeset
20
12
05087b27692a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 7491208ca0c917a053798a48c3e54c3e30e95d92
devteam
parents: 8
diff changeset
21 ]]></command>
33
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
22 <inputs>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
23 <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"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
24 <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"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
25 <param name="assume_sorted" type="boolean" truevalue="True" falsevalue="False" label="Assume that the input file is QUERYNAME sorted" help="ASSUME_SORTED; default=False"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
26 <expand macro="VS"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
27 </inputs>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
28 <outputs>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
29 <data format="bam" name="outFile" label="${tool.name} on ${on_string}: BAM with fixed mates"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
30 </outputs>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
31 <tests>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
32 <test>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
33 <param name="inputFile" value="picard_FixMateInformation.bam" ftype="bam"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
34 <param name="add_mate_cigar" value="True"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
35 <param name="assume_sorted" value="False"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
36 <param name="validation_stringency" value="LENIENT"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
37 <output name="outFile" file="picard_FixMateInformation_test1.bam" ftype="bam" lines_diff="4"/>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
38 </test>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
39 </tests>
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
40 <help>
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
41
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
42 **Purpose**
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
43
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
44 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.
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
45
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
46 ------
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
47
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
48 .. class:: warningmark
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
49
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
50 **Warning on using ASSUME_SORTED option**
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
51
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
52 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
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
53 is to assume that the BAM you are working with is coordinate sorted.
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
54
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
55 @dataset_collections@
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
56
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
57 @description@
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
58
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
59 ASSUME_SORTED=Boolean
13
7e6fd3d0f16e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents: 12
diff changeset
60 AS=Boolean If true, assume that the input file is queryname sorted, even if the header says
7e6fd3d0f16e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents: 12
diff changeset
61 otherwise. Default value: false.
7e6fd3d0f16e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents: 12
diff changeset
62
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
63 ADD_MATE_CIGAR=Boolean
13
7e6fd3d0f16e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents: 12
diff changeset
64 MC=Boolean Adds the mate CIGAR tag (MC) if true, does not if false. Default value: true.
7e6fd3d0f16e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
devteam
parents: 12
diff changeset
65
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
66 @more_info@
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
67
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
68 </help>
33
3f254c5ced1d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
iuc
parents: 32
diff changeset
69 <expand macro="citations"/>
5
3d4f1fa26f0e Uploaded
devteam
parents:
diff changeset
70 </tool>