annotate snpSift_int.xml @ 21:077c84a53846

JAVA_JAR_PATH action changed to set_to in tool_dependencies.xml
author Jim Johnson <jj@umn.edu>
date Tue, 27 Nov 2012 08:22:36 -0600
parents 1cae7fb31da7
children 50c1a8ff6c82
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
1 <tool id="snpSift_int" name="SnpSift Intervals" version="1.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>
20
1cae7fb31da7 SnpEffv3.1
Jim Johnson <jj@umn.edu>
parents: 17
diff changeset
8 <requirement type="package" version="3.1">snpEff</requirement>
0
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
9 </requirements>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
10 <command>
14
ef4598ea7179 Add SnpSift dependency
Jim Johnson <jj@umn.edu>
parents: 11
diff changeset
11 cat $input | java -Xmx2G -jar \$JAVA_JAR_PATH/SnpSift.jar int $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)"/>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
16 </inputs>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
17 <outputs>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
18 <data format="vcf" name="output" />
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
19 </outputs>
5
c641d515de2e Add stdio tags
Jim Johnson <jj@umn.edu>
parents: 1
diff changeset
20 <stdio>
c641d515de2e Add stdio tags
Jim Johnson <jj@umn.edu>
parents: 1
diff changeset
21 <exit_code range=":-1" level="fatal" description="Error: Cannot open file" />
c641d515de2e Add stdio tags
Jim Johnson <jj@umn.edu>
parents: 1
diff changeset
22 <exit_code range="1:" level="fatal" description="Error" />
c641d515de2e Add stdio tags
Jim Johnson <jj@umn.edu>
parents: 1
diff changeset
23 </stdio>
0
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
24 <help>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
25
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
26 You can filter using intervals (BED file)
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
27
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
28 For details about this tool, please go to http://snpeff.sourceforge.net/SnpSift.html#intervals
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
29
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
30 </help>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
31 </tool>