Entering edit mode
6.6 years ago
rbronste
▴
420
Wondering why I am getting following error, building the database as follows:
makeblastdb -in a.lines.fasta -input_type fasta -title a.lines -parse_seqids -dbtype nucl -out a.lines.fasta
After this running the following command:
blastn -db a.lines.fasta -query gapdh_mus.fa
Error:
Error: (1431.1) FASTA-Reader: Warning: FASTA-Reader: Ignoring invalid residues at position(s): On line 1: 3-14, 25, 30, 33, 36, 38, 42, 44, 46, 48, 50, 54, 57, 62, 64, 68, 70, 73, 76-77, 86-87, 93, 98-99
Error: NCBI C++ Exception:
"/builddir/build/BUILD/ncbi-blast-2.2.29+/c++/src/corelib/ncbiobj.cpp", line 926: Critical: ncbi::CObject::ThrowNullPointerException() - Attempt to access NULL pointer.
Thanks!
Are there spaces in fasta headers?
Yes one did have spaces, got rid of those however the second error still persists.
Why are you using an ancient version of blast? Blast is now in v.2.7.1.
I was actually just using the blast that was installed as a module on our computing cluster but yes it is quite aged. I guess I can install my own copy.
Besides updating your blast version to something recent, could you re-build the db but this time activate the 'logging' (add -logfile <file> or so) and see what's reported?
right. the number of added sequences corresponds to the number of input sequences I assume?
otherwise looking fine.
Could you post an excerpt of the first lines of your input fasta file?
give a few more ;) , let's say 10
nothing out of the ordinary at first sight though
Actually when I pull one specific sequence out of the -db input and run a blast on that against gapdh it works however when its many added sequences in the -db input against the -query it gives me this error.
you do understand that a.lines.fasta is your DB and gapdh is you input file, right? I'm thus not quite sure what you mean here.