Title: CIF data incorrect · Issue #1116 · biojava/biojava · GitHub
Open Graph Title: CIF data incorrect · Issue #1116 · biojava/biojava
X Title: CIF data incorrect · Issue #1116 · biojava/biojava
Description: 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.getStru...
Open Graph Description: 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...
X Description: 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...
Opengraph URL: https://github.com/biojava/biojava/issues/1116
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CIF data incorrect","articleBody":"I use the following code to read CIF files.\n \n Structure structure = null;\n AtomCache cache = new AtomCache();\n cache.setPath(workdir);\n cache.setFiletype(StructureFiletype.CIF);\n \n StructureIO.setAtomCache(cache);\n \n structure = StructureIO.getStructure(pdbFile);\n\nand structure.toMMCIF() to convert into a list of strings. \n\nThe original CIF has HETATM lines as \n\nHETATM 1049 S S1 . 0KA C 2 . ? -5.639 -7.082 12.045 1.00 17.18 ? 101 0KA B S1 1 \nHETATM 1051 S S3 . 0KA C 2 . ? -6.031 -7.348 15.700 1.00 16.42 ? 101 0KA B S3 1 \nHETATM 1052 S S4 . 0KA C 2 . ? -9.120 -7.026 13.781 1.00 13.07 ? 101 0KA B S4 1\n\nBut after reading the CIF, I've\n\nHETATM 1049 S S1 . 0KA C 2 101 ? -5.639 -7.082 12.045 1.00 17.18 101 0KA B S1 1 \nHETATM 1051 S S3 . 0KA C 2 101 ? -6.031 -7.348 15.700 1.00 16.42 101 0KA B S3 1 \nHETATM 1052 S S4 . 0KA C 2 101 ? -9.120 -7.026 13.781 1.00 13.07 101 0KA B S4 1 \n\nThe 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).\n\nIs there a way to have the same original HETATM lines in the structure object?","author":{"url":"https://github.com/morellik","@type":"Person","name":"morellik"},"datePublished":"2025-11-06T15:10:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/1116/biojava/issues/1116"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:50153b07-e6fc-ac41-7193-f8cd8da852cc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A5E6:2BBF3:CC33E:1101B3:6972EF34 |
| html-safe-nonce | 1eea5a1b7618c74ec5067b10ed4c23f928150fcbb703c474475d54a54349f54c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUU2OjJCQkYzOkNDMzNFOjExMDFCMzo2OTcyRUYzNCIsInZpc2l0b3JfaWQiOiI1Nzc4MzE1MjA0OTg2MzM1MDI4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 31dc3a57c8c16a4952cf1dee8a1fc530571505f7201f55a22669a4e7a4d89c71 |
| hovercard-subject-tag | issue:3596241160 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/biojava/biojava/1116/issue_layout |
| twitter:image | https://opengraph.githubassets.com/673b75a4118f048c3db12213443d663efbf8515462c5e7063093cc4104651ba8/biojava/biojava/issues/1116 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/673b75a4118f048c3db12213443d663efbf8515462c5e7063093cc4104651ba8/biojava/biojava/issues/1116 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | morellik |
| hostname | github.com |
| expected-hostname | github.com |
| None | 25ef7e923c492d9047af899b2ba66bfcb0a78059369630f2ce2cf57826ed6a53 |
| turbo-cache-control | no-preview |
| go-import | github.com/biojava/biojava git https://github.com/biojava/biojava.git |
| octolytics-dimension-user_id | 237402 |
| octolytics-dimension-user_login | biojava |
| octolytics-dimension-repository_id | 9199359 |
| octolytics-dimension-repository_nwo | biojava/biojava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 9199359 |
| octolytics-dimension-repository_network_root_nwo | biojava/biojava |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c0badd0db61d89a34653af2d762b2eb8c84f9d59 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width