I'm current working on building a new database on snpEff, because the current one is not an up-to-date version. However I keep receiving the error below:
java -jar snpEff.jar build -gff3 -v Zea_Mays_B73
00:00:00 SnpEff version SnpEff 4.3t (build 2017-11-24 10:18), by Pablo Cingolani
00:00:00 Command: 'build'
00:00:00 Building database for 'Zea_Mays_B73'
00:00:00 Reading configuration file 'snpEff.config'. Genome: 'Zea_Mays_B73'
00:00:00 Reading config file: /opt/home/ngsclass/Amoiroglou/pt1RNAlibs/VcfFiles/snpEff/snpEff.config
java.lang.RuntimeException: Property: 'Zea_Mays_B73.genome' not found
at org.snpeff.interval.Genome.<init>(Genome.java:106)
at org.snpeff.snpEffect.Config.readGenomeConfig(Config.java:681)
at org.snpeff.snpEffect.Config.readConfig(Config.java:649)
at org.snpeff.snpEffect.Config.init(Config.java:480)
at org.snpeff.snpEffect.Config.<init>(Config.java:117)
at org.snpeff.SnpEff.loadConfig(SnpEff.java:451)
at org.snpeff.snpEffect.commandLine.SnpEffCmdBuild.run(SnpEffCmdBuild.java:364)
at org.snpeff.SnpEff.run(SnpEff.java:1183)
at org.snpeff.SnpEff.main(SnpEff.java:162)
00:00:00 Logging
00:00:01 Done.
I have followed the documentation on the snpEff manual page(http://snpeff.sourceforge.net/SnpEff_manual.html#databases) with no luck.
Any help is very very appreciated!
Anastasia A. : Please use
ADD COMMENT/ADD REPLY
when responding to existing posts to keep threads logically organized.SUBMIT ANSWER
is reserved for submitting new answers for theoriginal
question in the thread.Similar problem with this:
error in building annotation database by SnpEff
Have you added your genome entry to the snpEff config file?
Thank you for your reply, and yes I did add the genome to the snpEff config file and still received the same error.
I also made a dir called Zea_Mays_B73v4 and downloaded both genomic fasta and the gff3 annotation file (also renamed those according to the instructions on snpEff manual).
Is the command you used?
Make sure the name should be Zea_Mays_B73v4 not Zea_Mays_B73
Yes, you were right, that worked!
Thank you!! (hate when it is just a typo)
Now that I was able to get the database to built I'm receiving the following when trying to download it.
Any thoughts on why it is still unable to find my database?
Hello and welcome to biostars Anastasia A. ,
Please use the formatting bar (especially the
code
option) to present your post better. I've done it for you this time.Thank you!
Thank you! I did that and it seemed like the db was built. However when I run my samples using my db as the reference db, the program is unable to find it and it is looking in the snpeff server. I get the error message below:
SnpEff version SnpEff 4.3t (build 2017-11-24 10:18), by Pablo Cingolani
Looks like snpEff still tries to download the database instead of looking for a local one. Can you confirm you added the entry to the configure file like this:
Make sure the first line is commented out. Then try this:
I edit the snpEff as you described and still didn't work. I also added data.dir pathway as it is specified on the config file :
# Zea_Mays_B73v4 genome, Version 4 Zea_Mays_B73v4.genome : Zea_Mays_B73v4 data.dir = ~/ngsclass/Amoiroglou/pt1RNAlibs/VcfFiles/snpEff/data/Zea_Mays_B73v4/
that still didn't seem to solve the issue of trying to find the db on the server instead of the local directory. I tried both with and without the data.dir and had no luck.
I'll download the maize data to do a real test and report back later.