Skip to content

Use chain IDs for UniProt residue mapping in PISA - #76

Merged
grisell merged 6 commits into
mainfrom
gdl-changes-chainid
Nov 23, 2026
Merged

grisell merged 6 commits into
mainfrom
gdl-changes-chainid

Conversation

@grisell

@grisell grisell commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

This change includes the chain ID in the UniProt lookup so each residue is mapped using its own polymer chain. It also bumps the patch version and updates the unit tests.

@grisell
grisell requested a review from mihaitodor November 23, 2026 11:30
Comment thread pisa_utils/field_handlers.py Resolved

@mihaitodor mihaitodor left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, just one nit. I'll let @Joseph-Ellaway chime in as well since I don't know much about how this is used

@Joseph-Ellaway

Joseph-Ellaway commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Thanks! @grisell What do these changes address? Will the label_asym fields default to auth_asym values?

@grisell

grisell commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator Author

Thanks! @grisell What do these changes address? Will the label_asym fields default to auth_asym values?

This fixes a bug in read_uniprot_info in the PISA assembly interfaces API. The function now uses the chain identifier when mapping UniProt accessions. Sri and Preeti spotted the issue.
Here is the discussion if you are interested: https://embl.atlassian.net/browse/PDBE-8992?atlOrigin=eyJpIjoiYTdmZTE0YWQ3MmY3NDM0NWJmMTA3NjIwOTgwMWZhOWIiLCJwIjoiamlyYS1zbGFjay1pbnQifQ&issueKey=PDBE-8992&subProduct=jira-software

@grisell
grisell merged commit 5e9b5e2 into main Nov 23, 2026
8 checks passed
@mihaitodor
mihaitodor deleted the gdl-changes-chainid branch November 23, 2026 23:18
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.

3 participants