annotate snpSift_int.xml @ 0:9e8280e19338 draft

Uploaded
author iuc
date Thu, 22 Jan 2015 08:39:07 -0500
parents
children 98708b88af9f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9e8280e19338 Uploaded
iuc
parents:
diff changeset
1 <tool id="snpSift_int" name="SnpSift Intervals" version="4.0.0">
9e8280e19338 Uploaded
iuc
parents:
diff changeset
2 <description>Filter variants using intervals</description>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
3 <!--
9e8280e19338 Uploaded
iuc
parents:
diff changeset
4 You can change the amount of memory used, just change the -Xmx parameter (e.g. use -Xmx2G for 2Gb of memory)
9e8280e19338 Uploaded
iuc
parents:
diff changeset
5 -->
9e8280e19338 Uploaded
iuc
parents:
diff changeset
6 <expand macro="requirements" />
9e8280e19338 Uploaded
iuc
parents:
diff changeset
7 <macros>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
8 <import>snpSift_macros.xml</import>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
9 </macros>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
10 <command>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
11 java -Xmx2G -jar \$SNPEFF_JAR_PATH/SnpSift.jar intervals -i $input $exclude $bedFile > $output
9e8280e19338 Uploaded
iuc
parents:
diff changeset
12 </command>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
13 <inputs>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
14 <param format="vcf" name="input" type="data" label="Variant input file in VCF format"/>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
15 <param format="bed" name="bedFile" type="data" label="Intervals (BED file)"/>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
16 <param name="exclude" type="boolean" truevalue="-x" falsevalue="" checked="false" label="Exclude Intervals"
9e8280e19338 Uploaded
iuc
parents:
diff changeset
17 help="Filter out (exclude) VCF entries that match any interval in the BED files"/>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
18 </inputs>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
19 <outputs>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
20 <data format="vcf" name="output" />
9e8280e19338 Uploaded
iuc
parents:
diff changeset
21 </outputs>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
22 <expand macro="stdio" />
9e8280e19338 Uploaded
iuc
parents:
diff changeset
23 <tests>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
24 <test>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
25 <param name="input" ftype="vcf" value="annotate_5.vcf"/>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
26 <param name="bedFile" ftype="bed" value="interval.bed"/>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
27 <param name="exclude" value="False"/>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
28 <output name="output">
9e8280e19338 Uploaded
iuc
parents:
diff changeset
29 <assert_contents>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
30 <has_text text="872687" />
9e8280e19338 Uploaded
iuc
parents:
diff changeset
31 <not_has_text text="1195966" />
9e8280e19338 Uploaded
iuc
parents:
diff changeset
32 </assert_contents>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
33 </output>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
34 </test>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
35 <test>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
36 <param name="input" ftype="vcf" value="annotate_5.vcf"/>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
37 <param name="bedFile" ftype="bed" value="interval.bed"/>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
38 <param name="exclude" value="True"/>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
39 <output name="output">
9e8280e19338 Uploaded
iuc
parents:
diff changeset
40 <assert_contents>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
41 <has_text text="1195966" />
9e8280e19338 Uploaded
iuc
parents:
diff changeset
42 <not_has_text text="872687" />
9e8280e19338 Uploaded
iuc
parents:
diff changeset
43 </assert_contents>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
44 </output>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
45 </test>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
46 </tests>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
47 <help>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
48
9e8280e19338 Uploaded
iuc
parents:
diff changeset
49 You can filter using intervals (BED file).
9e8280e19338 Uploaded
iuc
parents:
diff changeset
50
9e8280e19338 Uploaded
iuc
parents:
diff changeset
51 @EXTERNAL_DOCUMENTATION@
9e8280e19338 Uploaded
iuc
parents:
diff changeset
52 http://snpeff.sourceforge.net/SnpSift.html#intervals
9e8280e19338 Uploaded
iuc
parents:
diff changeset
53
9e8280e19338 Uploaded
iuc
parents:
diff changeset
54 @CITATION_SECTION@
9e8280e19338 Uploaded
iuc
parents:
diff changeset
55
9e8280e19338 Uploaded
iuc
parents:
diff changeset
56 </help>
9e8280e19338 Uploaded
iuc
parents:
diff changeset
57 </tool>