Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

CIF data incorrect #1116

Copy link
Copy link
@morellik

Description

@morellik
Issue body actions

I use the following code to read CIF files.

       Structure structure = null;
      AtomCache cache = new AtomCache();
      cache.setPath(workdir);
      cache.setFiletype(StructureFiletype.CIF);
   
      StructureIO.setAtomCache(cache);
  
      structure = StructureIO.getStructure(pdbFile);

and structure.toMMCIF() to convert into a list of strings.

The original CIF has HETATM lines as

HETATM 1049 S S1 . 0KA C 2 . ? -5.639 -7.082 12.045 1.00 17.18 ? 101 0KA B S1 1
HETATM 1051 S S3 . 0KA C 2 . ? -6.031 -7.348 15.700 1.00 16.42 ? 101 0KA B S3 1
HETATM 1052 S S4 . 0KA C 2 . ? -9.120 -7.026 13.781 1.00 13.07 ? 101 0KA B S4 1

But after reading the CIF, I've

HETATM 1049 S S1 . 0KA C 2 101 ? -5.639 -7.082 12.045 1.00 17.18 101 0KA B S1 1
HETATM 1051 S S3 . 0KA C 2 101 ? -6.031 -7.348 15.700 1.00 16.42 101 0KA B S3 1
HETATM 1052 S S4 . 0KA C 2 101 ? -9.120 -7.026 13.781 1.00 13.07 101 0KA B S4 1

The 9th column in the original CIF is a dot; instead, in the structure object is 101 equals the 16th column (the _atom_site.auth_seq_id).

Is there a way to have the same original HETATM lines in the structure object?

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBugs and bugfixesBugs and bugfixes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.