DeorphaNN: Virtual screening of GPCR peptide agonists using AlphaFold-predicted active-state complexes and deep learning embeddings.
The 15 matches
- [1] § Star★Methods › Method Details › Model architecture and training ↔ DeorphaNN_training.ipynb, lines 568–692 · score 0.81 · AdamW, CrossEntropyLoss, DataLoader, smoothing, optimizer, PyTorch
- [2] § Star★Methods › Method Details › Model architecture and training ↔ DeorphaNN_training.ipynb, lines 568–692 · score 0.74 · precision score, Optuna, GPCR families, subsampled, shuffle, seed
- [3] § Results › AF-multimer confidence metrics partially discriminate peptide agonists from non-agonists ↔ src/analysis/vis_analyze.py, lines 194–288 · score 0.70 · interface contacts, pDockQ, plDDT, metrics, AF, chains
- [4] § Star★Methods › Method Details › AlphaFold2 ↔ structure_prediction/colabfold_runner.py, lines 226–287 · score 0.69 · max_msa, multimer v3, auto, v1, ColabFold, AlphaFold2
- [5] § Star★Methods › Method Details › AlphaFold2 ↔ preprocessing/minimum_distance.ipynb, lines 35–157 · score 0.68 · minimum distance, DeepTMHMM, binding pocket, atoms, error, positions
- [6] § Star★Methods › Method Details › AlphaFold2 ↔ src/alphafold/notebooks/AlphaFold.ipynb, lines 334–397 · score 0.67 · predicted aligned error, residue pLDDT, confidence metric, PAE, atoms, model
- [7] § Star★Methods › Method Details › AlphaFold2 ↔ alphafold/common/mmcif_metadata.py, lines 72–213 · score 0.58 · top ranked, pLDDT, coevolutionary, protocol, databases, conformations
- [8] § Star★Methods › Method Details › Model architecture and training ↔ esm/inverse_folding/gvp_modules.py, lines 331–475 · score 0.57 · node embeddings, convolutional, PyTorch, aggregates, ReLU, Geometric
- [9] § Results › AF-multimer confidence metrics partially discriminate peptide agonists from non-agonists ↔ structure_prediction/alphafold/common/confidence.py, lines 111–168 · score 0.56 · ipTM, predicted aligned error, confidence, interface, alignment, chains
- [10] § Star★Methods › Method Details › Phylogenetic analysis of GPCRs ↔ alphafold/data/tools/hmmbuild.py, lines 27–144 · score 0.54 · scoring matrix, aligned sequences, substitution, amino, model
- [11] § Star★Methods › Method Details › Phylogenetic analysis of GPCRs ↔ structure_prediction/alphafold/data/tools/hmmbuild.py, lines 26–138 · score 0.54 · scoring matrix, aligned sequences, substitution, amino, model
- [12] § Star★Methods › Method Details › Arpeggio ↔ structure_prediction/alphafold/model/all_atom.py, lines 744–850 · score 0.53 · van der Waals, bonds, atom, distance, position, residue
- [13] § Star★Methods › Method Details › Arpeggio ↔ alphafold/model/all_atom.py, lines 847–971 · score 0.52 · van der Waals, bonds, atom, distance, position, residue
- [14] § Star★Methods › Method Details › Model architecture and training ↔ esm/inverse_folding/gvp_modules.py, lines 331–475 · score 0.52 · attention heads, PyTorch, aggregating, Network, Geometric, dropout
- [15] § Results › AF-multimer confidence metrics partially discriminate peptide agonists from non-agonists ↔ src/analysis/vis_analyze.py, lines 292–375 · score 0.52 · pDockQ, top scoring, curves, ROC, plDDT, metric
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Jupyter notebook · 700 lines · 25 KB · MIT · 2 matches
- # %% [markdown]
- # <a href="https://colab.research.google.com/github/Zebreu/DeorphaNN/blob/main/DeorphaNN_training.ipynb" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a>
- # %%
- #location to save results
- save_to = '/content/'
- # %%
- #@title Install Dependencies
- %%capture
- !pip uninstall torch -y
- !pip install torch==2.4.0
- !pip install pyg_lib torch_scatter torch_sparse torch_cluster torch_spline_conv -f https://data.pyg.org/whl/torch-2.4.0+cu121.html
- !pip install torch-geometric
- !pip install optuna
- !pip install numpy-indexed
- import glob
- import warnings
- import numpy as np
- import numpy_indexed as npi
- import pandas as pd
- import scipy
- from collections import defaultdict
- from sklearn.metrics import roc_auc_score, confusion_matrix, average_precision_score
- import torch
- from torch.nn import Linear
- import torch.nn.functional as F
- import torch_geometric
- from torch_geometric.data import Data
- from torch_geometric.loader import DataLoader
- from torch_geometric.nn import GCNConv, GATv2Conv
- from torch_geometric.nn import global_mean_pool, global_add_pool, global_max_pool
- from torch_geometric.nn import aggr
- from torch_geometric.nn.norm import GraphNorm
- from sklearn import preprocessing
- import optuna
- torch.manual_seed(111)
- from huggingface_hub import hf_hub_download, list_repo_files
- import h5py
- import random
- # %%
- #@title Import files from HuggingFace repo
- %%capture
- repo_id = "lariferg/DeorphaNN"
- all_files = list_repo_files(repo_id, repo_type="dataset")
- pdbs_paths = sorted(
- hf_hub_download(repo_id, f, repo_type="dataset")
- for f in all_files
- if f.startswith("DeorphaNN_training/nov7relaxed") and f.endswith(".parquet")
- )
- labels = hf_hub_download(
- repo_id,
- next(f for f in all_files if f.startswith("DeorphaNN_training/") and f.endswith("Dataset_Labels_full - Sheet1.csv")),
- repo_type="dataset"
- )
- beetsdata = pd.read_csv(labels)
- min_dis = hf_hub_download(
- repo_id,
- next(f for f in all_files if f.startswith("DeorphaNN_training/") and f.endswith("mindistance_active_bias.csv")),
- repo_type="dataset"
- )
- outsidepocket = pd.read_csv(min_dis)
- new_contacts_paths = sorted(
- hf_hub_download(repo_id, f, repo_type="dataset")
- for f in all_files
- if f.startswith("DeorphaNN_training/nov7relaxed") and f.endswith("_arpeggio_contacts3.parquet")
- )
- hdfs_int = sorted(
- hf_hub_download(repo_id, f, repo_type="dataset")
- for f in all_files
- if f.startswith("pair_representations/") and f.endswith("_interaction.h5")
- )
- hdfs_t = sorted(
- hf_hub_download(repo_id, f, repo_type="dataset")
- for f in all_files
- if f.startswith("pair_representations/") and f.endswith("T.h5")
- )
- # %% [markdown]
- # ###Preparing data
- # %%
- gpcrs = []
- peptides = []
- plddts = []
- paths = []
- plddt_peptides = []
- plddt_gpcrs = []
- plddt_atoms = []
- pdb_frames = dict()
- for pdbs in pdbs_paths:
- print(pdbs)
- pdbs = pd.read_parquet(pdbs)
- for key, st in pdbs.groupby('path'):
- if 'amber_r_' in key:
- original_key = key
- key = key.replace('amber_r_', '')
- gpcrs.append(key.split('/')[-1].split('_')[0])
- peptides.append(key.split('/')[-1].split('_')[1])
- plddt_peptides.append(st[st['chain_id'] == 'B'].groupby('residue_seq_id')['b_factor'].first().mean())
- plddt_gpcrs.append(st[st['chain_id'] == 'A'].groupby('residue_seq_id')['b_factor'].first().mean())
- plddt_atoms.append(st[st['chain_id'] == 'B']['b_factor'].mean())
- paths.append(original_key)
- pdb_frames[original_key] = st
- del pdbs
- # %%
- st = pd.DataFrame({'path': paths, 'gpcr': gpcrs, 'peptide': peptides, 'plddt_peptides': plddt_peptides, 'plddt_gpcrs': plddt_gpcrs, 'plddt_atoms': plddt_atoms})
- merged = pd.merge(beetsdata, st, how='left', left_on=['GPCR name', 'Peptide'], right_on=['gpcr', 'peptide'])
- merged['gpcr_family'] = merged['GPCR name'].str[:-2]
- merged['y'] = merged['binds'].apply(lambda x: 1 if x == True else 0)
- # %%
- gpcr_hits = merged[merged['gpcr'].isna() == False]
- gpcrs_lens = []
- peps_lens = []
- for index, st in gpcr_hits.iterrows():
- pdb = pdb_frames[st['path']]
- rec = pdb[pdb['chain_id'] == 'A']
- pep = pdb[pdb['chain_id'] == 'B']
- gpcrs_lens.append(rec['residue_seq_id'].max())
- peps_lens.append(pep['residue_seq_id'].max())
- gpcr_hits['gpcr_len'] = gpcrs_lens
- gpcr_hits['pep_len'] = peps_lens
- # %%
- outsidepocket['pair'] = outsidepocket['GPCR name']+'_'+outsidepocket['Peptide']
- # %%
- gpcr_hits = gpcr_hits[-gpcr_hits['pair'].isin(set(outsidepocket['pair'].values))]
- # %%
- allcontacts_new = []
- for cpath_new in new_contacts_paths:
- allcontacts_new.append(pd.read_parquet(cpath_new))
- allcontacts_new = pd.concat(allcontacts_new)
- # %%
- len(allcontacts_new)
- # %%
- allcontacts_new
- # %%
- total_interactions = allcontacts_new.groupby('gpcr_peptide')['contacts'].apply(lambda x: sum(len(c) for c in x)).reset_index()
- total_interactions.columns = ['gpcr_peptide', 'total_interactions']
- # %%
- total_interactions
- # %%
- gpcr_hits
- # %%
- gpcr_hits_bonds = pd.merge(
- gpcr_hits,
- total_interactions,
- how='left',
- left_on='pair',
- right_on='gpcr_peptide'
- )
- # Optionally drop the redundant 'gpcr_peptide' column
- gpcr_hits_bonds = gpcr_hits_bonds.drop(columns=['gpcr_peptide'])
- # %%
- gpcr_hits_bonds
- # %%
- interactions = dict()
- for key, st in allcontacts_new.groupby('gpcr_peptide'):
- interactions[key] = st
- # %%
- gpcr_hits_interaction_edges = dict()
- for index, g in gpcr_hits.iterrows():
- pdb = pdb_frames[g['path']].copy()
- if g['path'] not in interactions:
- continue
- bonds = interactions[g['path']]
- gpcr_len = g['gpcr_len']
- # they're 1-indexed so -1
- bonds['source'] = bonds['bgn'].apply(lambda x: x['auth_seq_id'] if x['auth_asym_id'] == "A" else x['auth_seq_id'] + gpcr_len) - 1
- bonds['target'] = bonds['end'].apply(lambda x: x['auth_seq_id'] if x['auth_asym_id'] == "A" else x['auth_seq_id'] + gpcr_len) - 1
- bonds = bonds.groupby(['source', 'target'])['contact'].agg(lambda x: {bondtype for array in x for bondtype in array}).reset_index()
- sources = bonds['source'].values
- targets = bonds['target'].values
- h_edge_index = np.vstack([sources,targets])
- key = g['gpcr']+'_'+g['peptide']
- gpcr_hits_interaction_edges[key] = h_edge_index
- # %%
- gpcr_hits_interaction_edges_new = dict()
- for _, row in allcontacts_new.iterrows():
- key = row['gpcr_peptide']
- contacts = row['contacts']
- # Check if contacts is None, NaN, or empty
- if contacts is None or len(contacts) == 0:
- # create empty 2x0 array
- #gpcr_hits_interaction_edges_new[key] = np.empty((2,0), dtype=int)
- continue
- # Stack the pairs vertically and transpose
- arr = np.vstack(contacts).T # shape: 2 x N_pairs
- arr -= 1 #convert 1-indexed to 0-indexed
- gpcr_hits_interaction_edges_new[key] = arr
- # %%
- len(gpcr_hits_interaction_edges_new)
- # %%
- len(interactions)
- # %%
- gpcr_hits_interaction_edges_new['DMSR-5-1_FLP-1-7']
- # %%
- lens = gpcr_hits.groupby(['GPCR name'])['gpcr_len'].first()
- # %%
- len(hdfs_int)
- # %%
- emb_map_interaction = dict()
- emb_map_interaction_gpcrindex = dict()
- pairmissed = []
- for hdf in hdfs_int:
- with h5py.File(hdf, "r") as f:
- keys = list(f.keys())
- print(keys)
- gpcr = keys[0].split('_')[0]
- for k in keys:
- try:
- array = np.nan_to_num(f[k][()],0)
- peptide = k.split('_')[1]
- mapkey = gpcr+'_'+peptide
- indices_to_keep = set()
- maximum = lens[gpcr]
- indices_to_keep.update(set(gpcr_hits_interaction_edges_new[mapkey][0]))
- indices_to_keep.update(set(gpcr_hits_interaction_edges_new[mapkey][1]))
- indices_to_keep = sorted([i for i in indices_to_keep if i < maximum])
- emb_map_interaction[mapkey] = array[:,indices_to_keep,:]
- emb_map_interaction_gpcrindex[mapkey] = np.array(indices_to_keep)
- print("success "+k)
- except:
- pairmissed.append(k)
- print("missed "+k)
- continue
- # %%
- len(emb_map_interaction)
- # %%
- len(pairmissed)
- # %%
- all_peptide_arrays = []
- peptide_keys = []
- all_gpcr_arrays = []
- gpcr_keys = []
- for hdf in hdfs_t:
- with h5py.File(hdf, "r") as f:
- arrays = []
- keys = list(f.keys())
- for k in keys:
- arrays.append(f[k][()])
- if "_pep_T" in hdf:
- all_peptide_arrays.append(arrays)
- peptide_keys.append(keys)
- if "_gpcr_T" in hdf:
- all_gpcr_arrays.append(arrays)
- gpcr_keys.append(keys)
- # %%
- emb_map_gpcr = dict()
- for keys, arrays in zip(gpcr_keys, all_gpcr_arrays):
- try:
- gpcr = keys[0].split('_')[0]
- for i,array in enumerate(arrays):
- peptide = keys[i].split('_')[1]
- emb_map_gpcr[gpcr+'_'+peptide] = array
- except:
- print('oops')
- continue
- # %%
- emb_map_peptide = dict()
- for keys, arrays in zip(peptide_keys, all_peptide_arrays):
- try:
- gpcr = keys[0].split('_')[0]
- for i,array in enumerate(arrays):
- peptide = keys[i].split('_')[1]
- emb_map_peptide[gpcr+'_'+peptide] = array
- except:
- print('oops')
- continue
- # %%
- embst = pd.DataFrame({'gpcr_keys': [kk for k in gpcr_keys for kk in k ], 'gpcr_embedding': [aa.mean(axis=0) for a in all_gpcr_arrays for aa in a ], 'peptide_keys': [kk for k in peptide_keys for kk in k], 'peptide_embedding': [aa.mean(axis=0) for a in all_peptide_arrays for aa in a]})
- # %%
- embst['peptide'] = embst['peptide_keys'].apply(lambda x: x.split('_')[1])
- embst['gpcr'] = embst['gpcr_keys'].apply(lambda x: x.split('_')[0])
- # %%
- gpcrweight = 1/gpcr_hits.groupby(['gpcr']).agg({'y': 'sum'}).sort_values(by='y')
- # %%
- gpcrweight
- # %%
- gpcr_hits
- # %%
- subgraphing = True
- subgraph_hops = 1
- with_edge_weights = True
- missed = []
- all_graphs = []
- for index, g in gpcr_hits.iterrows():
- mapkey = g['gpcr']+'_'+g['peptide']
- if mapkey not in gpcr_hits_interaction_edges_new:
- missed.append((mapkey, g['y']))
- continue
- gpcr_len = g['gpcr_len']
- h_edge_index = gpcr_hits_interaction_edges_new[g['gpcr']+'_'+g['peptide']]
- xg = emb_map_gpcr[g['gpcr']+'_'+g['peptide']]
- xp = emb_map_peptide[g['gpcr']+'_'+g['peptide']]
- x = np.concatenate([xg, xp])
- x = torch.from_numpy(x).type(torch.float32)
- pep_edge_index = np.vstack([np.array(range(g['gpcr_len'], len(x)-1)), np.array(range(g['gpcr_len']+1, len(x)))])
- edge_index = torch.cat([torch.from_numpy(h_edge_index), torch.from_numpy(pep_edge_index)], dim=1)
- if with_edge_weights:
- if mapkey not in emb_map_interaction:
- missed.append((mapkey, g['y']))
- continue
- edgefeatures = emb_map_interaction[mapkey]
- edgeindices = emb_map_interaction_gpcrindex[mapkey]
- sources = npi.remap(h_edge_index[0], edgeindices, np.arange(len(edgeindices)))
- targets = npi.remap(h_edge_index[1], edgeindices, np.arange(len(edgeindices)))
- sourcewherever = np.where(sources >= gpcr_len)[0]
- targetwherever = np.where(targets < gpcr_len)[0]
- newsources = np.array(sources)
- newtargets = np.array(targets)
- newsources[sourcewherever] = targets[sourcewherever]
- newtargets[targetwherever] = sources[targetwherever]
- newtargets -= gpcr_len
- edge_attrs = edgefeatures[newtargets, newsources, :]
- pep_edge_attrs = np.ones(shape=(len(pep_edge_index[0]),128))*edge_attrs.mean(axis=0)
- edge_attrs = torch.from_numpy(edge_attrs).type(torch.float32)
- edge_attrs = torch.cat([edge_attrs, torch.from_numpy(pep_edge_attrs)], dim=0)
- if with_edge_weights:
- # convert to undirected first, so hops are symmetric
- edge_index, edge_attrs = torch_geometric.utils.to_undirected(edge_index, edge_attrs, reduce='mean')
- if subgraphing:
- to_keep = torch.tensor([i for i in range(gpcr_len, len(x))]) #hopping from peptide nodes
- # to_keep = torch.unique(torch.from_numpy(h_edge_index[0])) #hopping from gpcr nodes
- nodes, edges, _, _ = torch_geometric.utils.k_hop_subgraph(to_keep, subgraph_hops, edge_index, relabel_nodes=True, num_nodes=len(x))
- # mask = (nodes >= gpcr_len) | (torch.isin(nodes, to_keep))
- # nodes = nodes[mask]
- if with_edge_weights:
- edges, new_edge_attrs = torch_geometric.utils.subgraph(nodes, edge_index, edge_attrs, relabel_nodes=True)
- # edges, new_edge_attrs = torch_geometric.utils.to_undirected(edges, new_edge_attrs, reduce='mean')
- graph = Data(x=x[nodes], edge_index=edges, edge_attr=new_edge_attrs, y=torch.tensor(g['y']))
- else:
- graph = Data(x=x[nodes], edge_index=edges, y=torch.tensor(g['y']))
- else:
- graph = Data(x=x, edge_index=edge_index, y=torch.tensor(g['y']))
- graph.peptide = g['peptide']
- graph.gpcr = g['gpcr']
- graph.gpcr_family = g['gpcr_family']
- #graph.zscore = g['modifiedzscore']
- gpcrw = gpcrweight.loc[g['gpcr']].iloc[0]
- all_graphs.append({'graph': graph, 'peptide':g['peptide'], 'gpcr':g['gpcr'], 'gpcr_family': g['gpcr_family'], 'y': g['y'], 'gpcrweight': gpcrw})
- # %%
- len(all_graphs)
- # %%
- len(missed)
- # %%
- print(missed)
- # %% [markdown]
- # #Train
- # %%
- from torch_geometric.loader import DataLoader
- from sklearn.metrics import roc_auc_score
- def train(model, criterion, optimizer, train_loader):
- model.train()
- total_loss = 0
- for data in train_loader:
- optimizer.zero_grad()
- logits = model(data.x, data.edge_index, data.edge_attr, data.batch) # edge_attr
- loss = criterion(logits, data.y)
- loss.backward()
- optimizer.step()
- total_loss += float(loss) * data.num_graphs
- return total_loss / len(train_loader.dataset)
- def train_weighted(model, criterion, optimizer, train_loader):
- model.train()
- total_loss = 0
- for data in train_loader:
- optimizer.zero_grad()
- logits = model(data.x, data.edge_index, data.edge_attr, data.batch) # edge_attr
- loss = criterion(logits, data.y)
- loss = (loss*data.gpcrweight).mean()
- loss.backward()
- optimizer.step()
- total_loss += float(loss) * data.num_graphs
- return total_loss / len(train_loader.dataset)
- @torch.no_grad()
- def test_roc(model, criterion, loader):
- model.eval()
- aucs = 0
- total = len(loader.dataset)
- correct = 0
- for data in loader: # Iterate in batches over the training/test dataset.
- out = model(data.x, data.edge_index, data.edge_attr, data.batch) # edge_attr
- aucs += roc_auc_score(data.y.detach().cpu(), torch.softmax(out.detach(),dim=1).cpu()[:, 1])*(len(out)/total)
- return aucs
- @torch.no_grad()
- def test_without_crash(model, criterion, loader):
- model.eval()
- all_logits = []
- atrues = []
- for data in loader:
- logits = model(data.x, data.edge_index, data.edge_attr, data.batch) # data.edge_attr
- all_logits.append(logits.cpu().detach()[:,1])
- atrues.append(data.y.cpu())
- return roc_auc_score(np.concatenate(atrues), np.concatenate(all_logits))
- @torch.no_grad()
- def nope_test_without_crash(model, criterion, loader):
- model.eval()
- all_logits = []
- atrues = []
- for data in loader:
- logits = model(data.x, data.edge_index, data.edge_attr, data.batch) # data.edge_attr
- all_logits.append(torch.sigmoid(logits.squeeze()).cpu().detach())
- atrues.append(data.y.cpu())
- return roc_auc_score(np.concatenate(atrues), np.concatenate(all_logits))
- @torch.no_grad()
- def test(model, criterion, loader):
- model.eval()
- total_correct = 0
- for data in loader:
- logits = model(data.x, data.edge_index, data.edge_attr, data.batch) # data.edge_attr
- pred = logits.argmax(dim=-1)
- total_correct += int((pred == data.y).sum())
- return total_correct / len(test_loader.dataset)
- # %%
- def move_to_cuda(g):
- g.x = g.x.cuda()
- g.edge_index = g.edge_index.cuda()
- g.edge_attr = g.edge_attr.cuda().type(torch.float32)
- g.y = g.y.cuda()
- return g
- # %%
- from torch_geometric.nn.norm import LayerNorm, BatchNorm
- from torch_geometric.nn import global_add_pool
- from torch_geometric.nn import aggr
- import sklearn
- class PeptideGNN(torch.nn.Module):
- def __init__(self, hidden_channels, input_channels=4, gatheads=10, gatdropout=0.5, finaldropout=0.5):
- super(PeptideGNN, self).__init__()
- self.finaldropout = finaldropout
- torch.manual_seed(111)
- self.norm = BatchNorm(input_channels)
- self.conv1 = GATv2Conv(input_channels, hidden_channels, dropout=gatdropout, heads=gatheads, concat=False, edge_dim=128)
- self.pooling = global_mean_pool
- self.lin = Linear(hidden_channels, 2)
- def forward(self, x, edge_index, edge_attr, batch, hidden=False):
- x = self.norm(x)
- x = self.conv1(x, edge_index, edge_attr)
- x = x.relu()
- if hidden:
- return x
- x = self.pooling(x, batch)
- x = F.dropout(x, p=self.finaldropout, training=self.training)
- x = self.lin(x)
- return x
- # %%
- gpcr_hits.groupby(['gpcr']).agg({'y': 'sum'}).sort_values(by='y')
- # %%
- for g in all_graphs:
- g['graph'].gpcrweight = torch.tensor(g['gpcrweight']).cuda()
- # %%
- # original splits (gpcr)
- # validation_peptides = [['NPR-43', 'CKR-1', 'NPR-39', 'AEX-2', 'DMSR-2', 'NPR-41'],
- # ['NPR-11', 'SPRR-2', 'SPRR-1', 'NPR-10', 'DMSR-3', 'GNRR-6'],
- # ['NPR-5', 'DMSR-8', 'NPR-2', 'FRPR-9', 'NPR-42', 'NPR-32'],
- # ['FRPR-8', 'NPR-40', 'FRPR-16', 'NPR-1', 'FRPR-6', 'FRPR-4'],
- # ['NPR-6', 'NMUR-2', 'FRPR-7', 'NPR-13', 'FRPR-19', 'TRHR-1'],
- # ['GNRR-1', 'FRPR-18', 'NPR-37', 'PDFR-1', 'FRPR-3'],
- # ['NPR-22', 'EGL-6', 'CKR-2', 'NMUR-1', 'NPR-4', 'FRPR-15'],
- # ['NPR-24', 'SEB-3', 'DMSR-6', 'NPR-12', 'DMSR-7'],
- # ['GNRR-3', 'NPR-35', 'TKR-2', 'NTR-1', 'DMSR-5'],
- # ['NPR-8', 'DMSR-1', 'NPR-3', 'TKR-1']]
- #phylogenetic splits (gpcr)
- validation_peptides = [['FRPR-16', 'FRPR-18', 'FRPR-4', 'FRPR-6', 'NPR-22', 'NMUR-2'],
- ['AEX-2', 'DMSR-5', 'DMSR-6', 'DMSR-7', 'DMSR-8','NPR-32'],
- ['FRPR-7', 'FRPR-7', 'NPR-6', 'GNRR-3', 'EGL-6'],
- ['TKR-1', 'TKR-2', 'DMSR-1', 'DMSR-2', 'NPR-40', 'GNRR-6'],
- ['NPR-42', 'FRPR-9', 'FRPR-15', 'FRPR-19', 'NMUR-1'],
- ['NPR-8', 'NPR-24', 'NPR-37', 'NPR-43', 'FRPR-3'],
- ['FRPR-8', 'GNRR-1', 'SPRR-1', 'SPRR-2', 'NPR-11', 'NPR-12'],
- ['NPR-41', 'NPR-1', 'NPR-2', 'NPR-3', 'PDFR-1', 'NTR-1'],
- ['TRHR-1', 'NPR-35', 'NPR-13', 'NPR-5', 'SEB-3'],
- ['DMSR-3', 'NPR-10', 'NPR-4', 'NPR-39', 'CKR-1', 'CKR-2']]
- # %%
- hpt_peptides = validation_peptides[-2:]+validation_peptides[0:-2]
- # %%
- all_graphs
- # %%
- test_logits = []
- test_labels = []
- candidatesgnn = []
- hitmapgnn = []
- subsampling_factor = 4
- average_precisions = dict()
- hpt_results = []
- for validation_peptide,hpt_peptide in zip(validation_peptides, hpt_peptides):
- training_graphs = [g['graph'] for g in all_graphs if g['gpcr_family'] not in validation_peptide and g['y'] == 1]
- hpt_training_graphs = [g['graph'] for g in all_graphs if g['gpcr_family'] not in validation_peptide and g['gpcr_family'] not in hpt_peptide and g['y'] == 1]
- hpt_to_shuffle = [g['graph'] for g in all_graphs if g['gpcr_family'] not in validation_peptide and g['gpcr_family'] not in hpt_peptide and g['y'] == 0]
- to_shuffle = [g['graph'] for g in all_graphs if g['gpcr_family'] not in validation_peptide and g['y'] == 0]
- random.Random(111).shuffle(to_shuffle)
- random.Random(111).shuffle(hpt_to_shuffle)
- trainings = []
- hpt_trainings = []
- for i in range(20):
- random.Random(i).shuffle(to_shuffle)
- trainings.append(training_graphs + to_shuffle[0:len(training_graphs)*subsampling_factor])
- trainings = [list(map(move_to_cuda, h)) for h in trainings]
- random.Random(i).shuffle(hpt_to_shuffle)
- hpt_trainings.append(hpt_training_graphs + hpt_to_shuffle[0:len(hpt_training_graphs)*subsampling_factor])
- hpt_trainings = [list(map(move_to_cuda, h)) for h in hpt_trainings]
- validation_graphs = [g['graph'] for g in all_graphs if g['gpcr_family'] in validation_peptide]
- hpt_validation_graphs = [g['graph'] for g in all_graphs if g['gpcr_family'] in hpt_peptide]
- validation_graphs = list(map(move_to_cuda, validation_graphs))
- hpt_validation_graphs = list(map(move_to_cuda, hpt_validation_graphs))
- test_loader = DataLoader(validation_graphs, batch_size=256, shuffle=False)
- hpt_test_loader = DataLoader(hpt_validation_graphs, batch_size=256, shuffle=False)
- hpt_maps = []
- hpt_logits = []
- hpt_labels = []
- def objective(trial):
- hidden_channels = trial.suggest_int('hidden_units', 50, 100)
- batch_size = trial.suggest_int('batch_size', 50, 200)
- lr = 0.0005
- model = PeptideGNN(hidden_channels, input_channels=128).cuda()
- optimizer = torch.optim.AdamW(model.parameters(), lr=lr)
- criterion = torch.nn.CrossEntropyLoss(label_smoothing=0.5, reduction='none')
- for epoch in range(1, 30):
- training_graphs = random.Random(epoch+111).choice(hpt_trainings)
- train_loader = DataLoader(training_graphs, batch_size=batch_size, shuffle=True)
- loss = train_weighted(model, criterion, optimizer, train_loader)
- model.eval()
- all_logits = []
- atrues = []
- with torch.no_grad():
- for data in hpt_test_loader:
- logits = model(data.x, data.edge_index, data.edge_attr, data.batch)
- if torch.isnan(data.x).any():
- print(f"NaN in node features for {hpt_peptide}")
- if torch.isnan(data.edge_attr).any():
- print(f"NaN in edge attributes for {hpt_peptide}")
- if torch.isinf(data.x).any() or torch.isinf(data.edge_attr).any():
- print(f"Infinite values in data for {hpt_peptide}")
- # 🧩 Check for NaNs in model output
- if torch.isnan(logits).any():
- print(f"NaN detected in model output during Optuna eval for {hpt_peptide}")
- continue # skip this batch safely
- all_logits.append(logits.cpu().detach()[:,1])
- atrues.append(data.y.cpu())
- hpt_logits.append(np.concatenate(all_logits))
- hpt_labels.append(np.concatenate(atrues))
- hpt_average_precisions = []
- val_gpcr = [g.gpcr for g in hpt_validation_graphs]
- val_peptide = [g.peptide for g in hpt_validation_graphs]
- result = pd.DataFrame(zip(hpt_labels[-1], hpt_logits[-1], val_gpcr, val_peptide))
- for gpcr, r in result.groupby(2):
- if r[0].sum() > 0:
- if np.isnan(r[0]).any():
- print(f"NaNs in TRUE labels for group: {gpcr}")
- if np.isnan(r[1]).any():
- print(f"NaNs in PREDICTIONS for group: {gpcr}")
- hpt_average_precisions.append(sklearn.metrics.average_precision_score(r[0], r[1]))
- else:
- print('what')
- hpt_maps.append((np.mean(hpt_average_precisions), (hidden_channels, batch_size, lr)))
- return np.mean(hpt_average_precisions)
- sampler = optuna.samplers.RandomSampler(seed=111)
- study = optuna.create_study(direction='maximize', sampler=sampler)
- study.optimize(objective, n_trials=40)
- hpt_results.append(hpt_maps)
- _, params = sorted(hpt_maps)[-1]
- model = PeptideGNN(params[0], input_channels=128).cuda()
- optimizer = torch.optim.AdamW(model.parameters(), lr=params[2])
- criterion = torch.nn.CrossEntropyLoss(label_smoothing=0.5, reduction='none')
- print(validation_peptide)
- for epoch in range(1, 30):
- training_graphs = random.Random(epoch+111).choice(trainings)
- train_loader = DataLoader(training_graphs, batch_size=params[1], shuffle=True)
- loss = train_weighted(model, criterion, optimizer, train_loader)
- if epoch % 14 == 0:
- test_acc = test_without_crash(model, criterion, test_loader)
- print(f'Epoch: {epoch:02d}, Train Acc: {test_without_crash(model, criterion, train_loader):.4f}, Test AUC: {test_acc:.4f}')
- torch.save(model.state_dict(), f'{save_to}pretrained_{validation_peptide[0]}.pth')
- model.eval()
- all_logits = []
- atrues = []
- with torch.no_grad():
- for data in test_loader:
- logits = model(data.x, data.edge_index, data.edge_attr, data.batch)
- all_logits.append(logits.cpu().detach()[:,1])
- atrues.append(data.y.cpu())
- test_logits.append(np.concatenate(all_logits))
- test_labels.append(np.concatenate(atrues))
- val_gpcr = [g.gpcr for g in validation_graphs]
- val_peptide = [g.peptide for g in validation_graphs]
- result = pd.DataFrame(zip(test_labels[-1], test_logits[-1], val_gpcr, val_peptide))
- for gpcr, r in result.groupby(2):
- hitmapgnn.append((gpcr, r.sort_values(by=1).iloc[-17:][0].sum()))
- candidatesgnn.append((gpcr,r.sort_values(by=1)))
- if r[0].sum() > 0:
- average_precisions[gpcr] = sklearn.metrics.average_precision_score(r[0], r[1])
- print(gpcr, average_precisions[gpcr])
- print(roc_auc_score(np.concatenate(test_labels), np.concatenate(test_logits)))
- # %%
- np.mean(list(average_precisions.values()))
- # %%
- map_value = int(round(np.mean(list(average_precisions.values())),3)*1000)
- st = pd.concat([st for g,st in candidatesgnn])
- st.to_csv(f'/content/average_precision_values.csv', index=False)
DeorphaNN_training.ipynb at commit 0ddab30, under MIT · at the source
Overview
- Neurobiology Division, MRC Laboratory of Molecular Biology, Cambridge, UK
- Independent Researcher, Ottawa, ON, Canada
- Department of Biology, KU Leuven, Leuven, Belgium
- Department of Pharmacology, University of Cambridge, Cambridge, UK
Abstract
Peptide-activated G protein-coupled receptors (GPCRs) regulate physiological processes through interaction with neuropeptides and peptide hormones. Identifying endogenous peptide agonists remains challenging, as peptide-GPCR pairings often follow gene-family relationships that offer limited predictive insight for orphan GPCRs without characterized homologs. Using a dataset of experimentally validated peptide-GPCR interactions from Caenorhabditis elegans, we demonstrate that AF-multimer confidence metrics partially discriminate agonist from non-agonist complexes, with improved discrimination using AF-Multistate-derived active-state templates. Feature analysis revealed that AF-multimer’s pair representations outperform single representations, with distinct subregions providing complementary signals. Leveraging these insights, we developed DeorphaNN, a graph neural network integrating active-state GPCR-peptide structural predictions, interatomic interactions, and deep learning embeddings to prioritize putative peptide agonists for experimental screening. DeorphaNN generalized across diverse species, as shown by performance on annelid and human retrospective benchmarks. Experimental validation confirmed predicted agonists for two orphan GPCRs, demonstrating its utility for accelerating peptide-GPCR deorphanization.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above, with 15 matches between paragraphs and lines of code.
Zebreu/DeorphaNN
0ddab304da08d48540ce09a3072a5c7d1e5a9b98, 25 June 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
12 files
- DeorphaNN_training.ipynb
, Jupyter, 700 lines, 2 matches - deorphann/
__init__.py , Python, 4 lines - deorphann/
graph.py , Python, 92 lines - deorphann/
loader.py , Python, 33 lines - deorphann/
model.py , Python, 29 lines - deorphann/
predict.py , Python, 12 lines - deorphann_batch.py, Python, 51 lines
- preprocessing/
minimum_distance.ipynb , Jupyter, 158 lines, 1 match - preprocessing/
process_pair_reps.py , Python, 72 lines - preprocessing/
template_trim.ipynb , Jupyter, 166 lines - LICENSE, License, 21 lines
- README.md, Text, 84 lines
Zenodo 20862123
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
Zenodo 20865768
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
12 files
- DeorphaNN_training.ipynb
, Jupyter, 700 lines - deorphann/
__init__.py , Python, 4 lines - deorphann/
graph.py , Python, 92 lines - deorphann/
loader.py , Python, 33 lines - deorphann/
model.py , Python, 29 lines - deorphann/
predict.py , Python, 12 lines - deorphann_batch.py, Python, 51 lines
- preprocessing/
minimum_distance.ipynb , Jupyter, 158 lines - preprocessing/
process_pair_reps.py , Python, 72 lines - preprocessing/
template_trim.ipynb , Jupyter, 166 lines - LICENSE, License, 21 lines
- README.md, Text, 82 lines
Maryam-Haghani/NEFFy
c6bc480369201d030b7a18243e71fc261c2d1406, 6 May 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
119 files
- code/
common.cpp , C++, 145 lines - code/
common.h , C/C++, 84 lines - code/
converter.cpp , C++, 212 lines - code/
flagHandler.cpp , C++, 220 lines - code/
flagHandler.h , C/C++, 100 lines - code/
msaReader.cpp , C++, 486 lines - code/
msaReader.h , C/C++, 121 lines - code/
msaWriter.cpp , C++, 198 lines - code/
msaWriter.h , C/C++, 112 lines - code/
multimerHandler.cpp , C++, 339 lines - code/
multimerHandler.h , C/C++, 104 lines - code/
neff.cpp , C++, 978 lines - docs/
clipboard.js , JavaScript, 61 lines - docs/
cookie.js , JavaScript, 58 lines - docs/
dynsections.js , JavaScript, 198 lines - docs/
jquery.js , JavaScript, 34 lines - docs/
menu.js , JavaScript, 134 lines - docs/
menudata.js , JavaScript, 84 lines - docs/
resize.js , JavaScript, 145 lines - docs/
search/ , JavaScript, 11 linesall_0.js - docs/
search/ , JavaScript, 4 linesall_1.js - docs/
search/ , JavaScript, 17 linesall_10.js - docs/
search/ , JavaScript, 19 linesall_11.js - docs/
search/ , JavaScript, 7 linesall_12.js - docs/
search/ , JavaScript, 6 linesall_13.js - docs/
search/ , JavaScript, 6 linesall_14.js - docs/
search/ , JavaScript, 5 linesall_15.js - docs/
search/ , JavaScript, 6 linesall_16.js - docs/
search/ , JavaScript, 6 linesall_17.js - docs/
search/ , JavaScript, 38 linesall_2.js - docs/
search/ , JavaScript, 7 linesall_3.js - docs/
search/ , JavaScript, 8 linesall_4.js - docs/
search/ , JavaScript, 22 linesall_5.js - docs/
search/ , JavaScript, 31 linesall_6.js - docs/
search/ , JavaScript, 8 linesall_7.js - docs/
search/ , JavaScript, 17 linesall_8.js - docs/
search/ , JavaScript, 4 linesall_9.js - docs/
search/ , JavaScript, 6 linesall_a.js - docs/
search/ , JavaScript, 35 linesall_b.js - docs/
search/ , JavaScript, 19 linesall_c.js - docs/
search/ , JavaScript, 10 linesall_d.js - docs/
search/ , JavaScript, 11 linesall_e.js - docs/
search/ , JavaScript, 15 linesall_f.js - docs/
search/ , JavaScript, 5 linesclasses_0.js - docs/
search/ , JavaScript, 20 linesclasses_1.js - docs/
search/ , JavaScript, 4 linesclasses_2.js - docs/
search/ , JavaScript, 4 linesenums_0.js - docs/
search/ , JavaScript, 5 linesenums_1.js - docs/
search/ , JavaScript, 4 linesenumvalues_0.js - docs/
search/ , JavaScript, 5 linesenumvalues_1.js - docs/
search/ , JavaScript, 4 linesenumvalues_2.js - docs/
search/ , JavaScript, 4 linesenumvalues_3.js - docs/
search/ , JavaScript, 4 linesenumvalues_4.js - docs/
search/ , JavaScript, 4 linesenumvalues_5.js - docs/
search/ , JavaScript, 4 linesenumvalues_6.js - docs/
search/ , JavaScript, 4 linesenumvalues_7.js - docs/
search/ , JavaScript, 6 linesfiles_0.js - docs/
search/ , JavaScript, 5 linesfiles_1.js - docs/
search/ , JavaScript, 4 linesfiles_2.js - docs/
search/ , JavaScript, 5 linesfiles_3.js - docs/
search/ , JavaScript, 11 linesfiles_4.js - docs/
search/ , JavaScript, 5 linesfiles_5.js - docs/
search/ , JavaScript, 4 linesfiles_6.js - docs/
search/ , JavaScript, 4 linesfiles_7.js - docs/
search/ , JavaScript, 4 linesfiles_8.js - docs/
search/ , JavaScript, 15 linesfunctions_0.js - docs/
search/ , JavaScript, 4 linesfunctions_1.js - docs/
search/ , JavaScript, 27 linesfunctions_2.js - docs/
search/ , JavaScript, 8 linesfunctions_3.js - docs/
search/ , JavaScript, 4 linesfunctions_4.js - docs/
search/ , JavaScript, 8 linesfunctions_5.js - docs/
search/ , JavaScript, 5 linesfunctions_6.js - docs/
search/ , JavaScript, 6 linesfunctions_7.js - docs/
search/ , JavaScript, 4 linesfunctions_8.js - docs/
search/ , JavaScript, 4 linesfunctions_9.js - docs/
search/ , JavaScript, 5 linesfunctions_a.js - docs/
search/ , JavaScript, 5 linesfunctions_b.js - docs/
search/ , JavaScript, 4 linespages_0.js - docs/
search/ , JavaScript, 6 linespages_1.js - docs/
search/ , JavaScript, 4 linespages_2.js - docs/
search/ , JavaScript, 5 linespages_3.js - docs/
search/ , JavaScript, 4 linespages_4.js - docs/
search/ , JavaScript, 5 linespages_5.js - docs/
search/ , JavaScript, 4 linespages_6.js - docs/
search/ , JavaScript, 5 linespages_7.js - docs/
search/ , JavaScript, 8 linespages_8.js - docs/
search/ , JavaScript, 6 linespages_9.js - docs/
search/ , JavaScript, 4 linespages_a.js - docs/
search/ , JavaScript, 4 linespages_b.js - docs/
search/ , JavaScript, 5 linespages_c.js - docs/
search/ , JavaScript, 4 linespages_d.js - docs/
search/ , JavaScript, 694 linessearch.js - docs/
search/ , JavaScript, 36 linessearchdata.js - docs/
search/ , JavaScript, 4 linesvariables_0.js - docs/
search/ , JavaScript, 6 linesvariables_1.js - docs/
search/ , JavaScript, 4 linesvariables_2.js - docs/
search/ , JavaScript, 9 linesvariables_3.js - docs/
search/ , JavaScript, 4 linesvariables_4.js - docs/
search/ , JavaScript, 5 linesvariables_5.js - docs/
search/ , JavaScript, 6 linesvariables_6.js - docs/
search/ , JavaScript, 4 linesvariables_7.js - docs/
search/ , JavaScript, 5 linesvariables_8.js - docs/
search/ , JavaScript, 9 linesvariables_9.js - docs/
search/ , JavaScript, 5 linesvariables_a.js - docs/
search/ , JavaScript, 5 linesvariables_b.js - example/
compute_heteromer_neff.p , Python, 19 linesy - example/
compute_homomer_neff.py , Python, 19 lines - example/
compute_integrated_neff. , Python, 18 linespy - example/
compute_neff.py , Python, 16 lines - example/
compute_residue_neff.py , Python, 18 lines - example/
compute_rna_gap_neff.py , Python, 16 lines - example/
compute_rna_neff.py , Python, 15 lines - example/
compute_seq_weights.py , Python, 16 lines - example/
convert_msa.py , Python, 13 lines - neffy/
__init__.py , Python, 1 line - neffy/
neffy.py , Python, 315 lines - setup.py, Python, 118 lines
- LICENSE.txt, License, 674 lines
- README.md, Text, 215 lines
facebookresearch/esm
2b369911bb5b4b0dda914521b9475cad1656b2ac, 27 June 2023Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
90 files
- esm/
__init__.py , Python, 12 lines - esm/
axial_attention.py , Python, 239 lines - esm/
constants.py , Python, 10 lines - esm/
data.py , Python, 493 lines - esm/
esmfold/ , Python, 1 linev1/ __init__.py - esm/
esmfold/ , Python, 43 linesv1/ categorical_mixture.py - esm/
esmfold/ , Python, 364 linesv1/ esmfold.py - esm/
esmfold/ , Python, 309 linesv1/ misc.py - esm/
esmfold/ , Python, 181 linesv1/ pretrained.py - esm/
esmfold/ , Python, 160 linesv1/ tri_self_attn_block.py - esm/
esmfold/ , Python, 243 linesv1/ trunk.py - esm/
inverse_folding/ , Python, 8 lines__init__.py - esm/
inverse_folding/ , Python, 352 linesfeatures.py - esm/
inverse_folding/ , Python, 56 linesgvp_encoder.py - esm/
inverse_folding/ , Python, 475 lines, 2 matchesgvp_modules.py - esm/
inverse_folding/ , Python, 140 linesgvp_transformer.py - esm/
inverse_folding/ , Python, 184 linesgvp_transformer_encoder. py - esm/
inverse_folding/ , Python, 68 linesgvp_utils.py - esm/
inverse_folding/ , Python, 152 linesmultichain_util.py - esm/
inverse_folding/ , Python, 228 linestransformer_decoder.py - esm/
inverse_folding/ , Python, 304 linestransformer_layer.py - esm/
inverse_folding/ , Python, 323 linesutil.py - esm/
model/ , Python, 1 line__init__.py - esm/
model/ , Python, 200 linesesm1.py - esm/
model/ , Python, 147 linesesm2.py - esm/
model/ , Python, 238 linesmsa_transformer.py - esm/
modules.py , Python, 418 lines - esm/
multihead_attention.py , Python, 508 lines - esm/
pretrained.py , Python, 552 lines - esm/
rotary_embedding.py , Python, 69 lines - esm/
version.py , Python, 6 lines - examples/
contact_prediction.ipynb , Jupyter, 422 lines - examples/
esm2_infer_fairscale_fsd , Python, 56 linesp_cpu_offloading.py - examples/
esm_structural_dataset.i , Jupyter, 124 linespynb - examples/
inverse_folding/ , Jupyter, 195 linesnotebook.ipynb - examples/
inverse_folding/ , Jupyter, 209 linesnotebook_multichain.ipyn b - examples/
inverse_folding/ , Python, 124 linessample_sequences.py - examples/
inverse_folding/ , Python, 131 linesscore_log_likelihoods.py - examples/
lm-design/ , Python, 1 line__init__.py - examples/
lm-design/ , Python, 1 lineconf/ __init__.py - examples/
lm-design/ , Jupyter, 89 linesfixed_backbone.ipynb - examples/
lm-design/ , Jupyter, 73 linesfree_generation.ipynb - examples/
lm-design/ , Python, 456 lineslm_design.py - examples/
lm-design/ , Python, 1 lineutils/ __init__.py - examples/
lm-design/ , Python, 13 linesutils/ constants.py - examples/
lm-design/ , Python, 56 linesutils/ fixedbb.py - examples/
lm-design/ , Python, 94 linesutils/ free_generation.py - examples/
lm-design/ , Python, 138 linesutils/ linear_projection.py - examples/
lm-design/ , Python, 102 linesutils/ lm.py - examples/
lm-design/ , Python, 29 linesutils/ loss.py - examples/
lm-design/ , Python, 92 linesutils/ masking.py - examples/
lm-design/ , Python, 41 linesutils/ misc.py - examples/
lm-design/ , Python, 73 linesutils/ ngram.py - examples/
lm-design/ , Python, 321 linesutils/ pdb_loader.py - examples/
lm-design/ , Python, 201 linesutils/ sampling.py - examples/
lm-design/ , Python, 69 linesutils/ scheduler.py - examples/
lm-design/ , Python, 128 linesutils/ struct_models.py - examples/
lm-design/ , Python, 81 linesutils/ tensor.py - examples/
protein-programming-lang , Python, 22 linesuage/ language/ __init__.py - examples/
protein-programming-lang , Python, 317 linesuage/ language/ energy.py - examples/
protein-programming-lang , Python, 78 linesuage/ language/ folding_callbacks.py - examples/
protein-programming-lang , Python, 158 linesuage/ language/ optimize.py - examples/
protein-programming-lang , Python, 127 linesuage/ language/ program.py - examples/
protein-programming-lang , Python, 221 linesuage/ language/ sequence.py - examples/
protein-programming-lang , Python, 19 linesuage/ language/ utilities.py - examples/
protein-programming-lang , Python, 1 lineuage/ programs/ __init__.py - examples/
protein-programming-lang , Python, 39 linesuage/ programs/ fixed_backbone.py - examples/
protein-programming-lang , Python, 24 linesuage/ programs/ free_hallucination.py - examples/
protein-programming-lang , Python, 58 linesuage/ programs/ functional_site_scaffold ing.py - examples/
protein-programming-lang , Python, 47 linesuage/ programs/ secondary_structure.py - examples/
protein-programming-lang , Python, 64 linesuage/ programs/ symmetric_binding.py - examples/
protein-programming-lang , Python, 36 linesuage/ programs/ symmetric_monomer.py - examples/
protein-programming-lang , Python, 65 linesuage/ programs/ symmetric_two_level_mult imer.py - examples/
protein-programming-lang , Jupyter, 119 linesuage/ tutorial.ipynb - examples/
sup_variant_prediction.i , Jupyter, 292 linespynb - examples/
variant-prediction/ , Python, 1 line__init__.py - examples/
variant-prediction/ , Python, 241 linespredict.py - hubconf.py, Python, 43 lines
- scripts/
__init__.py , Python, 1 line - scripts/
download_weights.sh , Shell, 65 lines - scripts/
extract.py , Python, 140 lines - scripts/
fold.py , Python, 205 lines - setup.py, Python, 56 lines
- tests/
test_alphabet.py , Python, 87 lines - tests/
test_inverse_folding.py , Python, 71 lines - tests/
test_load_all.py , Python, 56 lines - tests/
test_notebooks.py , Python, 64 lines - tests/
test_readme.py , Python, 184 lines - LICENSE, License, 21 lines
- README.md, Text, 795 lines
ElofssonLab/FoldDock
9a1a26ced4f6b8b9bc65a7ac76999118c292b80d, 18 April 2023Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
139 files
- data/
dockground/ , Shell, 11 linesfetch_atoms.sh - data/
dockground/ , Python, 214 linesparse_dssp.py - data/
dockground/ , Shell, 5 linesparse_dssp.sh - data/
dockground/ , Shell, 9 linesrun_dssp.sh - data/
marks/ , Shell, 114 linesPDB/ batch_download.sh - data/
marks/ , Python, 141 linesPDB/ extract_pdb_chains.py - data/
marks/ , Python, 169 linesPDB/ pdb_parser.py - data/
marks/ , Shell, 3 linesalign.sh - data/
marks/ , Python, 30 linesalign_for_sim.py - data/
marks/ , Python, 98 lineshhblits/ a3m_parser.py - data/
marks/ , Python, 93 lineshhblits/ fuse_msas.py - data/
marks/ , Python, 83 lineshhblits/ match_ox.py - data/
marks/ , Python, 123 lineshhblits/ neff.py - data/
marks/ , Python, 138 lineshhblits/ oxmatch.py - data/
marks/ , Shell, 30 lineshhblits/ preprocess.sh - data/
marks/ , Python, 152 lineshhblits/ select_ox.py - data/
marks/ , Shell, 7 linesmarks_negative_set/ fasta/ get_fasta.sh - data/
marks/ , Python, 65 linesmsa_overlap.py - data/
marks/ , Python, 163 linesparse_dssp.py - data/
marks/ , Shell, 5 linesparse_dssp.sh - data/
marks/ , Shell, 8 linesrun_dssp.sh - data/
merge_fasta.py , Python, 109 lines - data/
merge_fasta.sh , Shell, 36 lines - data/
negatome/ , Shell, 7 linesfasta/ get_fasta.sh - data/
new_dimers/ , Python, 164 linesextract_pdb.py - data/
new_dimers/ , Shell, 7 linespreprocess.sh - run_pipeline.sh, Shell, 199 lines
- score.sh, Shell, 11 lines
- setup.sh, Shell, 53 lines
- src/
alphafold/ , Python, 14 linesalphafold/ common/ __init__.py - src/
alphafold/ , Python, 155 linesalphafold/ common/ confidence.py - src/
alphafold/ , Python, 229 linesalphafold/ common/ protein.py - src/
alphafold/ , Python, 89 linesalphafold/ common/ protein_test.py - src/
alphafold/ , Python, 895 linesalphafold/ common/ residue_constants.py - src/
alphafold/ , Python, 190 linesalphafold/ common/ residue_constants_test.p y - src/
alphafold/ , Python, 14 linesalphafold/ data/ __init__.py - src/
alphafold/ , Python, 159 linesalphafold/ data/ foldonly.py - src/
alphafold/ , Python, 384 linesalphafold/ data/ mmcif_parsing.py - src/
alphafold/ , Python, 176 linesalphafold/ data/ msaonly.py - src/
alphafold/ , Python, 364 linesalphafold/ data/ parsers.py - src/
alphafold/ , Python, 209 linesalphafold/ data/ pipeline.py - src/
alphafold/ , Python, 910 linesalphafold/ data/ templates.py - src/
alphafold/ , Python, 14 linesalphafold/ data/ tools/ __init__.py - src/
alphafold/ , Python, 155 linesalphafold/ data/ tools/ hhblits.py - src/
alphafold/ , Python, 91 linesalphafold/ data/ tools/ hhsearch.py - src/
alphafold/ , Python, 138 linesalphafold/ data/ tools/ hmmbuild.py - src/
alphafold/ , Python, 90 linesalphafold/ data/ tools/ hmmsearch.py - src/
alphafold/ , Python, 198 linesalphafold/ data/ tools/ jackhmmer.py - src/
alphafold/ , Python, 104 linesalphafold/ data/ tools/ kalign.py - src/
alphafold/ , Python, 40 linesalphafold/ data/ tools/ utils.py - src/
alphafold/ , Python, 14 linesalphafold/ model/ __init__.py - src/
alphafold/ , Python, 1,141 linesalphafold/ model/ all_atom.py - src/
alphafold/ , Python, 135 linesalphafold/ model/ all_atom_test.py - src/
alphafold/ , Python, 84 linesalphafold/ model/ common_modules.py - src/
alphafold/ , Python, 402 linesalphafold/ model/ config.py - src/
alphafold/ , Python, 39 linesalphafold/ model/ data.py - src/
alphafold/ , Python, 102 linesalphafold/ model/ features.py - src/
alphafold/ , Python, 1,009 linesalphafold/ model/ folding.py - src/
alphafold/ , Python, 274 linesalphafold/ model/ layer_stack.py - src/
alphafold/ , Python, 335 linesalphafold/ model/ layer_stack_test.py - src/
alphafold/ , Python, 88 linesalphafold/ model/ lddt.py - src/
alphafold/ , Python, 79 linesalphafold/ model/ lddt_test.py - src/
alphafold/ , Python, 218 linesalphafold/ model/ mapping.py - src/
alphafold/ , Python, 141 linesalphafold/ model/ model.py - src/
alphafold/ , Python, 2,091 linesalphafold/ model/ modules.py - src/
alphafold/ , Python, 69 linesalphafold/ model/ prng.py - src/
alphafold/ , Python, 46 linesalphafold/ model/ prng_test.py - src/
alphafold/ , Python, 459 linesalphafold/ model/ quat_affine.py - src/
alphafold/ , Python, 150 linesalphafold/ model/ quat_affine_test.py - src/
alphafold/ , Python, 320 linesalphafold/ model/ r3.py - src/
alphafold/ , Python, 14 linesalphafold/ model/ tf/ __init__.py - src/
alphafold/ , Python, 625 linesalphafold/ model/ tf/ data_transforms.py - src/
alphafold/ , Python, 166 linesalphafold/ model/ tf/ input_pipeline.py - src/
alphafold/ , Python, 129 linesalphafold/ model/ tf/ protein_features.py - src/
alphafold/ , Python, 51 linesalphafold/ model/ tf/ protein_features_test.py - src/
alphafold/ , Python, 166 linesalphafold/ model/ tf/ proteins_dataset.py - src/
alphafold/ , Python, 47 linesalphafold/ model/ tf/ shape_helpers.py - src/
alphafold/ , Python, 39 linesalphafold/ model/ tf/ shape_helpers_test.py - src/
alphafold/ , Python, 20 linesalphafold/ model/ tf/ shape_placeholders.py - src/
alphafold/ , Python, 47 linesalphafold/ model/ tf/ utils.py - src/
alphafold/ , Python, 81 linesalphafold/ model/ utils.py - src/
alphafold/ , Python, 14 linesalphafold/ relax/ __init__.py - src/
alphafold/ , Python, 543 linesalphafold/ relax/ amber_minimize.py - src/
alphafold/ , Python, 130 linesalphafold/ relax/ amber_minimize_test.py - src/
alphafold/ , Python, 127 linesalphafold/ relax/ cleanup.py - src/
alphafold/ , Python, 137 linesalphafold/ relax/ cleanup_test.py - src/
alphafold/ , Python, 80 linesalphafold/ relax/ relax.py - src/
alphafold/ , Python, 88 linesalphafold/ relax/ relax_test.py - src/
alphafold/ , Python, 80 linesalphafold/ relax/ utils.py - src/
alphafold/ , Python, 55 linesalphafold/ relax/ utils_test.py - src/
alphafold/ , Python, 201 linesdocker/ run_docker.py - src/
alphafold/ , Jupyter, 595 lines, 1 matchnotebooks/ AlphaFold.ipynb - src/
alphafold/ , Python, 460 linesrun_alphafold.py - src/
alphafold/ , Python, 92 linesrun_alphafold_test.py - src/
alphafold/ , Shell, 68 linesscripts/ download_all_data.sh - src/
alphafold/ , Shell, 41 linesscripts/ download_alphafold_param s.sh - src/
alphafold/ , Shell, 43 linesscripts/ download_bfd.sh - src/
alphafold/ , Shell, 43 linesscripts/ download_mgnify.sh - src/
alphafold/ , Shell, 41 linesscripts/ download_pdb70.sh - src/
alphafold/ , Shell, 61 linesscripts/ download_pdb_mmcif.sh - src/
alphafold/ , Shell, 41 linesscripts/ download_small_bfd.sh - src/
alphafold/ , Shell, 43 linesscripts/ download_uniclust30.sh - src/
alphafold/ , Shell, 41 linesscripts/ download_uniref90.sh - src/
alphafold/ , Python, 107 linessearch_templates.py - src/
alphafold/ , Python, 54 linessetup.py - src/
analysis/ , Jupyter, 170 lines.ipynb_checkpoints/ Untitled-checkpoint.ipyn b - src/
analysis/ , Shell, 51 linesanalyze.sh - src/
analysis/ , Shell, 22 linesdockq/ all_atoms/ eval.sh - src/
analysis/ , Shell, 165 linesdockq/ all_atoms/ rewrite.sh - src/
analysis/ , Shell, 228 linesdockq/ all_atoms/ run_dockq.sh - src/
analysis/ , Python, 61 linesdockq/ eval_docking.py - src/
analysis/ , Shell, 46 linesdockq/ only_backbone/ eval.sh - src/
analysis/ , Shell, 230 linesdockq/ only_backbone/ rewrite.sh - src/
analysis/ , Python, 146 linesdockq/ only_backbone/ rewrite_af_pdb.py - src/
analysis/ , Shell, 251 linesdockq/ only_backbone/ run_dockq.sh - src/
analysis/ , Python, 142 linesdockq/ rewrite_af_pdb.py - src/
analysis/ , Python, 25 linesplddt/ convert-bench4.py - src/
analysis/ , Python, 25 linesplddt/ convert-marks.py - src/
analysis/ , Shell, 92 linesplddt/ fetch.sh - src/
analysis/ , Python, 210 linesplddt/ fetch_plDDT.py - src/
analysis/ , Shell, 20 linesplddt/ merge.sh - src/
analysis/ , Python, 39 linesplddt/ merge_plDDT_dfs.py - src/
analysis/ , Shell, 90 linesplots/ montage.sh - src/
analysis/ , Python, 25 linesreconvert-bench4.py - src/
analysis/ , Python, 1,287 lines, 2 matchesvis_analyze.py - src/
fetch.sh , Shell, 20 lines - src/
fetch_plDDT.py , Python, 191 lines - src/
fuse_msas.py , Python, 93 lines - src/
oxmatch.py , Python, 150 lines - src/
pdb_extract.py , Python, 130 lines - src/
pdockq.py , Python, 132 lines - src/
rerank.py , Python, 25 lines - src/
rewrite_af_pdb.py , Python, 103 lines - src/
seqlen.sh , Shell, 6 lines - src/
sequence_extract.py , Python, 36 lines - src/
split_chains.py , Python, 25 lines - src/
unalign_MSA.py , Python, 30 lines - LICENSE, License, 202 lines
- README.md, Text, 119 lines
huhlim/alphafold-multistate
7014212f2111d82ec0bf19c7cd70441e7c8ef7f2, 12 April 2024Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
96 files
- AlphaFold_multistate.ipy
nb , Jupyter, 386 lines - AlphaFold_multistate_hum
an_kinase_database.ipynb , Jupyter, 168 lines - build_state_annotated_da
tabases/ , Shell, 74 linesbuild_db.sh - build_state_annotated_da
tabases/ , Python, 109 linesmake_hhsearch_db.py - build_state_annotated_da
tabases/ , Shell, 12 linesrun_hhblits.sh - build_state_annotated_da
tabases/ , Python, 44 linesselect_GPCR_only.py - build_state_annotated_da
tabases/ , Python, 22 linessplit_fasta.py - structure_prediction/
alphafold/ , Python, 14 lines__init__.py - structure_prediction/
alphafold/ , Python, 14 linescommon/ __init__.py - structure_prediction/
alphafold/ , Python, 168 lines, 1 matchcommon/ confidence.py - structure_prediction/
alphafold/ , Python, 284 linescommon/ protein.py - structure_prediction/
alphafold/ , Python, 114 linescommon/ protein_test.py - structure_prediction/
alphafold/ , Python, 897 linescommon/ residue_constants.py - structure_prediction/
alphafold/ , Python, 190 linescommon/ residue_constants_test.p y - structure_prediction/
alphafold/ , Python, 14 linesdata/ __init__.py - structure_prediction/
alphafold/ , Python, 229 linesdata/ feature_processing.py - structure_prediction/
alphafold/ , Python, 386 linesdata/ mmcif_parsing.py - structure_prediction/
alphafold/ , Python, 90 linesdata/ msa_identifiers.py - structure_prediction/
alphafold/ , Python, 461 linesdata/ msa_pairing.py - structure_prediction/
alphafold/ , Python, 617 linesdata/ parsers.py - structure_prediction/
alphafold/ , Python, 388 linesdata/ pipeline.py - structure_prediction/
alphafold/ , Python, 297 linesdata/ pipeline_multimer.py - structure_prediction/
alphafold/ , Python, 1,130 linesdata/ templates.py - structure_prediction/
alphafold/ , Python, 14 linesdata/ tools/ __init__.py - structure_prediction/
alphafold/ , Python, 21 linesdata/ tools/ bio_align.py - structure_prediction/
alphafold/ , Python, 155 linesdata/ tools/ hhblits.py - structure_prediction/
alphafold/ , Python, 109 linesdata/ tools/ hhsearch.py - structure_prediction/
alphafold/ , Python, 138 lines, 1 matchdata/ tools/ hmmbuild.py - structure_prediction/
alphafold/ , Python, 132 linesdata/ tools/ hmmsearch.py - structure_prediction/
alphafold/ , Python, 221 linesdata/ tools/ jackhmmer.py - structure_prediction/
alphafold/ , Python, 104 linesdata/ tools/ kalign.py - structure_prediction/
alphafold/ , Python, 40 linesdata/ tools/ utils.py - structure_prediction/
alphafold/ , Python, 14 linesmodel/ __init__.py - structure_prediction/
alphafold/ , Python, 1,141 lines, 1 matchmodel/ all_atom.py - structure_prediction/
alphafold/ , Python, 968 linesmodel/ all_atom_multimer.py - structure_prediction/
alphafold/ , Python, 135 linesmodel/ all_atom_test.py - structure_prediction/
alphafold/ , Python, 191 linesmodel/ common_modules.py - structure_prediction/
alphafold/ , Python, 699 linesmodel/ config.py - structure_prediction/
alphafold/ , Python, 33 linesmodel/ data.py - structure_prediction/
alphafold/ , Python, 104 linesmodel/ features.py - structure_prediction/
alphafold/ , Python, 1,022 linesmodel/ folding.py - structure_prediction/
alphafold/ , Python, 1,176 linesmodel/ folding_multimer.py - structure_prediction/
alphafold/ , Python, 31 linesmodel/ geometry/ __init__.py - structure_prediction/
alphafold/ , Python, 106 linesmodel/ geometry/ rigid_matrix_vector.py - structure_prediction/
alphafold/ , Python, 157 linesmodel/ geometry/ rotation_matrix.py - structure_prediction/
alphafold/ , Python, 220 linesmodel/ geometry/ struct_of_array.py - structure_prediction/
alphafold/ , Python, 98 linesmodel/ geometry/ test_utils.py - structure_prediction/
alphafold/ , Python, 23 linesmodel/ geometry/ utils.py - structure_prediction/
alphafold/ , Python, 217 linesmodel/ geometry/ vector.py - structure_prediction/
alphafold/ , Python, 274 linesmodel/ layer_stack.py - structure_prediction/
alphafold/ , Python, 335 linesmodel/ layer_stack_test.py - structure_prediction/
alphafold/ , Python, 88 linesmodel/ lddt.py - structure_prediction/
alphafold/ , Python, 79 linesmodel/ lddt_test.py - structure_prediction/
alphafold/ , Python, 223 linesmodel/ mapping.py - structure_prediction/
alphafold/ , Python, 187 linesmodel/ model.py - structure_prediction/
alphafold/ , Python, 2,195 linesmodel/ modules.py - structure_prediction/
alphafold/ , Python, 1,177 linesmodel/ modules_multimer.py - structure_prediction/
alphafold/ , Python, 69 linesmodel/ prng.py - structure_prediction/
alphafold/ , Python, 46 linesmodel/ prng_test.py - structure_prediction/
alphafold/ , Python, 459 linesmodel/ quat_affine.py - structure_prediction/
alphafold/ , Python, 150 linesmodel/ quat_affine_test.py - structure_prediction/
alphafold/ , Python, 320 linesmodel/ r3.py - structure_prediction/
alphafold/ , Python, 14 linesmodel/ tf/ __init__.py - structure_prediction/
alphafold/ , Python, 625 linesmodel/ tf/ data_transforms.py - structure_prediction/
alphafold/ , Python, 166 linesmodel/ tf/ input_pipeline.py - structure_prediction/
alphafold/ , Python, 129 linesmodel/ tf/ protein_features.py - structure_prediction/
alphafold/ , Python, 54 linesmodel/ tf/ protein_features_test.py - structure_prediction/
alphafold/ , Python, 166 linesmodel/ tf/ proteins_dataset.py - structure_prediction/
alphafold/ , Python, 47 linesmodel/ tf/ shape_helpers.py - structure_prediction/
alphafold/ , Python, 42 linesmodel/ tf/ shape_helpers_test.py - structure_prediction/
alphafold/ , Python, 20 linesmodel/ tf/ shape_placeholders.py - structure_prediction/
alphafold/ , Python, 47 linesmodel/ tf/ utils.py - structure_prediction/
alphafold/ , Python, 153 linesmodel/ utils.py - structure_prediction/
alphafold/ , Python, 14 linesnotebooks/ __init__.py - structure_prediction/
alphafold/ , Python, 189 linesnotebooks/ notebook_utils.py - structure_prediction/
alphafold/ , Python, 208 linesnotebooks/ notebook_utils_test.py - structure_prediction/
alphafold/ , Python, 14 linesrelax/ __init__.py - structure_prediction/
alphafold/ , Python, 515 linesrelax/ amber_minimize.py - structure_prediction/
alphafold/ , Python, 133 linesrelax/ amber_minimize_test.py - structure_prediction/
alphafold/ , Python, 131 linesrelax/ cleanup.py - structure_prediction/
alphafold/ , Python, 140 linesrelax/ cleanup_test.py - structure_prediction/
alphafold/ , Python, 84 linesrelax/ relax.py - structure_prediction/
alphafold/ , Python, 89 linesrelax/ relax_test.py - structure_prediction/
alphafold/ , Python, 69 linesrelax/ utils.py - structure_prediction/
alphafold/ , Python, 55 linesrelax/ utils_test.py - structure_prediction/
colabfold_runner.py , Python, 585 lines, 1 match - structure_prediction/
conda_create.sh , Shell, 48 lines - structure_prediction/
interpolate.py , Python, 645 lines - structure_prediction/
libaf.py , Python, 48 lines - structure_prediction/
libconfig_af.py , Python, 69 lines - structure_prediction/
libmodeller.py , Python, 139 lines - structure_prediction/
run.py , Python, 106 lines - structure_prediction/
run_af.py , Python, 563 lines - structure_prediction/
run_colabfold.py , Python, 109 lines - structure_prediction/
run_tbm.py , Python, 309 lines - README.md, Text, 101 lines
google-deepmind/alphafold
c77e5d2a8961d1a353632c462914ff0a32a950f6, 22 April 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
101 files
- alphafold/
__init__.py , Python, 14 lines - alphafold/
common/ , Python, 14 lines__init__.py - alphafold/
common/ , Python, 244 linesconfidence.py - alphafold/
common/ , Python, 52 linesconfidence_test.py - alphafold/
common/ , Python, 213 lines, 1 matchmmcif_metadata.py - alphafold/
common/ , Python, 601 linesprotein.py - alphafold/
common/ , Python, 175 linesprotein_test.py - alphafold/
common/ , Python, 1,197 linesresidue_constants.py - alphafold/
common/ , Python, 227 linesresidue_constants_test.p y - alphafold/
data/ , Python, 14 lines__init__.py - alphafold/
data/ , Python, 271 linesfeature_processing.py - alphafold/
data/ , Python, 413 linesmmcif_parsing.py - alphafold/
data/ , Python, 90 linesmsa_identifiers.py - alphafold/
data/ , Python, 567 linesmsa_pairing.py - alphafold/
data/ , Python, 642 linesparsers.py - alphafold/
data/ , Python, 280 linespipeline.py - alphafold/
data/ , Python, 320 linespipeline_multimer.py - alphafold/
data/ , Python, 1,140 linestemplates.py - alphafold/
data/ , Python, 14 linestools/ __init__.py - alphafold/
data/ , Python, 163 linestools/ hhblits.py - alphafold/
data/ , Python, 116 linestools/ hhsearch.py - alphafold/
data/ , Python, 144 lines, 1 matchtools/ hmmbuild.py - alphafold/
data/ , Python, 145 linestools/ hmmsearch.py - alphafold/
data/ , Python, 234 linestools/ jackhmmer.py - alphafold/
data/ , Python, 112 linestools/ kalign.py - alphafold/
data/ , Python, 40 linestools/ utils.py - alphafold/
model/ , Python, 14 lines__init__.py - alphafold/
model/ , Python, 1,296 lines, 1 matchall_atom.py - alphafold/
model/ , Python, 1,069 linesall_atom_multimer.py - alphafold/
model/ , Python, 298 linesall_atom_test.py - alphafold/
model/ , Python, 199 linesbase_config.py - alphafold/
model/ , Python, 176 linesbase_config_test.py - alphafold/
model/ , Python, 201 linescommon_modules.py - alphafold/
model/ , Python, 1,151 linesconfig.py - alphafold/
model/ , Python, 35 linesconfig_test.py - alphafold/
model/ , Python, 33 linesdata.py - alphafold/
model/ , Python, 76 linesfeatures.py - alphafold/
model/ , Python, 1,065 linesfolding.py - alphafold/
model/ , Python, 1,228 linesfolding_multimer.py - alphafold/
model/ , Python, 31 linesgeometry/ __init__.py - alphafold/
model/ , Python, 110 linesgeometry/ rigid_matrix_vector.py - alphafold/
model/ , Python, 167 linesgeometry/ rotation_matrix.py - alphafold/
model/ , Python, 232 linesgeometry/ struct_of_array.py - alphafold/
model/ , Python, 111 linesgeometry/ test_utils.py - alphafold/
model/ , Python, 25 linesgeometry/ utils.py - alphafold/
model/ , Python, 221 linesgeometry/ vector.py - alphafold/
model/ , Python, 289 lineslayer_stack.py - alphafold/
model/ , Python, 341 lineslayer_stack_test.py - alphafold/
model/ , Python, 101 lineslddt.py - alphafold/
model/ , Python, 94 lineslddt_test.py - alphafold/
model/ , Python, 253 linesmapping.py - alphafold/
model/ , Python, 184 linesmodel.py - alphafold/
model/ , Python, 2,340 linesmodules.py - alphafold/
model/ , Python, 1,258 linesmodules_multimer.py - alphafold/
model/ , Python, 69 linesprng.py - alphafold/
model/ , Python, 43 linesprng_test.py - alphafold/
model/ , Python, 511 linesquat_affine.py - alphafold/
model/ , Python, 146 linesquat_affine_test.py - alphafold/
model/ , Python, 353 linesr3.py - alphafold/
model/ , Python, 14 linestf/ __init__.py - alphafold/
model/ , Python, 627 linestf/ data_transforms.py - alphafold/
model/ , Python, 167 linestf/ input_pipeline.py - alphafold/
model/ , Python, 136 linestf/ protein_features.py - alphafold/
model/ , Python, 41 linestf/ protein_features_test.py - alphafold/
model/ , Python, 131 linestf/ proteins_dataset.py - alphafold/
model/ , Python, 47 linestf/ shape_helpers.py - alphafold/
model/ , Python, 40 linestf/ shape_helpers_test.py - alphafold/
model/ , Python, 20 linestf/ shape_placeholders.py - alphafold/
model/ , Python, 37 linestf/ utils.py - alphafold/
model/ , Python, 234 linesutils.py - alphafold/
notebooks/ , Python, 14 lines__init__.py - alphafold/
notebooks/ , Python, 190 linesnotebook_utils.py - alphafold/
notebooks/ , Python, 251 linesnotebook_utils_test.py - alphafold/
relax/ , Python, 14 lines__init__.py - alphafold/
relax/ , Python, 532 linesamber_minimize.py - alphafold/
relax/ , Python, 151 linesamber_minimize_test.py - alphafold/
relax/ , Python, 129 linescleanup.py - alphafold/
relax/ , Python, 160 linescleanup_test.py - alphafold/
relax/ , Python, 90 linesrelax.py - alphafold/
relax/ , Python, 101 linesrelax_test.py - alphafold/
relax/ , Python, 74 linesutils.py - alphafold/
relax/ , Python, 56 linesutils_test.py - alphafold/
version.py , Python, 17 lines - conftest.py, Python, 30 lines
- docker/
run_docker.py , Python, 318 lines - notebooks/
AlphaFold.ipynb , Jupyter, 4 lines - run_alphafold.py, Python, 732 lines
- run_alphafold_test.py, Python, 137 lines
- scripts/
download_all_data.sh , Shell, 79 lines - scripts/
download_alphafold_param , Shell, 41 liness.sh - scripts/
download_bfd.sh , Shell, 43 lines - scripts/
download_mgnify.sh , Shell, 43 lines - scripts/
download_pdb70.sh , Shell, 41 lines - scripts/
download_pdb_mmcif.sh , Shell, 65 lines - scripts/
download_pdb_seqres.sh , Shell, 42 lines - scripts/
download_small_bfd.sh , Shell, 41 lines - scripts/
download_uniprot.sh , Shell, 55 lines - scripts/
download_uniref30.sh , Shell, 43 lines - scripts/
download_uniref90.sh , Shell, 41 lines - LICENSE, License, 202 lines
- README.md, Text, 826 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 8 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 556 scripts, each with its path and the digest of its content;
- 15 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Data and code availability
All datasets utilized in this study are available as supplemental materials and in the associated Zenodo repository (DOI: 10.5281/
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 2, 28 September 2026
- Publisher: n/a → Elsevier BV
- Authors: added Sébastien Ouellet (0000-0002-3098-4907); removed Sébastien Ouellet
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 8 authors, 10 keywords, 11 MeSH terms, 5 funders, 99 references.
Cite
This paper
Ferguson, L., Ouellet, S., Vandewyer, E., Wang, C., Wunna, Z., Lim, T. K., Schafer, W. R., & Beets, I. (2026). DeorphaNN: Virtual screening of GPCR peptide agonists using AlphaFold-predicted active-state complexes and deep learning embeddings. Molecular cell, 86(15), 3102-3117.e5. https://
BibTeX
@article{ferguson2026deo
author = {Ferguson, Larissa and Ouellet, Sébastien and Vandewyer, Elke and Wang, Christopher and Wunna, Zaw and Lim, Tony KY and Schafer, William R and Beets, Isabel},
title = {{DeorphaNN: Virtual screening of GPCR peptide agonists using AlphaFold-predicted active-state complexes and deep learning embeddings}},
journal = {Molecular cell},
year = {2026},
month = jul,
volume = {86},
number = {15},
pages = {3102--3117.e5},
publisher = {Elsevier BV},
issn = {1097-2765},
doi = {10.1016/
url = {https://
pmid = {42492505},
pmcid = {PMC7619462}
}
RIS
TY - JOUR
AU - Ferguson, Larissa
AU - Ouellet, Sébastien
AU - Vandewyer, Elke
AU - Wang, Christopher
AU - Wunna, Zaw
AU - Lim, Tony KY
AU - Schafer, William R
AU - Beets, Isabel
TI - DeorphaNN: Virtual screening of GPCR peptide agonists using AlphaFold-predicted active-state complexes and deep learning embeddings
T2 - Molecular cell
J2 - Mol Cell
PY - 2026
DA - 2026/
VL - 86
IS - 15
SP - 3102
EP - 3117.e5
SN - 1097-2765
PB - Elsevier BV
DO - 10.1016/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1016/
"type": "article-journal",
"title": "DeorphaNN: Virtual screening of GPCR peptide agonists using AlphaFold-predicted active-state complexes and deep learning embeddings",
"container-title": "Molecular cell",
"author": [
{
"family": "Ferguson",
"given": "Larissa"
},
{
"family": "Ouellet",
"given": "Sébastien"
},
{
"family": "Vandewyer",
"given": "Elke"
},
{
"family": "Wang",
"given": "Christopher"
},
{
"family": "Wunna",
"given": "Zaw"
},
{
"family": "Lim",
"given": "Tony KY"
},
{
"family": "Schafer",
"given": "William R"
},
{
"family": "Beets",
"given": "Isabel"
}
],
"container-title-short":
"volume": "86",
"issue": "15",
"page": "3102-3117.e5",
"DOI": "10.1016/
"PMID": "42492505",
"PMCID": "PMC7619462",
"ISSN": "1097-2765",
"publisher": "Elsevier BV",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
23
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1021/acs.biochem.5c00596 [code]
- Cargo Recognition of Nesprin-2 by the Dynein Adapter Bicaudal D2 for a Nuclear Positioning Pathway That Is Important for Brain Development.Journal: BiochemistryIn common: JAX, Biopython, PyTorch Geometric, 7 other tools, cellular / molecular, 3 references
- [2] doi:10.1038/s41598-026-53415-5 [code]
- Computational design and immunoinformatics validation of a T cell multi-epitope vaccine targeting glioblastoma stem cells.Journal: Scientific reportsIn common: JAX, Biopython, PyTorch Geometric, 7 other tools, cellular / molecular, 2 references
- [3] doi:10.1038/s41586-026-10391-0 [code]
- Cell-type-targeted mitochondrial transplantation rescues cell degeneration.Journal: NatureIn common: JAX, Biopython, PyTorch Geometric, 7 other tools, cellular / molecular, 2 references
- [4] doi:10.1038/s41586-026-10670-w [code]
- Zero-shot design of drug-binding proteins via neural iterative selection-expansion.Journal: NatureIn common: PyTorch Geometric, h5py, PyTorch, 6 other tools, cellular / molecular, 4 references
- [5] doi:10.3390/ijms27156614 [code]
- Candidalysin Inhibits &
lt;i& gt;Porphyromonas gingivalis& lt;/ i& gt; Lipoprotein-Induced IL-1β Production in BV-2 Microglia via Hydrophobic Microbial Interactions. Journal: International journal of molecular sciencesIn common: JAX, Biopython, PyTorch Geometric, 7 other tools, cellular / molecular, 1 reference - [6] doi:10.1038/s42003-026-10957-8 [code]
- Brain defence by the extracellular matrix protein Cochlin.Journal: Communications biologyIn common: JAX, Biopython, TensorFlow, 7 other tools, cellular / molecular
- [7] doi:10.1002/advs.202523984 [code]
- INB&
lt;sup& gt;3& lt;/ sup& gt;P: A Multi-Modal and Interpretable Co-Attention Framework Integrating Property-Aware Explanations and Memory-Bank Contrastive Fusion for Blood-Brain Barrier Penetrating Peptide Discovery. Journal: Advanced science (Weinheim, Baden-Wurttemberg, Germany)In common: Biopython, PyTorch Geometric, PyTorch, 6 other tools, 1 reference - [8] doi:10.1038/s41586-026-10658-6 [code]
- An AI system to help scientists write expert-level empirical software.Journal: NatureIn common: JAX, TensorFlow, h5py, 6 other tools, 1 reference
- [9] doi:10.1523/eneuro.0362-25.2026 [code]
- Similarities between &
lt;i& gt;Ciona& lt;/ i& gt; Dorsal Motor Ganglion and Vertebrate Cerebellum: Did a Chordate Ancestor Already Show D/ V Subdivision within a Hindbrain Precursor? Journal: eNeuroIn common: Biopython, PyTorch Geometric, h5py, 7 other tools - [10] doi:10.1016/j.xops.2026.101249 [code]
- A Disorder-Aware Computational Framework to Identify Structurally Tractable Targets in Proliferative Vitreoretinopathy.Journal: Ophthalmology scienceIn common: JAX, Biopython, TensorFlow, 5 other tools, 1 reference
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 8 repositories of the authors' code, each at its verified commit and with its license, 556 scripts, and 15 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:03b6b57127929b65…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
