| 0 | 1 <tool id="snpSift_annotate" name="SnpSift Annotate" version="1.0"> | 
|  | 2 	<description>Annotate SNPs from dbSnp</description> | 
|  | 3 	<!-- | 
|  | 4 	    You will need to change the path to wherever your installation is. | 
|  | 5 		You can change the amount of memory used, just change the -Xmx parameter (e.g. use -Xmx2G for 2Gb of memory) | 
|  | 6 	--> | 
|  | 7 	<requirements> | 
| 1 | 8 		<requirement type="package" version="3.0f">snpEff</requirement> | 
| 0 | 9 		<requirement type="set_environment">JAVA_JAR_PATH </requirement> | 
|  | 10 	</requirements> | 
|  | 11 	<command>java -Xmx6G -jar $JAVA_JAR_PATH/SnpSift.jar annotate -q $dbSnp $input > $output </command> | 
|  | 12 	<inputs> | 
|  | 13 		<param format="vcf" name="input" type="data" label="VCF input"/> | 
|  | 14 		<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."/> | 
|  | 15 	</inputs> | 
|  | 16         <stdio> | 
| 5 | 17           <exit_code range=":-1"  level="fatal"   description="Error: Cannot open file" /> | 
|  | 18           <exit_code range="1:"  level="fatal"   description="Error" /> | 
| 0 | 19         </stdio> | 
|  | 20 | 
|  | 21 	<outputs> | 
|  | 22 		<data format="vcf" name="output" /> | 
|  | 23 	</outputs> | 
|  | 24 | 
|  | 25 	<help> | 
|  | 26 | 
|  | 27 This is typically used to annotate IDs from dbSnp. | 
|  | 28 | 
|  | 29 For details about this tool, please go to http://snpeff.sourceforge.net/SnpSift.html#annotate | 
|  | 30 | 
|  | 31 	</help> | 
|  | 32 </tool> | 
|  | 33 |