-
Notifications
You must be signed in to change notification settings - Fork 440
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"buffer overflow detected" when using psipred. #13
Comments
Could you provide more details for your machine environment? We used gcc 9.3.0 (see below)
|
This version is OK for me, @ubuntu 18.0.4. |
hhsuite-3.3.0 is NOT OK. |
Hi there, I had the same problem as @panganqi , $ wget https://github.com/soedinglab/hh-suite/releases/download/v3.2.0/hhsuite-3.2.0-AVX2-Linux.tar.gz --no-check-certificate
$ tar xvfz hhsuite-3.2.0-AVX2-Linux.tar.gz
$ export PATH="$(pwd)/bin:$(pwd)/scripts:$PATH" Here is my machine environment:
I have already tried to use the file in this repo (https://github.com/RosettaCommons/RoseTTAFold/blob/main/example/pyrosetta/t000_.msa0.a3m) as the input of step 2 in https://github.com/RosettaCommons/RoseTTAFold/blob/main/run_pyrosetta_ver.sh#L44, but still got the same result. It seems that it is the Can you offer some advice or help @minkbaek? |
Not sure what exactly causes the problem here as it works fine for my Linux machine. One thing you can try is to install psipred from the source code (https://github.com/psipred/psipred). For easy-install, I included conda installation for psipred, but it might be not compatible with your Linux environment. |
I am facing the same 'buffer overflow' error while running PSIPRED. I did try installing from the source code with no success. Just curious, is this secondary structure info crucial to the prediction, can we ignore it and just use the MSA from hhblits? If we still have no luck getting psipred to work, maybe we can ignore this step? Thank you! |
I have already tried to install psipred from the source code (https://github.com/psipred/psipred), but it did not succeed either. I am using ubuntu1~18.04, so this means that maybe I can try ubuntu1~20.04? |
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 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? |
In my case, updating Ubuntu from 18.04 to 20.04 perfectly solved the buffer overflow problem. Guess the latest version of Ubuntu and gcc somehow would not encounter this problem. Hope this helps. |
I have the same issue. I am using Ubuntu 16.04.7 and gcc 5.4.0. I am using HHblits 3.3.0. |
That would be perfect! |
Here is the gcc version on our computer: gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 This version of gcc is bundled with the latest version of Ubuntu. |
Good news! |
The working around works for me is by adding Without it, makemat will generate the wrong size of mtx file. With BLASTMAT: |
Hi, could you specify what is "your_path_to" and "your_conda_env" here, |
this works for me too, or used "data" in thanks! |
The path to your conda env, if you didn't change anything in the yaml file, then "RoseTTAFold" env. blast should be installed already in the environment: RoseTTAFold/RoseTTAFold-linux.yml Line 12 in 5510443
|
Thanks, it turns out if you use RoseTTAFold/RoseTTAFold-linux-cu101.yml instead of RoseTTAFold/RoseTTAFold-linux.yml, you can not find $CONDA_PREFIX/env/RoseTTAFold/share/blast-2.2.26/data/, but if I download the package mention by xubeisi, Overall, the problem is not related with psipred but makemat, with BLASTMAT defined, correct mtx file can be generated and so psipred can work well. |
works for me, thanks! |
Running |
No. All wrong :0. This is because we all followed the install.md from this post. It indicates to switch NCBI's default environmental variable $BLASTMAT to point to the csblast database under step 16. This is incorrect. Just look at the ouput of
To test this, deactivate with
TADA!!!! |
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?
The text was updated successfully, but these errors were encountered: