GithubHelp home page GithubHelp logo

errors,Structures not same size about rmsd HOT 2 OPEN

oyileo avatar oyileo commented on June 9, 2024
errors,Structures not same size

from rmsd.

Comments (2)

charnley avatar charnley commented on June 9, 2024

Will take a look (reference to #102 )

from rmsd.

nbehrnd avatar nbehrnd commented on June 9, 2024

@oyileo Because the two structures differ in atom count (either in the form shared by you, or neglecting hydrogen atoms), calculate_rmsd is going to report "structures of different size", and exit.

For one, 8gxn.pdb is about a structure model including hydrogen atoms. Counting the atoms with openbabel and wc -l*:

$ obabel 8gxn.pdb -oxyz | wc -l
1 molecule converted
3934
$ obabel 8gxn.pdb -oxyz | grep "H" -c
1 molecule converted
1846
# tentatively delete hydrogen atoms present
$ obabel 8gxn.pdb -oxyz -d | wc -l
1 molecule converted
2088
$ obabel 8gxn.pdb -oxyz -d | grep "H" -c
1 molecule converted
0

For two, 8gxo.pdb is about a model without any hydrogen atoms. Its number of atoms differs to the one in 8gxn.pdb, and a deletion of hydrogens in 8gxn.pdb alone is not sufficient for an analysis by calculate_rmsd:

$ obabel 8gxo.pdb -oxyz | wc -l
==============================
*** Open Babel Warning  in PerceiveBondOrders
  Failed to kekulize aromatic bonds in OBMol::PerceiveBondOrders (title is 8gxo.pdb)

1 molecule converted
4001
$ obabel 8gxo.pdb -oxyz | grep "H" -c
==============================
*** Open Babel Warning  in PerceiveBondOrders
  Failed to kekulize aromatic bonds in OBMol::PerceiveBondOrders (title is 8gxo.pdb)

1 molecule converted
0

* The count is off by two (the line about the number of atoms, the line of optional comments), but this systematic error will be present in both checks.

from rmsd.

Related Issues (20)

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.