Coder Social home page Coder Social logo

rmsd's People

Contributors

rodogi avatar

Watchers

 avatar  avatar

rmsd's Issues

TypeError: '>' not supported between instances of 'NoneType' and 'float'

I used pd2_ca2main to generate a new PDB file. However, I am unable to calculate RMSD:

user_name@server_name:~/bbq_spatial$ python3 rmsd.py  ./bbq_input_pdb/pdb1akp.pdb  ./bbq_output_pdb/pdb1akp.pdb
Traceback (most recent call last):
  File "rmsd.py", line 80, in <module>
    _rmsd = rmsd(args[1], args[2])
  File "rmsd.py", line 43, in rmsd
    prot2 = parser.get_structure(prot2, prot2)[0] #######################
  File "/usr/local/lib/python3.7/site-packages/Bio/PDB/PDBParser.py", line 86, in get_structure
    self._parse(handle.readlines())
  File "/usr/local/lib/python3.7/site-packages/Bio/PDB/PDBParser.py", line 107, in _parse
    self.header, coords_trailer = self._get_header(header_coords_trailer)
  File "/usr/local/lib/python3.7/site-packages/Bio/PDB/PDBParser.py", line 125, in _get_header
    header_dict = _parse_pdb_header_list(header)
  File "/usr/local/lib/python3.7/site-packages/Bio/PDB/parse_pdb_header.py", line 257, in _parse_pdb_header_list
    if dict['resolution'] > 0.0:
TypeError: '>' not supported between instances of 'NoneType' and 'float'
user_name@server_name:~/bbq_spatial$

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.