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