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

ProteinMPNN_dataset #9810

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

ProteinMPNN_dataset #9810

wants to merge 2 commits into from

Conversation

jdhenaos
Copy link

A new Dataset for ProteinMPNN model was added.

The Dataset was evaluated using the next piece of code:

from torch_geometric.loader import DataLoader

path = "./sample_data"
params = {
    "LIST"    : f"{path}/pdb_2021aug02_sample/list.csv",
    "VAL"     : f"{path}/pdb_2021aug02_sample/valid_clusters.txt",
    "DIR"     : f"{path}/pdb_2021aug02_sample",
    "DATCUT"  : "2030-Jan-01",
    "RESCUT"  : 3.5, #resolution cutoff for PDBs
    "HOMO"    : 0.70 #min seq.id. to detect homo chains
}

train_dataset = PMPNNDataset(root=path,params=params,set_type='train')
validation_dataset = PMPNNDataset(root=path,params=params,set_type='val')

train_loader = DataLoader(train_dataset, batch_size=32, shuffle=True,
                          num_workers=2)
validation_loader = DataLoader(validation_dataset, batch_size=32, shuffle=True,
                          num_workers=2)

@jdhenaos jdhenaos requested a review from wsad1 as a code owner November 27, 2024 17:06
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.

1 participant