I was trying to create a snpeff database using my reference genome (in genbank format). I followed http://snpeff.sourceforge.net/supportNewGenome.html#genbank but during the editing the configuration file, I messed up. Eventually I couldn't add the genome to the config file.
My commands:
vi snpEffect.config
# Sodalis genome, version NC_007712.1 GI:85057978
NC_007712.1 GI:85057978 : Sodalis
I don't know how to save the above input information in configuration file and I m not sure whether the information I put in above is correct for my genome. I copied it from version section of genbank file of my bacteria from NCBI.
Any help will be highly appreciated.
Thank you so much! The documentation for SNPeff is rather poor, and this was the first source I (finally) found that worked! Great, thanks!
I try to run the same commands but when I try to annotate my vcf snpEff tries to upload the database from sourceforge and ends up with an error. Should the build option create some database related files at directories? Directories and their contents remain unchanged and this is weird.
The problem was following: the memory argument -Xmx4G should be added before running build command.
the folder
/usr/local/snpEff/data
does not exist, you need to create it.