Mercurial > repos > devteam > vcftools_isec
annotate vcftools_isec.xml @ 1:9e576efe7836 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcftools/vcftools_isec commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
author | devteam |
---|---|
date | Mon, 09 Nov 2015 12:35:37 -0500 |
parents | 799feac145c8 |
children |
rev | line source |
---|---|
1
9e576efe7836
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcftools/vcftools_isec commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
0
diff
changeset
|
1 <tool id="vcftools_isec" name="Intersect" version="0.1.1"> |
0 | 2 <description>multiple VCF datasets</description> |
3 | |
4 <requirements> | |
5 <requirement type="package">tabix</requirement> | |
6 <requirement type="package" version="0.1.11">vcftools</requirement> | |
7 </requirements> | |
1
9e576efe7836
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcftools/vcftools_isec commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
0
diff
changeset
|
8 |
0 | 9 <command> |
10 ## Preprocessing for each dataset. | |
11 #set dataset_names = [] | |
1
9e576efe7836
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcftools/vcftools_isec commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
0
diff
changeset
|
12 #for i, $input in enumerate( $input_files ): |
0 | 13 ## Sort file. |
1
9e576efe7836
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcftools/vcftools_isec commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
0
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 ## Intersect. | |
26 vcf-isec -f | |
27 #if $complement: | |
28 -c | |
1
9e576efe7836
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcftools/vcftools_isec commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
0
diff
changeset
|
29 #end if |
0 | 30 #echo ' '.join( dataset_names ) # > ${output} |
31 </command> | |
32 <inputs> | |
1
9e576efe7836
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcftools/vcftools_isec commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
0
diff
changeset
|
33 <param name="input_files" label="Datasets" type="data" format="vcf" min="2" multiple="True"/> |
0 | 34 <param name="complement" type="boolean" label="Complement intersection" help="If checked, output positions present in the first file but missing from the other files"/> |
35 </inputs> | |
36 | |
37 <outputs> | |
38 <data name="output" format="vcf"/> | |
39 </outputs> | |
40 | |
41 <stdio> | |
42 <regex match=".*" source="both" level="log" description="tool progress"/> | |
43 </stdio> | |
44 | |
45 <tests> | |
46 <!-- Cannot specify multiple repeats in test framework right now. | |
47 <test> | |
1
9e576efe7836
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcftools/vcftools_isec commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
0
diff
changeset
|
48 <param name='input_files|1' value='1.vcf' /> |
9e576efe7836
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcftools/vcftools_isec commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
0
diff
changeset
|
49 <param name='input_files|2' value='2.vcf' /> |
0 | 50 <param name='complement' value='False' /> |
51 <output name='output' file='out.vcf' /> | |
52 </test> | |
53 --> | |
54 </tests> | |
55 | |
56 <help> | |
57 Please see the VCFtools `documentation`__ for help and further information. | |
58 | |
59 .. __: http://vcftools.sourceforge.net/docs.html | |
60 </help> | |
61 </tool> |