0
|
1 <tool id="snpSift_int" name="SnpSift Intervals" version="1.0">
|
|
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>
|
14
|
8 <requirement type="package" version="1.7">SnpSift</requirement>
|
0
|
9 <requirement type="set_environment">JAVA_JAR_PATH </requirement>
|
|
10 </requirements>
|
|
11 <command>
|
14
|
12 cat $input | java -Xmx2G -jar \$JAVA_JAR_PATH/SnpSift.jar int $bedFile > $output
|
0
|
13 </command>
|
|
14 <inputs>
|
|
15 <param format="vcf" name="input" type="data" label="VCF input"/>
|
|
16 <param format="bed" name="bedFile" type="data" label="Intervals (BED file)"/>
|
|
17 </inputs>
|
|
18 <outputs>
|
|
19 <data format="vcf" name="output" />
|
|
20 </outputs>
|
5
|
21 <stdio>
|
|
22 <exit_code range=":-1" level="fatal" description="Error: Cannot open file" />
|
|
23 <exit_code range="1:" level="fatal" description="Error" />
|
|
24 </stdio>
|
0
|
25 <help>
|
|
26
|
|
27 You can filter using intervals (BED file)
|
|
28
|
|
29 For details about this tool, please go to http://snpeff.sourceforge.net/SnpSift.html#intervals
|
|
30
|
|
31 </help>
|
|
32 </tool>
|