annotate snpEff.xml @ 23:50c1a8ff6c82

Update version to 3.1
author Jim Johnson <jj@umn.edu>
date Thu, 17 Jan 2013 14:25:58 -0600
parents 4430626bd994
children f22f28cd881e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23
50c1a8ff6c82 Update version to 3.1
Jim Johnson <jj@umn.edu>
parents: 22
diff changeset
1 <tool id="snpEff" name="SnpEff" version="3.1">
0
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
2 <description>Variant effect and annotation</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 by snpEff, just change the -Xmx parameter (e.g. use -Xmx2G for 2Gb of memory)
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
6 <command>java -Xmx6G -jar /path/to/your/snpEff/snpEff.jar eff -c /path/to/your/snpEff/snpEff/snpEff.config $inputFormat $offset -upDownStreamLen $udLength $filterIn $filterHomHet -no $filterOut -stats $statsFile $genomeVersion $input > $output </command>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
7 -->
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
8 <requirements>
20
1cae7fb31da7 SnpEffv3.1
Jim Johnson <jj@umn.edu>
parents: 17
diff changeset
9 <requirement type="package" version="3.1">snpEff</requirement>
0
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
10 </requirements>
22
4430626bd994 Use snpeffect_genomedb.loc for genomeVersions, have snpEff attempt to download genomeVersions that are not already locally cached
Jim Johnson <jj@umn.edu>
parents: 20
diff changeset
11 <command>
4430626bd994 Use snpeffect_genomedb.loc for genomeVersions, have snpEff attempt to download genomeVersions that are not already locally cached
Jim Johnson <jj@umn.edu>
parents: 20
diff changeset
12 export SNPEFF_DATA_DIR=`grep '^data_dir' \$JAVA_JAR_PATH/snpEff.config | sed 's/.*data_dir.*[=:]//'`;
4430626bd994 Use snpeffect_genomedb.loc for genomeVersions, have snpEff attempt to download genomeVersions that are not already locally cached
Jim Johnson <jj@umn.edu>
parents: 20
diff changeset
13 if [ ! -e \$SNPEFF_DATA_DIR/$genomeVersion ] ;
4430626bd994 Use snpeffect_genomedb.loc for genomeVersions, have snpEff attempt to download genomeVersions that are not already locally cached
Jim Johnson <jj@umn.edu>
parents: 20
diff changeset
14 then java -Xmx6G -jar \$JAVA_JAR_PATH/snpEff.jar download -c \$JAVA_JAR_PATH/snpEff.config $genomeVersion ;
4430626bd994 Use snpeffect_genomedb.loc for genomeVersions, have snpEff attempt to download genomeVersions that are not already locally cached
Jim Johnson <jj@umn.edu>
parents: 20
diff changeset
15 fi;
4430626bd994 Use snpeffect_genomedb.loc for genomeVersions, have snpEff attempt to download genomeVersions that are not already locally cached
Jim Johnson <jj@umn.edu>
parents: 20
diff changeset
16 java -Xmx6G -jar \$JAVA_JAR_PATH/snpEff.jar eff -c \$JAVA_JAR_PATH/snpEff.config -i $inputFormat -o $outputFormat -upDownStreamLen $udLength $filterIn $filterHomHet -no $filterOut -stats $statsFile $genomeVersion $input > $output </command>
0
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
17 <inputs>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
18 <param format="vcf,tabular,pileup,bed" name="input" type="data" label="Sequence changes (SNPs, MNPs, InDels)"/>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
19
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
20 <param name="inputFormat" type="select" label="Input format">
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
21 <option value="vcf">VCF</option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
22 <option value="txt">Tabular</option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
23 <option value="pileup">Pileup</option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
24 <option value="bed">BED</option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
25 </param>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
26
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
27 <param name="outputFormat" type="select" label="Output format">
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
28 <option value="txt">Tabular</option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
29 <option value="vcf">VCF (only if input is VCF)</option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
30 <option value="bed">BED</option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
31 <option value="bedAnn">BED Annotations</option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
32 </param>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
33
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
34 <param name="genomeVersion" type="select" label="Genome">
22
4430626bd994 Use snpeffect_genomedb.loc for genomeVersions, have snpEff attempt to download genomeVersions that are not already locally cached
Jim Johnson <jj@umn.edu>
parents: 20
diff changeset
35 <options from_file="snpeffect_genomedb.loc">
4430626bd994 Use snpeffect_genomedb.loc for genomeVersions, have snpEff attempt to download genomeVersions that are not already locally cached
Jim Johnson <jj@umn.edu>
parents: 20
diff changeset
36 <column name="name" index="1"/>
4430626bd994 Use snpeffect_genomedb.loc for genomeVersions, have snpEff attempt to download genomeVersions that are not already locally cached
Jim Johnson <jj@umn.edu>
parents: 20
diff changeset
37 <column name="value" index="0"/>
4430626bd994 Use snpeffect_genomedb.loc for genomeVersions, have snpEff attempt to download genomeVersions that are not already locally cached
Jim Johnson <jj@umn.edu>
parents: 20
diff changeset
38 </options>
0
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
39 </param>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
40
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
41 <param name="udLength" type="select" label="Upstream / Downstream length">
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
42 <option value="0">No upstream / downstream intervals (0 bases)</option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
43 <option value="200">200 bases</option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
44 <option value="500">500 bases</option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
45 <option value="1000">1000 bases</option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
46 <option value="2000">2000 bases</option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
47 <option value="5000" selected="true">5000 bases</option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
48 <option value="10000">10000 bases</option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
49 <option value="20000">20000 bases</option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
50 </param>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
51
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
52 <param name="filterHomHet" type="select" display="radio" label="Filter homozygous / heterozygous changes">
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
53 <option value="">No filter (analyze everything)</option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
54 <option value="-hom">Analyze homozygous sequence changes only </option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
55 <option value="-het">Analyze heterozygous sequence changes only </option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
56 </param>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
57
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
58 <param name="filterIn" type="select" display="radio" label="Filter sequence changes">
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
59 <option value="">No filter (analyze everything)</option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
60 <option value="-del">Analyze deletions only </option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
61 <option value="-ins">Analyze insertions only </option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
62 <option value="-nmp">Only MNPs (multiple nucleotide polymorphisms) </option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
63 <option value="-snp">Only SNPs (single nucleotide polymorphisms) </option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
64 </param>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
65
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
66 <param name="filterOut" type="select" display="checkboxes" multiple="true" optional="false" value="None" label="Filter output">
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
67 <option value="None" selected="true">None</option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
68 <option value="downstream">Do not show DOWNSTREAM changes </option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
69 <option value="intergenic">Do not show INTERGENIC changes </option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
70 <option value="intron">Do not show INTRON changes </option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
71 <option value="upstream">Do not show UPSTREAM changes </option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
72 <option value="utr">Do not show 5_PRIME_UTR or 3_PRIME_UTR changes </option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
73 </param>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
74
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
75 <param name="offset" type="select" display="radio" optional="true" label="Chromosomal position">
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
76 <option value="">Use default (based on input type)</option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
77 <option value="-0">Force zero-based positions (both input and output)</option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
78 <option value="-1">Force one-based positions (both input and output)</option>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
79 </param>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
80 </inputs>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
81 <outputs>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
82 <data format="tabular" name="output" >
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
83 <change_format>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
84 <when input="outputFormat" value="txt" format="tabular" />
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
85 <when input="outputFormat" value="vcf" format="vcf" />
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
86 <when input="outputFormat" value="bed" format="bed" />
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
87 <when input="outputFormat" value="bedAnn" format="bed" />
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
88 </change_format>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
89 </data>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
90 <data format="html" name="statsFile" />
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
91 </outputs>
5
c641d515de2e Add stdio tags
Jim Johnson <jj@umn.edu>
parents: 1
diff changeset
92 <stdio>
c641d515de2e Add stdio tags
Jim Johnson <jj@umn.edu>
parents: 1
diff changeset
93 <exit_code range=":-1" level="fatal" description="Error: Cannot open file" />
c641d515de2e Add stdio tags
Jim Johnson <jj@umn.edu>
parents: 1
diff changeset
94 <exit_code range="1:" level="fatal" description="Error" />
c641d515de2e Add stdio tags
Jim Johnson <jj@umn.edu>
parents: 1
diff changeset
95 </stdio>
0
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
96 <help>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
97
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
98 This tool calculate the effect of variants (SNPs/MNPs/Insertions) and deletions.
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
99
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
100 For details about this tool, please go to http://snpEff.sourceforge.net
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
101
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
102 </help>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
103 </tool>
388f178f9e13 Uploaded
jjohnson
parents:
diff changeset
104