RoseTTAFold: "buffer overflow detected" when using psipred.
here is the error:
./input_prep/make_ss.sh: line 18: 11775 Aborted                 (core dumped) psipred $ID.mtx $DATADIR/weights.dat $DATADIR/weights.dat2 $DATADIR/weights.dat3 > $ID.ss
I am running the fasta file in example/input.fa, I think this might be the gcc version error. Can you help me? and which version of gcc do you use?
About this issue
- Original URL
- State: open
- Created 3 years ago
- Comments: 21 (3 by maintainers)
I found that the bug occurs at https://github.com/psipred/psipred/blob/master/src/sspred_avpred.c#L241, buffer size is 256 when I change it to 512, it can run, but I got the following output which seems not correct:
Could you give me an example of the
t000_.msa0.tmp.mtxfile in step 2?Here is mine:t000_.msa0.tmp.mtx.txt
Line 15 and the following lines of the file seems to be wrong because there are many -2147483648? Is that true?
this works for me too, you could either
conda install --force-reinstall biocore::blast-legacy=2.2.26or used “data” in
https://ftp.ncbi.nlm.nih.gov/blast/executables/legacy.NOTSUPPORTED/2.2.26/blast-2.2.26-x64-linux.tar.gz
thanks!
The working around works for me is by adding
export BLASTMAT=your_path_to/RoseTTAFold/your_conda_env/share/blast-2.2.26/data/to input_prep/make_ss.shWithout it, makemat will generate the wrong size of mtx file.
makemat -P t000_.msa0.tmp44K Jul 21 13:50 t000_.msa0.tmp.mtx 19 Jul 21 13:50 t000_.msa0.tmp.mn 74 Jul 21 13:50 t000_.msa0.tmp.auxWith BLASTMAT: 24K Jul 21 13:44 t000_.msa0.tmp.mtx 19 Jul 21 13:44 t000_.msa0.tmp.mn 74 Jul 21 13:44 t000_.msa0.tmp.aux