question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I cannot run plmDCA

See original GitHub issue

I could not run plmDCA with the latest docker environments. It kept crashing. I tried to resolve the issue, but I could not.

Following is the error message. [2019-11-12 15:06:28.109831] potts running. inserting gaps... Reformatted /data/1ubqA/1ubqA.a3m with 2018 sequences from a3m to a2m and written to file /data/1ubqA/1ubqA.a2m terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc /opt/entrypoint.sh: line 2: 6 Aborted (core dumped) /usr/bin/python3 /opt/prospr.py $@

And, I dug into the issue, and I found that hhblits.py could not import the plmDCA_asymmetric library with the following message. Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner self.run() File "/opt/prospr/hhblits.py", line 90, in run p = plmDCA_asymmetric.initialize() File "/usr/local/lib/python3.6/site-packages/plmDCA_asymmetric/__init__.py", line 305, in initialize return _pir.initialize_package() File "/usr/local/lib/python3.6/site-packages/plmDCA_asymmetric/__init__.py", line 253, in initialize_package package_handle.initialize() File "/usr/local/MATLAB/MATLAB_Runtime/v94/toolbox/compiler_sdk/pysdk_py/matlab_pysdk/runtime/deployablepackage.py", line 33, in initialize mcr_handle = self.__cppext_handle.startMatlabRuntimeInstance(self.__ctf_path) SystemError: CTF file '/usr/local/lib/python3.6/site-packages/plmDCA_asymmetric/plmDCA_asymmetric.ctf' failed to open for 'Read' access. Error message: 'Could not open source package'

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:19

github_iconTop GitHub Comments

4reactions
Lorenzo360commented, Mar 26, 2020

https://files.physics.byu.edu/data/prospr/potts-code/ This has the whole python package and installer. You’ll need Matlab 2018a or Matlab redistributable (free) 2018a for it to work

I would like to run prospr outside of docker, but failed with plmDCA_asymmetric. I used the .ctf file from https://files.physics.byu.edu/data/prospr/potts-code/ and get the following error message:

Index in position 3 exceeds array bounds.
Error in plmDCA_asymmetric (line 153)

Is this precompiled plmDCA version not patched yet? @YoshitakaMo seems to have found a solution. Unfortunately, I do not have a Matlab compiler, so I cannot apply the suggested changes. It would be great if you could share the patched .ctf file

1reaction
Tass0smcommented, Jan 20, 2021

From what I remember, I compiled plmDCA asymmetric following the instructions in the readme at this repository: https://github.com/Urinx/alphafold_pytorch.

However, that repository does not use the modified version of plmDCA that this one does. All of the required modifications are described in src/potts.patch. That patch is unfortunately missing some modifications which results in a non-functional plmDCA file. The solution for me was using the code mentioned above in this issue by YoshitakaMo on Jan 9, 2020.

The instructions from alphafold_pytorch also fortunately use octave instead of MATLAB, so it can be done for free and without any proprietary code. It worked well for me.

I might be forgetting something so please respond if there is still something missing. I’m making a fork of this repository which will hopefully be more functional and well documented.

Read more comments on GitHub >

github_iconTop Results From Across the Web

FilterDCA: Interpretable supervised contact prediction using ...
We have run plmDCA [19] in A. Pagnani's Julia implementation (available ... and the procedure displayed in Fig 3 cannot be directly applied....
Read more >
Difference in contact prediction between plmDCA and ...
In this work, we introduce the notion of mean dimension for generative models for protein sequences, which measures the average number of positions...
Read more >
Improving Contact Prediction along Three Dimensions - PLOS
Proteins execute many functions in the cell, for which they need to have the ... For this protein plmDCA predicts a number of...
Read more >
Protein Structure Prediction by Protein Alignments - arXiv
2011), plmDCA (Ekeberg, et al., 2013) as residue co-evolution. PSICOV assumes ... formats and we cannot correctly run the programs locally.
Read more >
PlmDCA: Pseudo Likelihood Maximization for Protein in Julia
The program (only in its symmetric version plmdca_sym ) can be run on multiple cores previous addprocs(nprocs) where nprocs should be some integer...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found