0
|
1 <tool id="snpSift_annotate" name="SnpSift Annotate" version="3.1">
|
|
2 <description>Annotate SNPs from dbSnp</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.1">snpEff</requirement>
|
|
9 </requirements>
|
|
10 <command>java -Xmx6G -jar \$JAVA_JAR_PATH/SnpSift.jar annotate -q $dbSnp $input > $output </command>
|
|
11 <inputs>
|
|
12 <param format="vcf" name="input" type="data" label="VCF input"/>
|
|
13 <param format="vcf" name="dbSnp" type="data" label="VCF File with ID field annotated (e.g. dnSNP.vcf)" help="The ID field for a variant in input will be assigned from a matching variant in this file."/>
|
|
14 </inputs>
|
|
15 <stdio>
|
|
16 <exit_code range=":-1" level="fatal" description="Error: Cannot open file" />
|
|
17 <exit_code range="1:" level="fatal" description="Error" />
|
|
18 </stdio>
|
|
19
|
|
20 <outputs>
|
|
21 <data format="vcf" name="output" />
|
|
22 </outputs>
|
5
|
23 <tests>
|
|
24 <test>
|
|
25 <param name="input" ftype="vcf" value="annotate_1.vcf"/>
|
|
26 <param name="dbSnp" ftype="vcf" value="db_test_1.vcf"/>
|
|
27 <output name="output">
|
|
28 <assert_contents>
|
|
29 <has_text text="rs76166080" />
|
|
30 </assert_contents>
|
|
31 </output>
|
|
32 </test>
|
|
33 </tests>
|
0
|
34 <help>
|
|
35
|
|
36 This is typically used to annotate IDs from dbSnp.
|
|
37
|
|
38 For details about this tool, please go to http://snpeff.sourceforge.net/SnpSift.html#annotate
|
|
39
|
|
40 </help>
|
|
41 </tool>
|
|
42
|