KarrLab / bpforms

Toolkit for concretely describing non-canonical DNA, RNA, and proteins
https://www.bpforms.org
MIT License
6 stars 2 forks source link

Return coordinate information with Bpform.get_structure #89

Closed jonrkarr closed 5 years ago

jonrkarr commented 5 years ago

Done. Returns 3-dimensional nested dictionary:

Example:

{
    1: {
        'monomer': {
            1: openbabel.OBAtom(),
            2: openbabel.OBAtom(),
            ...
         },
        'backbone': {
            1: openbabel.OBAtom(),
            2: openbabel.OBAtom(),
            ...
         },
     },
    2:  {
    ...
    },
....
}