comparison picard_MergeSamFiles.xml @ 5:3d4f1fa26f0e draft

Uploaded
author devteam
date Tue, 16 Dec 2014 19:03:21 -0500
parents
children 3a3234d7a2e8
comparison
equal deleted inserted replaced
4:ab1f60c26526 5:3d4f1fa26f0e
1 <tool name="MergeSamFiles" id="picard_MergeSamFiles" version="1.126.0">
2 <description>merges multiple SAM/BAM datasets into one</description>
3 <requirements>
4 <requirement type="package" version="1.126.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/picard.jar
15 MergeSamFiles
16
17 #for $element in $inputFile:
18 INPUT="${element}"
19 #end for
20
21 OUTPUT="${outFile}"
22 MERGE_SEQUENCE_DICTIONARIES="${merge_sequence_dictionaries}"
23
24 ASSUME_SORTED="${assume_sorted}"
25 #for $element in $comments:
26 COMMENT="${element.comment}"
27 #end for
28
29 USE_THREADING=true
30 SORT_ORDER=coordinate
31 VALIDATION_STRINGENCY="${validation_stringency}"
32 QUIET=true
33 VERBOSITY=ERROR
34
35 </command>
36 <inputs>
37 <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"/>
38 <param name="merge_sequence_dictionaries" type="boolean" label="Merge the sequence dictionaries of the datasets being merged" help="MERGE_SEQUENCE_DICTIONARIES; default=False"/>
39 <param name="assume_sorted" type="boolean" label="Assume the input file is already sorted" help="ASSUME_SORTED; default=False"/>
40
41 <repeat name="comments" title="Comment" min="0" help="You can provide multiple comments">
42 <param name="comment" type="text" size="50" label="Add this comment to BAM dataset" help="COMMENT"/>
43 </repeat>
44
45 <expand macro="VS" />
46
47 </inputs>
48
49 <outputs>
50 <data format="bam" name="outFile" label="${tool.name} on ${on_string}: Merged BAM dataset"/>
51 </outputs>
52
53 <tests>
54 <test>
55 <param name="inputFile" value="picard_MergeSamFiles_input1.bam,picard_MergeSamFiles_input2.bam,picard_MergeSamFiles_input3.bam" ftype="bam"/>
56 <param name="assume_sorted" value="False"/>
57 <param name="merge_sequence_dictionaries" value="False"/>
58 <param name="validation_stringency" value="LENIENT"/>
59 <output name="outFile" file="picard_MergeSamFiles_test1.bam" ftype="bam" lines_diff="2"/>
60 </test>
61 </tests>
62
63 <stdio>
64 <exit_code range="1:" level="fatal"/>
65 </stdio>
66
67 <help>
68
69 **Purpose**
70
71 Merges multiple SAM/BAM datasets into one.
72
73 @dataset_collections@
74
75 @description@
76
77 ASSUME_SORTED=Boolean
78 AS=Boolean If true, assume that the input files are in the same sort order as the requested output
79 sort order, even if their headers say otherwise. Default value: false. This option can
80 be set to 'null' to clear the default value. Possible values: {true, false}
81
82 MERGE_SEQUENCE_DICTIONARIES=Boolean
83 MSD=Boolean Merge the sequence dictionaries Default value: false. This option can be set to 'null'
84 to clear the default value. Possible values: {true, false}
85
86 COMMENT=String
87 CO=String Comment(s) to include in the merged output file's header. This option may be specified 0
88 or more times.
89
90
91 @more_info@
92
93 </help>
94 </tool>
95
96