Git Product home page Git Product logo

Comments (6)

jo-sm avatar jo-sm commented on June 14, 2024

Are there many PDBs that this issue affects, and are there any workarounds? I am using bioruby to process all the .ent files from wwPDB, and I want to know if I should worry about many of the PDB files.

from bioruby.

ngoto avatar ngoto commented on June 14, 2024

112aa28 is a fix.
Careful check of PDB format spec is still needed.

from bioruby.

jo-sm avatar jo-sm commented on June 14, 2024

Hi @ngoto, I'm going to attempt to tackle this as it relates to some of my research. Do you know of anywhere else this is an issue, i.e. anywhere else that the PDB spec may differ?

from bioruby.

ngoto avatar ngoto commented on June 14, 2024

Please read PDB official documents provided by wwPDB http://www.wwpdb.org/docs.html

from bioruby.

jo-sm avatar jo-sm commented on June 14, 2024

I was going through the code and noticed that there are some vestigial structures such as TURN that don't seem to exist in the current PDB spec. Should these be removed or kept even though they're deprecated and not used anymore? The same occurs with Pdb_StringRJ even though this isn't used anymore and all occurrences within the official documents are for Pdb_LString.

from bioruby.

ngoto avatar ngoto commented on June 14, 2024

For backward compatibility when parsing a file downloaded in the old days, it is good to keep deprecated records if possible.

The "Pdb_StringRJ" is introduced to parse right-justified ID string in helixId, sheetId, and turnId in HELIX, SHEET, and TURN records. In the PDB definition, these are specified as LString(3). If LString(3) is used, these ids should often contain spaces, for example " HA", " HB", " A", " B". PDB spec says that any spaces in LString should be kept, but I think it is unfriendly for uses to show ids begins with spaces, and I've decided to introduce StringRJ to cut the left spaces for convenience.

from bioruby.

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.