annotate snpSift_annotate.xml @ 5:192a236898f5

Add test cases for SnpSift
author Jim Johnson <jj@umn.edu>
date Mon, 25 Mar 2013 08:51:33 -0500
parents c07c403fc470
children 13b6ad2ddace
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
1 <tool id="snpSift_annotate" name="SnpSift Annotate" version="3.1">
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
2 <description>Annotate SNPs from dbSnp</description>
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
3 <!--
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
4 You will need to change the path to wherever your installation is.
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
5 You can change the amount of memory used, just change the -Xmx parameter (e.g. use -Xmx2G for 2Gb of memory)
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
6 -->
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
7 <requirements>
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
8 <requirement type="package" version="3.1">snpEff</requirement>
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
9 </requirements>
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
10 <command>java -Xmx6G -jar \$JAVA_JAR_PATH/SnpSift.jar annotate -q $dbSnp $input > $output </command>
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
11 <inputs>
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
12 <param format="vcf" name="input" type="data" label="VCF input"/>
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
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."/>
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
14 </inputs>
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
15 <stdio>
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
16 <exit_code range=":-1" level="fatal" description="Error: Cannot open file" />
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
17 <exit_code range="1:" level="fatal" description="Error" />
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
18 </stdio>
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
19
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
20 <outputs>
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
21 <data format="vcf" name="output" />
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
22 </outputs>
5
192a236898f5 Add test cases for SnpSift
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
23 <tests>
192a236898f5 Add test cases for SnpSift
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
24 <test>
192a236898f5 Add test cases for SnpSift
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
25 <param name="input" ftype="vcf" value="annotate_1.vcf"/>
192a236898f5 Add test cases for SnpSift
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
26 <param name="dbSnp" ftype="vcf" value="db_test_1.vcf"/>
192a236898f5 Add test cases for SnpSift
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
27 <output name="output">
192a236898f5 Add test cases for SnpSift
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
28 <assert_contents>
192a236898f5 Add test cases for SnpSift
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
29 <has_text text="rs76166080" />
192a236898f5 Add test cases for SnpSift
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
30 </assert_contents>
192a236898f5 Add test cases for SnpSift
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
31 </output>
192a236898f5 Add test cases for SnpSift
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
32 </test>
192a236898f5 Add test cases for SnpSift
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
33 </tests>
0
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
34 <help>
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
35
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
36 This is typically used to annotate IDs from dbSnp.
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
37
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
38 For details about this tool, please go to http://snpeff.sourceforge.net/SnpSift.html#annotate
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
39
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
40 </help>
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
41 </tool>
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
42