Mercurial > repos > fubar > snpeff_3_3_wrapper
comparison snpeff_3_3/snpSift_int.xml @ 0:80e2dbf1b1f5 draft
Uploaded
author | fubar |
---|---|
date | Sun, 11 Aug 2013 08:15:14 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:80e2dbf1b1f5 |
---|---|
1 <tool id="snpSift_int" name="SnpSift Intervals" version="3.3"> | |
2 <description>Filter variants using intervals </description> | |
3 <!-- | |
4 You will need to change the path to wherever your installation is. | |
5 You can change the amount of memory used, just change the -Xmx parameter (e.g. use -Xmx2G for 2Gb of memory) | |
6 --> | |
7 <requirements> | |
8 <requirement type="package" version="3.3">snpEff</requirement> | |
9 </requirements> | |
10 <command> | |
11 java -Xmx2G -jar \$JAVA_JAR_PATH/SnpSift.jar intervals -i $input $exclude $bedFile > $output | |
12 </command> | |
13 <inputs> | |
14 <param format="vcf" name="input" type="data" label="VCF input"/> | |
15 <param format="bed" name="bedFile" type="data" label="Intervals (BED file)"/> | |
16 <param name="exclude" type="boolean" truevalue="-x" falsevalue="" checked="false" label="Exclude Intervals" | |
17 help="Filter out (exclude) VCF entries that match any interval in the BED files"/> | |
18 </inputs> | |
19 <outputs> | |
20 <data format="vcf" name="output" /> | |
21 </outputs> | |
22 <stdio> | |
23 <exit_code range=":-1" level="fatal" description="Error: Cannot open file" /> | |
24 <exit_code range="1:" level="fatal" description="Error" /> | |
25 </stdio> | |
26 <tests> | |
27 | |
28 <test> | |
29 <param name="input" ftype="vcf" value="annotate_5.vcf"/> | |
30 <param name="bedFile" ftype="bed" value="interval.bed"/> | |
31 <param name="exclude" value="False"/> | |
32 <output name="output"> | |
33 <assert_contents> | |
34 <has_text text="872687" /> | |
35 <not_has_text text="1195966" /> | |
36 </assert_contents> | |
37 </output> | |
38 </test> | |
39 | |
40 <test> | |
41 <param name="input" ftype="vcf" value="annotate_5.vcf"/> | |
42 <param name="bedFile" ftype="bed" value="interval.bed"/> | |
43 <param name="exclude" value="True"/> | |
44 <output name="output"> | |
45 <assert_contents> | |
46 <has_text text="1195966" /> | |
47 <not_has_text text="872687" /> | |
48 </assert_contents> | |
49 </output> | |
50 </test> | |
51 | |
52 </tests> | |
53 | |
54 <help> | |
55 | |
56 You can filter using intervals (BED file) | |
57 | |
58 For details about this tool, read the fine manual_ http://snpeff.sourceforge.net/SnpSift.html#intervals | |
59 | |
60 For details about this tool, please see the snpEff_ web site. | |
61 | |
62 .. _snpEff: http://snpEff.sourceforge.net | |
63 .. _manual: http://snpeff.sourceforge.net/SnpSift.html#intervals | |
64 .. _licensed: http://creativecommons.org/licenses/by-nc-nd/3.0/ | |
65 </help> | |
66 </tool> |