Question: SnpEff Custom DB for Recombinant virus
gravatar for skbrimer
3.4 years ago by
United States
skbrimer650 wrote:

Good Morning Hive mind,

I am using SnpEff v4 to attemp to make a custom database of a recombinant virus we made in house. I have annotated the genome using DNAStar SeqNinja which uses Mauve to map genes from a reference to your genome and then outputs a genbank file.

So I have my file, and I'm following the SnpEff documentation to add a custom database to it's data set. With the basic command:

java -jar snpeff.jar -v build -genbank

I am in the snpeff directory like it says but I get the following output and error

00:00:00    SnpEff version SnpEff 4.3r (build 2017-09-06 16:41), by Pablo Cingolani
00:00:00    Command: 'build'
00:00:00    Building database for '/home/sbrimer/Desktop/'
00:00:00    Reading configuration file 'snpEff.config'. Genome: '/home/sbrimer/Desktop/'
00:00:00    Reading config file: /home/sbrimer/software/snpEff/snpEff.config
java.lang.RuntimeException: Property: '/home/sbrimer/Desktop/' not found
    at org.snpeff.interval.Genome.<init>(
    at org.snpeff.snpEffect.Config.readGenomeConfig(
    at org.snpeff.snpEffect.Config.readConfig(
    at org.snpeff.snpEffect.Config.init(
    at org.snpeff.snpEffect.Config.<init>(
    at org.snpeff.SnpEff.loadConfig(
    at org.snpeff.SnpEff.main(
00:00:00    Logging
00:00:01    Done.

It says it can not find which is fair there is no such file but I don't understand this error at all. Has anyone run into this error before?

Any help is appreciated and thank you in advance.


snp genome • 2.2k views
ADD COMMENTlink modified 3.4 years ago • written 3.4 years ago by skbrimer650

The short answer is make sure you do all the steps in the documentation. Boy do I feel silly.

ADD REPLYlink written 3.4 years ago by skbrimer650
gravatar for Pierre Lindenbaum
3.4 years ago by
France/Nantes/Institut du Thorax - INSERM UMR1087
Pierre Lindenbaum133k wrote:

where did you put the file relative to the snpEff/data/ dir ? how did you edit the snpeff config file ?

ADD COMMENTlink written 3.4 years ago by Pierre Lindenbaum133k

You are correct, I forgot to edit the snpeff.config file. I had the files in the data dir just forgot to do step two.

ADD REPLYlink written 3.4 years ago by skbrimer650

can you please validate my answer please.

ADD REPLYlink written 3.4 years ago by Pierre Lindenbaum133k

Sure will! Thank you for the help!

ADD REPLYlink written 3.4 years ago by skbrimer650
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1030 users visited in the last hour