MCPcopy Create free account

hub / github.com/Wangchentong/Proteus / functions

Functions1,071 in github.com/Wangchentong/Proteus

Methodget_lr
(self)
openfold/utils/lr_schedulers.py:64
Functionget_pdbs
(data_loader, repeat=1, max_length=10000, num_units=1000000)
ProteinMPNN/training/utils.py:133
Functionget_pyrosetta_movers
(xml_objs,mode="monomer")
ProteinMPNN/pyrosetta_utils.py:347
Methodget_rotvec
Return the underlying axis-angle rotation vector. Follow's scipy's implementation: https://github.com/scipy/scip
openfold/utils/rigid_utils.py:562
Functionget_sampled_mask
Parses contig and length argument to sample scaffolds and motifs. Taken from rosettafold codebase.
experiments/utils.py:59
Methodget_sigma_idx
(self, sigma: torch.Tensor)
data/so3_utils.py:1246
Functionget_std_opt
(parameters, d_model, step)
ProteinMPNN/training/utils.py:125
Functionget_timestep_embedding
(timesteps, embedding_dim, max_positions=10000)
model/utils.py:43
Functionideal_atom_mask
Computes an ideal atom mask. `Protein.atom_mask` typically is defined according to the atoms that are reported in the PDB. This function comp
openfold/np/protein.py:388
Functionideal_atom_mask
Computes an ideal atom mask. `Protein.atom_mask` typically is defined according to the atoms that are reported in the PDB. This function computes
data/protein.py:232
Methodidentity
Returns an identity Rotation. Args: shape: The "shape" of the resulting Rotation object.
openfold/utils/rigid_utils.py:344
Functionigso3_density
(Rt, t, L=500)
data/igso3.py:45
Functionigso3_score
(R, t, L=500)
data/igso3.py:52
Functionimport_jax_weights_
(model, npz_path, version="model_1")
openfold/utils/import_weights.py:125
Methodinvert
Returns the inverse of the current Rotation. Returns: The inverse of the current Rotation
openfold/utils/rigid_utils.py:689
Methodinvert_apply
The inverse of the apply() method. Args: pts: A [*, 3] set of points Returns
openfold/utils/rigid_utils.py:675
Functionipa_point_weights_init_
(weights)
model/layers.py:232
Functionlddt_ca
( all_atom_pred_pos: torch.Tensor, all_atom_positions: torch.Tensor, all_atom_mask: torch.Tensor,
openfold/utils/loss.py:438
Functionlength_batching
( np_dicts: List[Dict[str, np.ndarray]], max_squared_res: int, )
data/utils.py:620
Methodload_state_dict
(self, state_dict)
openfold/utils/lr_schedulers.py:61
Methodload_state_dict
(self, state_dict: OrderedDict)
openfold/utils/exponential_moving_average.py:60
Functionloader_pdb
(item,params)
ProteinMPNN/training/utils.py:229
Functionlocal_log
Matrix logarithm. Computes left-invariant vector field of beinging base_point to point on the manifold. Follows the signature of geomstats' e
data/so3_utils.py:611
Functionlog
(R)
data/so3_utils.py:37
Methodlooped_samples
(dataset_idx)
openfold/data/data_modules.py:297
Methodlooped_shuffled_dataset_idx
(dataset_len)
openfold/data/data_modules.py:284
Functionloss_nll
Negative log probabilities
ProteinMPNN/protein_mpnn_utils.py:449
Functionloss_smoothed
Negative log probabilities
ProteinMPNN/protein_mpnn_utils.py:459
Functionmake_all_atom_aatype
(protein)
openfold/data/data_transforms.py:82
Functionmake_atom14_dists_bounds
compute upper and lower bounds for bonds to assess violations.
openfold/np/residue_constants.py:1218
Functionmake_atom14_dists_bounds
compute upper and lower bounds for bonds to assess violations.
data/residue_constants.py:900
Functionmake_atom14_masks
Construct denser atom positions (14 dimensions instead of 37).
data/data_transforms.py:82
Functionmake_atom14_masks_np
(batch)
openfold/data/data_transforms.py:649
Functionmake_atom14_positions
Constructs denser atom positions (14 dimensions instead of 37).
openfold/data/data_transforms.py:656
Functionmake_atom14_positions
Constructs denser atom positions (14 dimensions instead of 37).
data/data_transforms.py:155
Functionmake_fixed_size
Guess at the MSA and sequence dimension to make fixed size.
openfold/data/data_transforms.py:473
Functionmake_hhblits_profile
Compute the HHblits MSA profile if not already present.
openfold/data/data_transforms.py:421
Functionmake_masked_msa
Create data for BERT on raw MSA.
openfold/data/data_transforms.py:434
Functionmake_msa_feat
Create and concatenate MSA features.
openfold/data/data_transforms.py:512
Functionmake_msa_mask
Mask features are all ones, but will later be zero-padded.
openfold/data/data_transforms.py:361
Functionmake_one_hot
(x, num_classes)
data/data_transforms.py:30
Functionmake_pseudo_beta
Create pseudo-beta (alpha for glycine) position and mask.
openfold/data/data_transforms.py:391
Functionmake_pseudo_beta
Create pseudo-beta (alpha for glycine) position and mask.
data/data_transforms.py:69
Functionmake_seq_mask
(protein)
openfold/data/data_transforms.py:59
Functionmake_seq_mask
(protein)
data/data_transforms.py:36
Functionmake_template_mask
(protein)
openfold/data/data_transforms.py:66
Functionmake_template_mask
(protein)
data/data_transforms.py:43
Methodmap_tensor_fn
Apply a Tensor -> Tensor function to underlying rotation tensors, mapping over the rotation dimension(s). Can be used e.g. to
openfold/utils/rigid_utils.py:762
Methodmasked_msa_loss
Question: Predict x0 or xt, it seems almost the same to me. Args: logits: [*, N_seq, N_res, self.num_states]
data/discrete_diffuser.py:167
Functionmodel_config
(name, train=False, low_prec=False)
openfold/config.py:13
Functionmpnn_design
( config, protein_path ,fixed_chains=[], model=None ,mode = 'monomer')
ProteinMPNN/protein_mpnn_pyrosetta.py:52
Functionmpnn_design
(args_to_keep, mpnn_conf, mpnn_model, full_atom_dir, prefix='',mode='monomer')
experiments/inference_se3_diffusion.py:59
Functionmsa_sample
(msa_feature: dict,msa_num=64,strategy='default',padding=False)
openfold/data/data_transforms.py:1266
Functionmsa_sample
(msa_feature: dict,msa_num=64,strategy='default',padding=False)
data/data_transforms.py:737
Functionmutate_residue
( pose, resi, aa = 'C' )
ProteinMPNN/pyrosetta_utils.py:312
Functionnearest_neighbor_clusters
(protein, gap_agreement_weight=0.0)
openfold/data/data_transforms.py:279
Methodon_epoch_end
(self, trainer, pl_module)
openfold/utils/logger.py:80
Methodon_test_batch_start
(self, trainer, pl_module, batch, batch_idx, dataloader_idx)
openfold/utils/logger.py:49
Methodon_train_batch_start
(self, trainer, pl_module, batch, batch_idx, dataloader_idx)
openfold/utils/logger.py:46
Methodon_train_end
(self, trainer, pl_module)
openfold/utils/logger.py:75
Functionoverwrite_b_factors
Overwrites the B-factors in pdb_str with contents of bfactors array. Args: pdb_str: An input PDB string. bfactors: A numpy array with
openfold/np/relax/utils.py:36
Functionoverwrite_pdb_coordinates
(pdb_str: str, pos)
openfold/np/relax/utils.py:27
Functionpad_pdb_feats
(raw_feats, max_len)
data/utils.py:724
Methodparam_groups
Return param_groups.
ProteinMPNN/training/utils.py:101
Methodparam_groups
Return param_groups.
ProteinMPNN/training/model_utils.py:485
Functionparse
Entry point, parses an mmcif_string. Args: file_id: A string identifier for this file. Should be unique within the collection of fi
openfold/data/mmcif_parsing.py:176
Functionparse
Entry point, parses an mmcif_string. Args: file_id: A string identifier for this file. Should be unique within the collection of files be
data/mmcif_parsing.py:167
Functionparse_PDB_biounits
input: x = PDB filename atoms = atoms to extract (optional) output: (length, atoms, coords=(x,y,z)), sequence
ProteinMPNN/protein_mpnn_utils.py:62
Functionparse_a3m
Parses sequences and deletion matrix from a3m format alignment. Args: a3m_string: The string contents of a a3m file. The first sequence i
openfold/data/parsers.py:130
Functionparse_a3m
(filename)
data/utils.py:480
Functionparse_e_values_from_tblout
Parse target to e-value mapping parsed from Jackhmmer tblout string.
openfold/data/parsers.py:376
Functionparse_hhr
Parses the content of an entire HHR file.
openfold/data/parsers.py:356
Functionparse_pdb
(filename)
data/utils.py:172
Functionparse_pdb_feats
Args: pdb_name: name of PDB to parse. pdb_path: path to PDB file to read. scale_factor: factor to scale atom positions.
data/utils.py:222
Functionparse_pose
(pose, fixed_chain_list = [], ca_only=False)
ProteinMPNN/pyrosetta_utils.py:118
Functionparse_pose_with_ligand
(pose, name, lig_params=[], fixed_chain_list = [])
ProteinMPNN/pyrosetta_utils.py:151
Functionparse_protein_feats
( protein : Protein )
data/utils.py:215
Functionparse_stockholm
Parses sequences and deletion matrix from stockholm format alignment. Args: stockholm_string: The string contents of a stockholm file. Th
openfold/data/parsers.py:70
Methodpath_exists
(self)
data/so3_utils.py:716
Methodpdf_wrt_uniform
(self, R, t)
data/igso3.py:156
Functionpermute_final_dims
(tensor: torch.Tensor, inds: List[int])
model/layers.py:222
Functionplot_sample_grid
(samples, num_res, motif_bb_3d=None, true_bb_3d=None)
analysis/plotting.py:199
Functionplot_traces
Constructs
analysis/plotting.py:101
Functionplot_traces_and_layout
( fig_traces, layout )
analysis/plotting.py:120
Functionpose_to_string
(pose)
ProteinMPNN/pyrosetta_utils.py:324
Methodpredict_dataloader
(self)
openfold/data/data_modules.py:671
Methodprocess
Runs Amber relax on a prediction, adds hydrogens, returns PDB string.
openfold/np/relax/relax.py:59
Functionprocess_chain
Convert a PDB chain object into a AlphaFold Protein instance. Forked from alphafold.common.protein.from_pdb_string WARNING: All non-
data/parsers.py:11
Functionprocess_tensors_from_config
Based on the config, apply filters and transformations to the data.
openfold/data/input_pipeline.py:153
Functionprot_to_torsion_angles
Calculate torsion angle features from protein features.
data/all_atom.py:105
Functionprotein_metrics
( *, pdb_path, atom37_pos, gt_atom37_pos, atom_37_mask, diffus
analysis/metrics.py:215
Functionpts_to_distogram
(pts, min_bin=2.3125, max_bin=21.6875, no_bins=64)
openfold/utils/tensor_utils.py:37
Functionquat_to_rotmat
(quat, eps=1e-6)
data/utils.py:927
Methodquery
Queries the database using HHsearch using a given a3m.
openfold/data/tools/hhsearch.py:65
Methodquery
Queries the database using Jackhmmer.
openfold/data/tools/jackhmmer.py:183
Functionrandom_crop_to_size
Crop randomly to `crop_size`, or keep as is if shorter than that.
openfold/data/data_transforms.py:1114
Functionrandomly_replace_msa_with_unknown
Replace a portion of the MSA with 'X'.
openfold/data/data_transforms.py:164
Methodread_msa
(start, size)
openfold/data/data_pipeline.py:432
Functionread_pkl
Read data from a pickle file.
data/utils.py:152
Methodread_template
(start, size)
openfold/data/data_pipeline.py:487
← previousnext →901–1,000 of 1,071, ranked by callers