Mercurial > repos > devteam > vcftools_merge
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 |
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 | 2 <description>multiple VCF datasets</description> |
3 | |
4 <requirements> | |
1 | 5 <requirement type="package">tabix</requirement> |
6 <requirement type="package" version="0.1.11">vcftools</requirement> | |
0 | 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 | 9 <command> |
10 ## Preprocessing for each dataset. | |
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 | 15 |
16 ## Compress. | |
17 bgzip ${i}.vcf.sorted ; | |
18 | |
19 ## Index. | |
20 tabix -p vcf ${i}.vcf.sorted.gz ; | |
21 | |
22 #silent dataset_names.append( str($i) + '.vcf.sorted.gz' ) | |
23 #end for | |
24 | |
25 ## Merge. | |
26 vcf-merge | |
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 | 29 </command> |
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 | 32 </inputs> |
33 | |
34 <outputs> | |
35 <data name="output" format="vcf"/> | |
36 </outputs> | |
37 | |
38 <stdio> | |
39 <regex match=".*" source="both" level="log" description="tool progress"/> | |
40 </stdio> | |
41 | |
42 <tests> | |
43 <!-- Cannot specify multiple repeats in test framework right now, so no tests possible. --> | |
44 </tests> | |
45 | |
46 <help> | |
47 Please see the VCFtools `documentation`__ for help and further information. | |
48 | |
49 .. __: http://vcftools.sourceforge.net/docs.html | |
50 </help> | |
51 </tool> |