Skip to content

Preserve server-paired MSA rows without taxonomy IDs - #30

Open
dajiaohuang wants to merge 1 commit into
aurekaresearch:mainfrom
dajiaohuang:c1-3250-opendde-pairing-rows
Open

dajiaohuang wants to merge 1 commit into
aurekaresearch:mainfrom
dajiaohuang:c1-3250-opendde-pairing-rows

Conversation

@dajiaohuang

Copy link
Copy Markdown

Summary

Service-generated paired A3M hits can have bare UniRef headers without taxonomy IDs. The downstream species matcher then assigns them empty IDs, so cross-chain pairing drops the hits and leaves only the query row in the paired MSA.

  • Tag each non-query row in service-generated paired A3M with a stable row key shared across chains, while retaining its original header text.
  • Parse the marker into a dedicated synthetic-ID namespace so row keys cannot collide with taxonomy IDs.
  • Add synthetic regression coverage for retained cross-chain rows and ID separation.

Fixes #27.

Validation

  • tests/test_msa_service_client.py tests/test_msa_encoding.py: 23 passed.
  • ruff check and ruff format --check on the three changed files passed.
  • py_compile on the changed Python files and git diff --check passed.
  • Tests used task-owned synthetic A3M fixtures only; no external MSA service, biological dataset, or model was used. CI was not queried.

This branch has not been deployed

No deployments
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.

MSAs fetched from ColabFold lose cross-chain pairing

1 participant