annotate snpSift_int.xml @ 9:937367efb1da default tip

Change tool dependency to package_snpeff_3_2, now uses environment variable: SNPEFF_JAR_PATH for the location of snpeff jar files.
author Jim Johnson <jj@umn.edu>
date Wed, 18 Sep 2013 10:49:56 -0500
parents 13b6ad2ddace
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
13b6ad2ddace SnpEffect v3.2
Jim Johnson <jj@umn.edu>
parents: 6
diff changeset
1 <tool id="snpSift_int" name="SnpSift Intervals" version="3.2">
0
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
2 <description>Filter variants using intervals </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>
8
13b6ad2ddace SnpEffect v3.2
Jim Johnson <jj@umn.edu>
parents: 6
diff changeset
8 <requirement type="package" version="3.2">snpEff</requirement>
0
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
9 </requirements>
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
10 <command>
9
937367efb1da Change tool dependency to package_snpeff_3_2, now uses environment variable: SNPEFF_JAR_PATH for the location of snpeff jar files.
Jim Johnson <jj@umn.edu>
parents: 8
diff changeset
11 java -Xmx2G -jar \$SNPEFF_JAR_PATH/SnpSift.jar intervals -i $input $exclude $bedFile > $output
0
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
12 </command>
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
13 <inputs>
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
14 <param format="vcf" name="input" type="data" label="VCF input"/>
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
15 <param format="bed" name="bedFile" type="data" label="Intervals (BED file)"/>
8
13b6ad2ddace SnpEffect v3.2
Jim Johnson <jj@umn.edu>
parents: 6
diff changeset
16 <param name="exclude" type="boolean" truevalue="-x" falsevalue="" checked="false" label="Exclude Intervals"
13b6ad2ddace SnpEffect v3.2
Jim Johnson <jj@umn.edu>
parents: 6
diff changeset
17 help="Filter out (exclude) VCF entries that match any interval in the BED files"/>
0
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
18 </inputs>
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
19 <outputs>
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
20 <data format="vcf" name="output" />
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
21 </outputs>
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
22 <stdio>
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
23 <exit_code range=":-1" level="fatal" description="Error: Cannot open file" />
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
24 <exit_code range="1:" level="fatal" description="Error" />
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
25 </stdio>
5
192a236898f5 Add test cases for SnpSift
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
26 <tests>
8
13b6ad2ddace SnpEffect v3.2
Jim Johnson <jj@umn.edu>
parents: 6
diff changeset
27
5
192a236898f5 Add test cases for SnpSift
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
28 <test>
192a236898f5 Add test cases for SnpSift
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
29 <param name="input" ftype="vcf" value="annotate_5.vcf"/>
6
ec16dae84230 Fix tests for SnpSift caseControl and intervals
Jim Johnson <jj@umn.edu>
parents: 5
diff changeset
30 <param name="bedFile" ftype="bed" value="interval.bed"/>
8
13b6ad2ddace SnpEffect v3.2
Jim Johnson <jj@umn.edu>
parents: 6
diff changeset
31 <param name="exclude" value="False"/>
5
192a236898f5 Add test cases for SnpSift
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
32 <output name="output">
192a236898f5 Add test cases for SnpSift
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
33 <assert_contents>
192a236898f5 Add test cases for SnpSift
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
34 <has_text text="872687" />
192a236898f5 Add test cases for SnpSift
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
35 <not_has_text text="1195966" />
192a236898f5 Add test cases for SnpSift
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
36 </assert_contents>
192a236898f5 Add test cases for SnpSift
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
37 </output>
192a236898f5 Add test cases for SnpSift
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
38 </test>
192a236898f5 Add test cases for SnpSift
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
39
8
13b6ad2ddace SnpEffect v3.2
Jim Johnson <jj@umn.edu>
parents: 6
diff changeset
40 <test>
13b6ad2ddace SnpEffect v3.2
Jim Johnson <jj@umn.edu>
parents: 6
diff changeset
41 <param name="input" ftype="vcf" value="annotate_5.vcf"/>
13b6ad2ddace SnpEffect v3.2
Jim Johnson <jj@umn.edu>
parents: 6
diff changeset
42 <param name="bedFile" ftype="bed" value="interval.bed"/>
13b6ad2ddace SnpEffect v3.2
Jim Johnson <jj@umn.edu>
parents: 6
diff changeset
43 <param name="exclude" value="True"/>
13b6ad2ddace SnpEffect v3.2
Jim Johnson <jj@umn.edu>
parents: 6
diff changeset
44 <output name="output">
13b6ad2ddace SnpEffect v3.2
Jim Johnson <jj@umn.edu>
parents: 6
diff changeset
45 <assert_contents>
13b6ad2ddace SnpEffect v3.2
Jim Johnson <jj@umn.edu>
parents: 6
diff changeset
46 <has_text text="1195966" />
13b6ad2ddace SnpEffect v3.2
Jim Johnson <jj@umn.edu>
parents: 6
diff changeset
47 <not_has_text text="872687" />
13b6ad2ddace SnpEffect v3.2
Jim Johnson <jj@umn.edu>
parents: 6
diff changeset
48 </assert_contents>
13b6ad2ddace SnpEffect v3.2
Jim Johnson <jj@umn.edu>
parents: 6
diff changeset
49 </output>
13b6ad2ddace SnpEffect v3.2
Jim Johnson <jj@umn.edu>
parents: 6
diff changeset
50 </test>
13b6ad2ddace SnpEffect v3.2
Jim Johnson <jj@umn.edu>
parents: 6
diff changeset
51
5
192a236898f5 Add test cases for SnpSift
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
52 </tests>
192a236898f5 Add test cases for SnpSift
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
53
0
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
54 <help>
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
55
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
56 You can filter using intervals (BED file)
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
57
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
58 For details about this tool, please go to http://snpeff.sourceforge.net/SnpSift.html#intervals
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
59
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
60 </help>
c07c403fc470 Uploaded
jjohnson
parents:
diff changeset
61 </tool>