comparison picard_MergeVcfs.xml @ 8:ca0e1414805c draft

Uploaded
author devteam
date Tue, 28 Jan 2014 16:45:47 -0500
parents
children
comparison
equal deleted inserted replaced
7:37908b77f5bf 8:ca0e1414805c
1 <tool id="picard_mergevcfs" name="Merge Vcfs files" version="1.106.0">
2 <!-- Documentation: http://picard.sourceforge.net/command-line-overview.shtml#MergeVcfs
3 Merges multiple SAM/BAM files into one file.
4 -->
5 <description>Merges multiple VCF or BCF files into one VCF file. </description>
6
7 <requirements><requirement type="package" version="1.106.0">picard</requirement></requirements>
8
9 <command>
10 java -Xmx4G -jar \$JAVA_JAR_PATH/MergeVcfs.jar I=$input1 I=$input2 O=$output1
11 #for $i in $inputs
12 I=${i.input}
13 #end for
14 </command>
15
16 <inputs>
17 <param name="title" label="Name for the output merged vcf file" type="text" default="Merged.vcf"
18 help="This name will appear in your history so use it to remember what the new file in your history contains" >
19 </param>
20 <param name="outformat" type="select" label="Output format" >
21 <option value="vcf" selected="True">VCF</option>
22 <option value="bcf">BCF</option>
23 </param>
24 <param name="input1" label="First file" type="data" format="vcf,bcf" />
25 <param name="input2" label="with file" type="data" format="vcf,bcf" help="Need to add more files? Use controls below." />
26 <repeat name="inputs" title="Input Files">
27 <param name="input" label="Add file" type="data" format="vcf,bcf" />
28 </repeat>
29 </inputs>
30 <outputs>
31 <data format="vcf" name="output1" label="${title}.vcf" >
32 </data>
33 <data format="txt" name="outlog" label="${title}_${tool.name}.log" />
34 </outputs>
35 <tests>
36 <!-- TODO: add ability to test framework to test without at least
37 one repeat element value
38 -->
39 <test>
40 <param name="title" value="test1" />
41 <param name="mergeSD" value="true" />
42 <param name="input1" value="sam_merge_in1.bam" ftype="bam" />
43 <param name="input2" value="sam_merge_in2.bam" ftype="bam" />
44 <output name="output1" file="sam_merge_out1.bam" ftype="bam" />
45 <output name="outlog" file="sam_merge_out1.log" ftype="txt" lines_diff="11"/>
46 </test>
47 <test>
48 <param name="title" value="test2" />
49 <param name="mergeSD" value="true" />
50 <param name="input1" value="sam_merge_in1.bam" ftype="bam" />
51 <param name="input2" value="sam_merge_in2.bam" ftype="bam" />
52 <param name="input" value="sam_merge_in3.bam" ftype="bam" />
53 <output name="output1" file="sam_merge_out2.bam" ftype="bam" />
54 <output name="outlog" file="sam_merge_out2.log" ftype="txt" lines_diff="11"/>
55 </test>
56 </tests>
57 <help>
58
59 **What it does**
60
61 Merges multiple VCF or BCF files into one VCF file. Input files must be sorted by their contigs and, within contigs, by start position. The input files must have the same sample and contig lists. An index file is created and a sequence dictionary is required by default.
62
63 .. _Picard: http://picard.sourceforge.net/command-line-overview.shtml#MergeVcfs
64
65 </help>
66 </tool>