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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
799feac145c8 Uploaded
devteam
parents:
diff changeset
2 <description>multiple VCF datasets</description>
799feac145c8 Uploaded
devteam
parents:
diff changeset
3
799feac145c8 Uploaded
devteam
parents:
diff changeset
4 <requirements>
799feac145c8 Uploaded
devteam
parents:
diff changeset
5 <requirement type="package">tabix</requirement>
799feac145c8 Uploaded
devteam
parents:
diff changeset
6 <requirement type="package" version="0.1.11">vcftools</requirement>
799feac145c8 Uploaded
devteam
parents:
diff changeset
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
799feac145c8 Uploaded
devteam
parents:
diff changeset
9 <command>
799feac145c8 Uploaded
devteam
parents:
diff changeset
10 ## Preprocessing for each dataset.
799feac145c8 Uploaded
devteam
parents:
diff changeset
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
799feac145c8 Uploaded
devteam
parents:
diff changeset
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
799feac145c8 Uploaded
devteam
parents:
diff changeset
15
799feac145c8 Uploaded
devteam
parents:
diff changeset
16 ## Compress.
799feac145c8 Uploaded
devteam
parents:
diff changeset
17 bgzip ${i}.vcf.sorted ;
799feac145c8 Uploaded
devteam
parents:
diff changeset
18
799feac145c8 Uploaded
devteam
parents:
diff changeset
19 ## Index.
799feac145c8 Uploaded
devteam
parents:
diff changeset
20 tabix -p vcf ${i}.vcf.sorted.gz ;
799feac145c8 Uploaded
devteam
parents:
diff changeset
21
799feac145c8 Uploaded
devteam
parents:
diff changeset
22 #silent dataset_names.append( str($i) + '.vcf.sorted.gz' )
799feac145c8 Uploaded
devteam
parents:
diff changeset
23 #end for
799feac145c8 Uploaded
devteam
parents:
diff changeset
24
799feac145c8 Uploaded
devteam
parents:
diff changeset
25 ## Intersect.
799feac145c8 Uploaded
devteam
parents:
diff changeset
26 vcf-isec -f
799feac145c8 Uploaded
devteam
parents:
diff changeset
27 #if $complement:
799feac145c8 Uploaded
devteam
parents:
diff changeset
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
799feac145c8 Uploaded
devteam
parents:
diff changeset
30 #echo ' '.join( dataset_names ) # > ${output}
799feac145c8 Uploaded
devteam
parents:
diff changeset
31 </command>
799feac145c8 Uploaded
devteam
parents:
diff changeset
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
799feac145c8 Uploaded
devteam
parents:
diff changeset
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"/>
799feac145c8 Uploaded
devteam
parents:
diff changeset
35 </inputs>
799feac145c8 Uploaded
devteam
parents:
diff changeset
36
799feac145c8 Uploaded
devteam
parents:
diff changeset
37 <outputs>
799feac145c8 Uploaded
devteam
parents:
diff changeset
38 <data name="output" format="vcf"/>
799feac145c8 Uploaded
devteam
parents:
diff changeset
39 </outputs>
799feac145c8 Uploaded
devteam
parents:
diff changeset
40
799feac145c8 Uploaded
devteam
parents:
diff changeset
41 <stdio>
799feac145c8 Uploaded
devteam
parents:
diff changeset
42 <regex match=".*" source="both" level="log" description="tool progress"/>
799feac145c8 Uploaded
devteam
parents:
diff changeset
43 </stdio>
799feac145c8 Uploaded
devteam
parents:
diff changeset
44
799feac145c8 Uploaded
devteam
parents:
diff changeset
45 <tests>
799feac145c8 Uploaded
devteam
parents:
diff changeset
46 <!-- Cannot specify multiple repeats in test framework right now.
799feac145c8 Uploaded
devteam
parents:
diff changeset
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
799feac145c8 Uploaded
devteam
parents:
diff changeset
50 <param name='complement' value='False' />
799feac145c8 Uploaded
devteam
parents:
diff changeset
51 <output name='output' file='out.vcf' />
799feac145c8 Uploaded
devteam
parents:
diff changeset
52 </test>
799feac145c8 Uploaded
devteam
parents:
diff changeset
53 -->
799feac145c8 Uploaded
devteam
parents:
diff changeset
54 </tests>
799feac145c8 Uploaded
devteam
parents:
diff changeset
55
799feac145c8 Uploaded
devteam
parents:
diff changeset
56 <help>
799feac145c8 Uploaded
devteam
parents:
diff changeset
57 Please see the VCFtools `documentation`__ for help and further information.
799feac145c8 Uploaded
devteam
parents:
diff changeset
58
799feac145c8 Uploaded
devteam
parents:
diff changeset
59 .. __: http://vcftools.sourceforge.net/docs.html
799feac145c8 Uploaded
devteam
parents:
diff changeset
60 </help>
799feac145c8 Uploaded
devteam
parents:
diff changeset
61 </tool>