Skip to content

Discrepancy in structure quantizer outputs and request for original PDB files used in the proteingym_benchmark.zip #12

Description

@yangguang8112

Thank you for your open-source work!

Regarding the structure quantizer, I tried the example provided in the README but obtained different outputs. Below is my code and the generated output:

from prosst.structure.quantizer import PdbQuantizer
processor = PdbQuantizer(structure_vocab_size=2048)
structure_sequences = processor("example_data/p1.pdb", return_residue_seq=False)
structure_sequence_offset = [[i + 3 for i in struc_seq] for struc_seq in structure_sequences][0]

My Output:

[1689,774,774,1869,774,1880,1893,1978,1526,1526,1471,799,1526,789,58,664,1471,1471,664,664,935,1471,1715,935,799,799,1978,26,1528,45,1893,1893,26,216,45,1077,1077,45,1471,1655,1674,1893,1893,1528,1929,26,1988,1037,26,1978,799,935,58,1037,463,664,1471,1669,975,935,1526,1526,799,26,1674,1471,1526,1674,1526,26,1674,1988,1528,341,1279]

Expected Output from README:

[407, 998, 1841, 1421, 653, 450, 117, 822, ...]

Additionally, could you provide the original PDB files used in the proteingym_benchmark.zip for validation? The structure sequences I generated using PDB files downloaded directly from Proteingym also differ from the expected results.

Thank you for your help!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions