Skip to content
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

How to obtain the full Kirchhoff matrix in GNM Prody - protein #2032

Open
german12341212 opened this issue Feb 1, 2025 · 2 comments
Open
Labels
Unresolved The issue was unresolved. May or may not be a bug.

Comments

@german12341212
Copy link

Hi users:

I want to display the full Kirchhoff matrix of a protein in GNM Prody

When using prody and asking for:

gnm.getKirchhoff()

I only obtain a summary like this:

array([[11., -1., -1., ..., 0., 0., 0.],
[-1., 15., -1., ..., 0., 0., 0.],
[-1., -1., 20., ..., 0., 0., 0.],
...,
[ 0., 0., 0., ..., 20., -1., -1.],
[ 0., 0., 0., ..., -1., 21., -1.],
[ 0., 0., 0., ..., -1., -1., 12.]])

Does anyone have a suggestion?

Thanks in advance
German

@jamesmkrieger
Copy link
Contributor

jamesmkrieger commented Feb 12, 2025

We have a function under development to do this at #1085. You can try it by checking out my branch devel-9

If you have a development prody from github already then you can add my remote and fetch my branches and checkout this one as follows:

git remote add james https://github.com/jamesmkrieger/ProDy.git
git fetch james
git checkout devel-9

If you don't have any prody from github already then you can clone my remote and branch directly like this:
git clone -b devel-9 https://github.com/jamesmkrieger/ProDy.git
In this case, you would then need to install this prody in the development way:

python setup.py build_ext --inplace --force
pip install -Ue .

@AnthonyBogetti
Copy link
Member

Hi @german12341212, did James' fix work for you? Please let me know. Thank you.

@AnthonyBogetti AnthonyBogetti added the Unresolved The issue was unresolved. May or may not be a bug. label Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Unresolved The issue was unresolved. May or may not be a bug.
Projects
None yet
Development

No branches or pull requests

3 participants