Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RCSB Search API: rcsb_cluster_membership -> 100 identity but with different pdbx_seq_one_letter_code #6

Open
NatureGeorge opened this issue Jan 7, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@NatureGeorge
Copy link
Owner

NatureGeorge commented Jan 7, 2021

Describe the bug

as title said

To Reproduce

PDB('2d4q').rcsb_cluster_membership(entity_id=1, identity_cutoff=100).result()
rcsb_id score cluster_id identity pdb_id entity_id
0 2D4Q_1 1.0 34283 100 2d4q 1
1 2E2X_1 1.0 34283 100 2e2x 1
>>> PDB('2d4q').get_sequence(entity_id=1, mode='raw_pdb_seq').result()
>>> 'KEEFKALKTLSIFYQAGTSKAGNPIFYYVARRFKTGQINGDLLIYHVLLTLKPYYAKPYEIVVDLTHTGPSNRFKTDFLSKWFVVFPGFAYDNVSAVYIYNCNSWVREYTKYHERLLTGLKGSKRLVFIDCPGKLAEHIEHEQQKLPAATLALEEDLKVFHNALKLAHKDTKVSIKVGSTAVQVTSAERTKVLGQSVFLNDIYYASEIEEICLVDENQFTLTIANQGTPLTFMHQECEAIVQSIIHIRTRWELSQPD'
>>> PDB('2e2x').get_sequence(entity_id=1, mode='raw_pdb_seq').result()
>>> 'GAMTGSSKFEEFMTRHQVHEKEEFKALKTLSIFYQAGTSKAGNPIFYYVARRFKTGQINGDLLIYHVLLTLKPYYAKPYEIVVDLTHTGPSNRFKTDFLSKWFVVFPGFAYDNVSAVYIYNCNSWVREYTKYHERLLTGLKGSKRLVFIDCPGKLAEHIEHEQQKLPAATLALEEDLKVFHNALKLAHKDTKVSIKVGSTAVQVTSAERTKVLGQSVFLNDIYYASEIEEICLVDENQFTLTIANQGTPLTFMHQECEAIVQSIIHIRTRWELSQPD'
>>> PDB('2e2x').stats_protein_entity_seq().result()[0].ARTIFACT_INDEX
>>> [[1, 5]]

Expected behavior

same pdbx_seq_one_letter_code


  • Version [0.2.6]
@NatureGeorge NatureGeorge added the enhancement New feature or request label Jan 7, 2021
@NatureGeorge NatureGeorge self-assigned this Jan 7, 2021
@NatureGeorge NatureGeorge added the bug Something isn't working label Jan 7, 2021
@NatureGeorge NatureGeorge pinned this issue Jan 7, 2021
@NatureGeorge NatureGeorge unpinned this issue Jan 7, 2021
@NatureGeorge
Copy link
Owner Author

WithoutRCSBClusterMembershipWarning: polymer_entity(entry_id: "2lob", entity_id: "2") -> 
{'data': {'polymer_entity': {'rcsb_cluster_membership': None}}} 
(C:\GitWorks\pdb-profiling\pdb_profiling\processors\pdbe\record.py:1396)

@NatureGeorge NatureGeorge removed the bug Something isn't working label Jan 7, 2021
@NatureGeorge
Copy link
Owner Author

cluster_id would change

cluster_id entity_id identity pdb_id rcsb_id score
32101 1 100 2d4q 2D4Q_1 1.0
32101 1 100 2e2x 2E2X_1 1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant