annotate vcftools_merge.xml @ 2:60743b92cc26 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcftools/vcftools_merge commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
author devteam
date Mon, 09 Nov 2015 12:35:52 -0500
parents eb02907453b4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
60743b92cc26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcftools/vcftools_merge commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents: 1
diff changeset
1 <tool id="vcftools_merge" name="Merge" version="0.1.1">
0
2df3463828ff Uploaded
devteam
parents:
diff changeset
2 <description>multiple VCF datasets</description>
2df3463828ff Uploaded
devteam
parents:
diff changeset
3
2df3463828ff Uploaded
devteam
parents:
diff changeset
4 <requirements>
1
eb02907453b4 Uploaded
devteam
parents: 0
diff changeset
5 <requirement type="package">tabix</requirement>
eb02907453b4 Uploaded
devteam
parents: 0
diff changeset
6 <requirement type="package" version="0.1.11">vcftools</requirement>
0
2df3463828ff Uploaded
devteam
parents:
diff changeset
7 </requirements>
2
60743b92cc26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcftools/vcftools_merge commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents: 1
diff changeset
8
0
2df3463828ff Uploaded
devteam
parents:
diff changeset
9 <command>
2df3463828ff Uploaded
devteam
parents:
diff changeset
10 ## Preprocessing for each dataset.
2df3463828ff Uploaded
devteam
parents:
diff changeset
11 #set dataset_names = []
2
60743b92cc26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcftools/vcftools_merge commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents: 1
diff changeset
12 #for $i, $input in enumerate( $input_files ):
60743b92cc26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcftools/vcftools_merge commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents: 1
diff changeset
13 ## Sort file.
60743b92cc26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcftools/vcftools_merge commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents: 1
diff changeset
14 vcf-sort ${input} > ${i}.vcf.sorted ;
0
2df3463828ff Uploaded
devteam
parents:
diff changeset
15
2df3463828ff Uploaded
devteam
parents:
diff changeset
16 ## Compress.
2df3463828ff Uploaded
devteam
parents:
diff changeset
17 bgzip ${i}.vcf.sorted ;
2df3463828ff Uploaded
devteam
parents:
diff changeset
18
2df3463828ff Uploaded
devteam
parents:
diff changeset
19 ## Index.
2df3463828ff Uploaded
devteam
parents:
diff changeset
20 tabix -p vcf ${i}.vcf.sorted.gz ;
2df3463828ff Uploaded
devteam
parents:
diff changeset
21
2df3463828ff Uploaded
devteam
parents:
diff changeset
22 #silent dataset_names.append( str($i) + '.vcf.sorted.gz' )
2df3463828ff Uploaded
devteam
parents:
diff changeset
23 #end for
2df3463828ff Uploaded
devteam
parents:
diff changeset
24
2df3463828ff Uploaded
devteam
parents:
diff changeset
25 ## Merge.
2df3463828ff Uploaded
devteam
parents:
diff changeset
26 vcf-merge
2df3463828ff Uploaded
devteam
parents:
diff changeset
27 #echo ' '.join( dataset_names ) # > ${output}
2
60743b92cc26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcftools/vcftools_merge commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents: 1
diff changeset
28
0
2df3463828ff Uploaded
devteam
parents:
diff changeset
29 </command>
2df3463828ff Uploaded
devteam
parents:
diff changeset
30 <inputs>
2
60743b92cc26 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcftools/vcftools_merge commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents: 1
diff changeset
31 <param name="input_files" label="Datasets to Merge" type="data" format="vcf" min="2" multiple="True"/>
0
2df3463828ff Uploaded
devteam
parents:
diff changeset
32 </inputs>
2df3463828ff Uploaded
devteam
parents:
diff changeset
33
2df3463828ff Uploaded
devteam
parents:
diff changeset
34 <outputs>
2df3463828ff Uploaded
devteam
parents:
diff changeset
35 <data name="output" format="vcf"/>
2df3463828ff Uploaded
devteam
parents:
diff changeset
36 </outputs>
2df3463828ff Uploaded
devteam
parents:
diff changeset
37
2df3463828ff Uploaded
devteam
parents:
diff changeset
38 <stdio>
2df3463828ff Uploaded
devteam
parents:
diff changeset
39 <regex match=".*" source="both" level="log" description="tool progress"/>
2df3463828ff Uploaded
devteam
parents:
diff changeset
40 </stdio>
2df3463828ff Uploaded
devteam
parents:
diff changeset
41
2df3463828ff Uploaded
devteam
parents:
diff changeset
42 <tests>
2df3463828ff Uploaded
devteam
parents:
diff changeset
43 <!-- Cannot specify multiple repeats in test framework right now, so no tests possible. -->
2df3463828ff Uploaded
devteam
parents:
diff changeset
44 </tests>
2df3463828ff Uploaded
devteam
parents:
diff changeset
45
2df3463828ff Uploaded
devteam
parents:
diff changeset
46 <help>
2df3463828ff Uploaded
devteam
parents:
diff changeset
47 Please see the VCFtools `documentation`__ for help and further information.
2df3463828ff Uploaded
devteam
parents:
diff changeset
48
2df3463828ff Uploaded
devteam
parents:
diff changeset
49 .. __: http://vcftools.sourceforge.net/docs.html
2df3463828ff Uploaded
devteam
parents:
diff changeset
50 </help>
2df3463828ff Uploaded
devteam
parents:
diff changeset
51 </tool>