comparison picard_MergeSamFiles.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
comparison
equal deleted inserted replaced
32:f9242e01365a 33:3f254c5ced1d
1 <tool name="MergeSamFiles" id="picard_MergeSamFiles" version="@TOOL_VERSION@.@WRAPPER_VERSION@"> 1 <tool name="MergeSamFiles" id="picard_MergeSamFiles" version="@TOOL_VERSION@.@WRAPPER_VERSION@" profile="@PROFILE@">
2 <description>merges multiple SAM/BAM datasets into one</description> 2 <description>merges multiple SAM/BAM datasets into one</description>
3 <macros> 3 <macros>
4 <import>picard_macros.xml</import> 4 <import>picard_macros.xml</import>
5 <token name="@WRAPPER_VERSION@">1</token> 5 <token name="@WRAPPER_VERSION@">0</token>
6 </macros> 6 </macros>
7 <expand macro="requirements" /> 7 <expand macro="requirements"/>
8 <command detect_errors="exit_code"><![CDATA[ 8 <command detect_errors="exit_code"><![CDATA[
9 @java_options@ 9 @java_options@
10 picard 10 picard MergeSamFiles
11 MergeSamFiles
12 11
13 #for $element in $inputFile: 12 #for $element in $inputFile:
14 INPUT="${element}" 13 --INPUT '${element}'
15 #end for 14 #end for
16 15
17 OUTPUT="${outFile}" 16 --OUTPUT '${outFile}'
18 MERGE_SEQUENCE_DICTIONARIES="${merge_sequence_dictionaries}" 17 --MERGE_SEQUENCE_DICTIONARIES '${merge_sequence_dictionaries}'
19 18
20 ASSUME_SORTED="${assume_sorted}" 19 --ASSUME_SORTED '${assume_sorted}'
21 #for $element in $comments: 20 #for $element in $comments:
22 COMMENT="${element.comment}" 21 --COMMENT '${element.comment}'
23 #end for 22 #end for
24 23
25 USE_THREADING=true 24 --USE_THREADING true
26 SORT_ORDER=coordinate 25 --SORT_ORDER coordinate
27 VALIDATION_STRINGENCY="${validation_stringency}" 26 --VALIDATION_STRINGENCY '${validation_stringency}'
28 QUIET=true 27 --QUIET true
29 VERBOSITY=ERROR 28 --VERBOSITY ERROR
30 29
31 ]]></command> 30 ]]></command>
32 <inputs> 31 <inputs>
33 <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"/> 32 <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"/>
34 <param name="merge_sequence_dictionaries" type="boolean" label="Merge the sequence dictionaries of the datasets being merged" help="MERGE_SEQUENCE_DICTIONARIES; default=False"/> 33 <param name="merge_sequence_dictionaries" type="boolean" label="Merge the sequence dictionaries of the datasets being merged" help="MERGE_SEQUENCE_DICTIONARIES; default=False"/>
35 <param name="assume_sorted" type="boolean" label="Assume the input file is already sorted" help="ASSUME_SORTED; default=False"/> 34 <param name="assume_sorted" type="boolean" label="Assume the input file is already sorted" help="ASSUME_SORTED; default=False"/>
36 35 <repeat name="comments" title="Comment" min="0" help="You can provide multiple comments">
37 <repeat name="comments" title="Comment" min="0" help="You can provide multiple comments"> 36 <param name="comment" type="text" label="Add this comment to BAM dataset" help="COMMENT"/>
38 <param name="comment" type="text" label="Add this comment to BAM dataset" help="COMMENT"/> 37 </repeat>
39 </repeat> 38 <expand macro="VS"/>
40 39 </inputs>
41 <expand macro="VS" /> 40 <outputs>
42 41 <data format="bam" name="outFile" label="${tool.name} on ${on_string}: Merged BAM dataset"/>
43 </inputs> 42 </outputs>
44 43 <tests>
45 <outputs> 44 <test>
46 <data format="bam" name="outFile" label="${tool.name} on ${on_string}: Merged BAM dataset"/> 45 <param name="inputFile" value="picard_MergeSamFiles_input1.bam,picard_MergeSamFiles_input2.bam,picard_MergeSamFiles_input3.bam" ftype="bam"/>
47 </outputs> 46 <param name="assume_sorted" value="False"/>
48 47 <param name="merge_sequence_dictionaries" value="False"/>
49 <tests> 48 <param name="validation_stringency" value="LENIENT"/>
50 <test> 49 <output name="outFile" file="picard_MergeSamFiles_test1.bam" ftype="bam" lines_diff="4"/>
51 <param name="inputFile" value="picard_MergeSamFiles_input1.bam,picard_MergeSamFiles_input2.bam,picard_MergeSamFiles_input3.bam" ftype="bam"/> 50 </test>
52 <param name="assume_sorted" value="False"/> 51 </tests>
53 <param name="merge_sequence_dictionaries" value="False"/> 52 <help>
54 <param name="validation_stringency" value="LENIENT"/>
55 <output name="outFile" file="picard_MergeSamFiles_test1.bam" ftype="bam" lines_diff="4"/>
56 </test>
57 </tests>
58
59
60 <help>
61 53
62 **Purpose** 54 **Purpose**
63 55
64 Merges multiple SAM/BAM datasets into one. 56 Merges multiple SAM/BAM datasets into one.
65 57
82 74
83 75
84 @more_info@ 76 @more_info@
85 77
86 </help> 78 </help>
87 <expand macro="citations" /> 79 <expand macro="citations"/>
88 </tool> 80 </tool>