Skip to content

Conversation

@josemduarte
Copy link
Contributor

A follow up to #857

This adds tests and fixes a few problems in the implementation (wasn't updating equivalent residues indices for chains of same entity). Also added docs and a new utility method in StructureTools.

In any case as of this PR I can't reproduce anymore the dramatic difference in runtime mentioned in #857 . One of the new (ignored) tests in this PR is to demonstrate the runtime difference, but it's only ~ 5x

@josemduarte josemduarte requested a review from lafita January 23, 2020 20:03
@lafita
Copy link
Member

lafita commented Jan 24, 2020

Even if two chains are from the same entity, they might have different number of residues in the crystal (e.g. disorder). How do you make sure that their alignment is correct when adding them into the cluster?
I think that was the reason why I did not use entities originally and just aligned the two sequences if they were not identical.


if (!otherChain.getAtomGroups().contains(otherG)) {
// skip residues that are unobserved in other sequence ("gaps" in the entity alignment)
continue;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok I think that answers my question before, makes sense! Thanks Jose

@josemduarte josemduarte merged commit 091136e into biojava:master Jan 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants