Entering edit mode
6.3 years ago
StudentBio
•
0
hello, please i got this error when i try building a database for date plam genome
Total: 363391 markers added.
Create exons from CDS (if needed): ..................................................................+......................................................................................................................
Exons created for 138 transcripts.
Deleting redundant exons (if needed):
Total transcripts with deleted exons: 0
Collapsing zero length introns (if needed):
Total collapsed transcripts: 0
Reading sequences :
FASTA file: '/home/inra/snpEff/./data/genomes/dpv01.fa' not found.
FASTA file: '/home/inra/snpEff/./data/dpv01/sequences.fa' not found.
java.lang.RuntimeException: Cannot find reference sequence.
at org.snpeff.snpEffect.factory.SnpEffPredictorFactory.readExonSequences(SnpEffPredictorFactory.java:692)
at org.snpeff.snpEffect.factory.SnpEffPredictorFactoryGff.readExonSequences(SnpEffPredictorFactoryGff.java:428)
at org.snpeff.snpEffect.factory.SnpEffPredictorFactoryGff.create(SnpEffPredictorFactoryGff.java:342)
at org.snpeff.snpEffect.commandLine.SnpEffCmdBuild.run(SnpEffCmdBuild.java:369)
at org.snpeff.SnpEff.run(SnpEff.java:1183)
at org.snpeff.SnpEff.main(SnpEff.java:162)
java.lang.RuntimeException: Error reading file '/home/inra/snpEff/./data/dpv01/genes.gff'
java.lang.RuntimeException: Cannot find reference sequence.
at org.snpeff.snpEffect.factory.SnpEffPredictorFactoryGff.create(SnpEffPredictorFactoryGff.java:353)
at org.snpeff.snpEffect.commandLine.SnpEffCmdBuild.run(SnpEffCmdBuild.java:369)
at org.snpeff.SnpEff.run(SnpEff.java:1183)
at org.snpeff.SnpEff.main(SnpEff.java:162)
00:00:21 Logging
00:00:26 Checking for updates...
00:00:27 Done.
Hello StudentBio,
what was the exact command you use?
Read the error message carefuly. It clearly stated out what the problem is:
So there is a mistake in how you tell snpEff where it will find the data needed.
fin swimmer
And how does your config file look like?
Hello,
this cannot be the full config file. There must be at least a line about the data dir, because that's your problem. snpEff appends
./data
but it should be just/data
. You can:-dataDir <path>
option in your build commandPlease use the formatting bar (especially the
code
option) to present your post better. I've done it for you this time.Thank you!
Hey, I am going through the same problem while building database
00:00:41 Reading sequences : 00:00:41 FASTA file: '/mnt/d/snpEff/data/Asian_seabass_v1/genomes/Asian_seabass_v1.fa' not found. 00:00:41 FASTA file: '/mnt/d/snpEff/data/Asian_seabass_v1/Asian_seabass_v1/sequences.fa' not found. java.lang.RuntimeException: Cannot find reference sequence. at org.snpeff.snpEffect.factory.SnpEffPredictorFactory.readExonSequences(SnpEffPredictorFactory.java:702) at org.snpeff.snpEffect.factory.SnpEffPredictorFactoryGff.readExonSequences(SnpEffPredictorFactoryGff.java:450) at org.snpeff.snpEffect.factory.SnpEffPredictorFactoryGff.create(SnpEffPredictorFactoryGff.java:347) at org.snpeff.snpEffect.commandLine.SnpEffCmdBuild.run(SnpEffCmdBuild.java:416) at org.snpeff.SnpEff.run(SnpEff.java:1141) at org.snpeff.SnpEff.main(SnpEff.java:160) java.lang.RuntimeException: Error reading file '/mnt/d/snpEff/data/Asian_seabass_v1/Asian_seabass_v1/genes.gff' java.lang.RuntimeException: Cannot find reference sequence. at org.snpeff.snpEffect.factory.SnpEffPredictorFactoryGff.create(SnpEffPredictorFactoryGff.java:359) at org.snpeff.snpEffect.commandLine.SnpEffCmdBuild.run(SnpEffCmdBuild.java:416) at org.snpeff.SnpEff.run(SnpEff.java:1141) at org.snpeff.SnpEff.main(SnpEff.java:160) 00:00:41 Logging
could you suggest me how can I resolve this???
hey, i am having error while building the database please suggest the solution for this how can i solve it
this the command i am using
for building the database
Error is clearly noted:
reference sequence is already there in the folder