Code Monkey home page Code Monkey logo

packman's People

Contributors

baberlevi avatar cclauss avatar njbooher avatar pranavkhade avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

packman's Issues

alpha shape

This is not an issue but a question. I just need the alpha shape, how can I extract it? Thank you in advance.

Some biological assemblies are not reading multiple examples.

1a9o_1-A_2-A has out of index model.
1a5n_2-A_3-A has out of index model.
1a1s_4-A_8-A has out of index model.
1a5o_1-B_2-C has out of index model.
1aew_3-A_19-A has out of index model.
1aew_14-A_21-A has out of index model.
1a6d_2-A_4-A has out of index model.
1ahz_1-A_3-B has out of index model.
1a5m_1-A_3-A has out of index model.
1a34_22-A_42-A has out of index model.
1a34_21-A_25-A has out of index model.
1a34_15-A_29-A has out of index model.
1a34_8-A_32-A has out of index model.
1aam_1-A_2-A has out of index model.
1a6c_27-A_52-A has out of index model.

Long PDB / PDBx - MMCIF : unable to perform an analyze

Dear maintainer, i encounter a problem using PACKMAN

Client Used : PACKMAN GUI provided through pip installation

Error encountered with PDB :
image

Error encountered with CIF :
image
image
In both case, i don't obtain any result

Parameters used on the GUI : default

At first i thought it was the PDB or CIF file i was providing that was with a wrong formatting, so i tried various mean for saving my original file using different software (pdb_tools, pdb2cif, pymol, vmd..).
I also tried to split my structure and kept one monomer, but it doesn't work either.

I tried to use a similar structure (size wise) in CIF, it seemed to work.

So i come in your direction seeking help

Kind Regards

DeprecationWarning: Delaunay attribute 'vertices' is deprecated in favor of 'simplices'

packman/tests/geometry/test_geometry.py::TestGeometry::test_AlphaShape
  /home/runner/work/PACKMAN/PACKMAN/packman/tests/geometry/test_geometry.py:22:
    DeprecationWarning: Delaunay attribute 'vertices' is deprecated in favor of 'simplices' and will be removed in Scipy 1.11.0.
      self.assertIsInstance( geometry.AlphaShape( [j for i in self.mol[0].get_backbone() for j in i], 4 )[0][0], molecule.Atom )

Eccentricity - Infinite lengths

When predicting hinges on the backbone, it sometimes fails due to infinite lengths. Is this caused by unconnected nodes? Can it be fixed by changing the alpha value? Should there be something in the code that handles this issue instead of crashing?

Nose2 is incompatible with Python >= 3.10

Migrate to pytest using https://pypi.org/project/nose2pytest

============================= test session starts ==============================
platform linux -- Python 3.9.16, pytest-7.2.2, pluggy-1.0.0
rootdir: /home/runner/work/PACKMAN/PACKMAN
collected 15 items

packman/tests/anm/test_anm.py ..                                         [ 13%]
packman/tests/dci/test_dci.py .                                          [ 20%]
packman/tests/entropy/test_entropy.py .                                  [ 26%]
packman/tests/geometry/test_geometry.py ..                               [ 40%]
packman/tests/gnm/test_gnm.py .                                          [ 46%]
packman/tests/molecule/test_molecule.py ........                         [100%]

=============================== warnings summary ===============================
packman/tests/geometry/test_geometry.py::TestGeometry::test_AlphaShape
  /home/runner/work/PACKMAN/PACKMAN/packman/tests/geometry/test_geometry.py:22: DeprecationWarning: Delaunay attribute 'vertices' is deprecated in favour of 'simplices' and will be removed in Scipy 1.11.0.
    self.assertIsInstance( geometry.AlphaShape( [j for i in self.mol[0].get_backbone() for j in i], 4 )[0][0], molecule.Atom )

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================== 15 passed, 1 warning in 6.09s =========================

NumPy 2.0 np.mat to np.asmatrix change

FAILED packman/tests/utilities/test_utilities.py::Test_Utilities::test_superimpose - AttributeError: np.mat was removed in the NumPy 2.0 release. Use np.asmatrix instead.

load_hinge path does not allow for spaces

When the path in your .hng file contains any whitespace, the line=i.strip().split() in utilities.load_hinge splits the line into a list that is longer than 3. Afterwards, the HNGinfo[ line[0]+'_'+line[1] ]=[float(j) for j in line[2].split(':')] becomes irrelevant because the first, second, and third elements of line are not as intended

Packing Entropy server file format (Read if you do not see the results)

Hello,

I am trying to calculate the entropy of a pdb structure. I uploaded it to the Packing Entropy server, and it said

Job Status: SUCCESS
ERROR:root:Please check the parameters.

I opened the log.txt which said the same thing, and the output.txt did not contain anything. I did not change any of the default parameters, and did not use any chains in the entropy calculation. Considering the error message says to check the parameters, which are all the default parameters, do you know what may be wrong? I have attached my pdb file as a zip file. Thanks!

Best,
Christian
subset.zip

Always rotate the N-terminal

#Smaller component will be rotated to keep computational intensity low
to_rotate = list(changed_components[min((len(l), i) for i, l in enumerate(changed_components))[1]])

  • When we rotate the C or N terminal based on the size, we do achieve good computational efficiency but the axis of rotation ($\vec{e_a}$) changes and the calculations are not right if the angles calculated are from N to C terminal.
  • The rotational component should depend on the first neighbor (neighbor of first atoms parsed as an argument for the bond) being on the rotating side.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.