annotate snpSift_int.xml @ 25:7c1c337fb21c default tip

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