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

BondMaker - Could not find atoms specified in SSBOND record #929

Copy link
Copy link

Description

@zedomel
Issue body actions

Hi,

I'm getting the follow warning when reading a PDB file:

[main] WARN  org.biojava.nbio.structure.io.BondMaker - Could not find atoms specified in SSBOND record: [SSBOND:
Atom 1:
	Chain: I
	Residue #: 24
	Ins. Code: 
Atom 2:
	Chain: I
	Residue #: 56
	Ins. Code: 
]

Looking at the code it seems that PDBFileParser::triggerEndFileChecks is being called before PDBFileParser::formBonds. The method triggerEndFileChecks calls assignAsymIds which changes the ID's of the chains and, then the method BondMaker::formDisulfideBonds can't find the chains of the SSBonds, since it has changed by assignAsymIds.

I will try to do a pull request to fix it, but before I need to know what is the best approach to fix it.

thanks.

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

bugBugs and bugfixesBugs and bugfixes

Type

No type

Fields

No fields configured for issues without a 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.