MCPcopy Create free account

hub / github.com/KexinZhangResearch/PhysDock / functions

Functions573 in github.com/KexinZhangResearch/PhysDock

↓ 2 callersFunctionpair_and_merge
Runs processing on features to augment, pair and merge. Args: all_chain_features: A MutableMap of dictionaries of features for each chain. R
PhysDock/data/tools/feature_processing_multimer.py:52
↓ 2 callersMethodpair_and_merge
(self, all_chain_features, infer_meta_data)
PhysDock/data/feature_loader_plinder.py:738
↓ 2 callersFunctionparse_rna_from_input_fasta_path
(input_fasta_path)
PhysDock/data/tools/parse_msas.py:273
↓ 2 callersFunctionpredicted_tm_score
Computes predicted TM alignment or predicted interface TM alignment score. Args: logits: [num_res, num_res, num_bins] the logits output from
PhysDock/data/tools/get_metrics.py:79
↓ 2 callersFunctionreduce_edge_list
(l)
PhysDock/utils/tensor_utils.py:317
↓ 2 callersFunctionrelax
(receptor_pdb, ligand_mol_sdf)
PhysDock/data/relaxation.py:243
↓ 2 callersMethodsample_diffusion
( self, batch: TensorDict, num_sample: int = 5, steps: int = 2
PhysDock/models/model.py:157
↓ 2 callersMethodtransform
(self, raw_feats)
PhysDock/data/feature_loader_plinder.py:1072
↓ 2 callersFunctiontrunc_normal_init_
(weights, scale=1.0, fan="fan_in")
PhysDock/models/primitives/linear.py:33
↓ 2 callersFunctionupper
()
PhysDock/utils/tensor_utils.py:355
↓ 1 callersMethod__init__
Database Versions: Training: uniref90: v2022_05 bfd: reduces_bfd:
PhysDock/data/alignment_runner.py:361
↓ 1 callersMethod__init__
(self, dim: int, eps: float)
PhysDock/models/primitives/transitions.py:10
↓ 1 callersMethod__mul__
Pointwise left multiplication of the rotation with a tensor. Can be used to e.g. mask the Rotation. Args:
PhysDock/utils/rigid_utils.py:394
↓ 1 callersMethod__mul__
Pointwise left multiplication of the transformation with a tensor. Can be used to e.g. mask the Rigid. Args:
PhysDock/utils/rigid_utils.py:923
↓ 1 callersMethod_add_assembly_feature
(self, all_chain_features, SEQ3, ASYM_ID)
PhysDock/data/feature_loader.py:360
↓ 1 callersFunction_assess_hhsearch_hit
Determines if template is valid (without parsing the template mmcif file). Args: hit: HhrHit for the template. hit_pdb_code: The
PhysDock/data/tools/templates.py:286
↓ 1 callersFunction_build_query_to_hit_index_mapping
Gets mapping from indices in original query sequence to indices in the hit. hit_query_sequence and hit_sequence are two aligned sequences contain
PhysDock/data/tools/templates.py:774
↓ 1 callersFunction_calculate_expected_aligned_error
Calculates expected aligned distance errors for every pair of residues. Args: alignment_confidence_breaks: [num_bins - 1] the error bin edges.
PhysDock/data/tools/get_metrics.py:41
↓ 1 callersFunction_calculate_fan
(linear_weight_shape, fan="fan_in")
PhysDock/models/primitives/linear.py:18
↓ 1 callersFunction_check_ref_mol_chirality
(chiral_centers, PDB_BLOCK)
screening.py:274
↓ 1 callersFunction_check_ref_mol_chirality
(chiral_centers, PDB_BLOCK)
redocking.py:264
↓ 1 callersFunction_check_residue_distances
Checks if the distance between unmasked neighbor residues is ok.
PhysDock/data/tools/templates.py:571
↓ 1 callersFunction_concatenate_paired_and_unpaired_features
Merges paired and block-diagonalised features.
PhysDock/data/tools/msa_pairing.py:413
↓ 1 callersFunction_convert_sto_seq_to_a3m
( query_non_gaps: Sequence[bool], sto_seq: str )
PhysDock/data/tools/parsers.py:266
↓ 1 callersFunction_correct_post_merged_feats
Adds features that need to be computed/recomputed post merging.
PhysDock/data/tools/msa_pairing.py:297
↓ 1 callersFunction_create_species_dict
Creates mapping from species to msa dataframe of that species.
PhysDock/data/tools/msa_pairing.py:163
↓ 1 callersMethod_crop_all_chain_features
(self, all_chain_features, infer_meta_data, crop_centre=None)
PhysDock/data/feature_loader.py:389
↓ 1 callersFunction_crop_single_chain
Crops msa sequences to `msa_crop_size`.
PhysDock/data/tools/feature_processing_multimer.py:173
↓ 1 callersFunction_csum
(ll)
PhysDock/utils/io_utils.py:79
↓ 1 callersFunction_extract_sequence_identifier
Extracts sequence identifier from description. Returns None if no match.
PhysDock/data/tools/msa_identifiers.py:75
↓ 1 callersFunction_fetch_dims
(tree)
PhysDock/utils/tensor_utils.py:151
↓ 1 callersFunction_find_template_in_pdb
Tries to find the template chain in the given pdb file. This method tries the three following things in order: 1. Tries if there is an ex
PhysDock/data/tools/templates.py:358
↓ 1 callersFunction_get_atom_positions
Gets atom positions and mask from a list of Biopython Residues.
PhysDock/data/tools/templates.py:595
↓ 1 callersFunction_get_atom_site_list
Returns list of atom sites; contains data not present in the structure.
PhysDock/data/tools/mmcif_parsing.py:376
↓ 1 callersFunction_get_first_model
Returns the first model in a Biopython structure.
PhysDock/data/tools/mmcif_parsing.py:326
↓ 1 callersFunction_get_header
Returns a basic header containing method, release date and resolution.
PhysDock/data/tools/mmcif_parsing.py:340
↓ 1 callersFunction_get_protein_chains
Extracts polymer information for protein chains only. Args: parsed_info: _mmcif_dict produced by the Biopython parser. Returns:
PhysDock/data/tools/mmcif_parsing.py:393
↓ 1 callersFunction_get_ref_feat_from_ccd_data
(ccd, ref_feat_table)
PhysDock/data/tools/residue_constants.py:590
↓ 1 callersFunction_get_ref_feat_from_ccd_data
(ccd, ref_feat_table)
PhysDock/data/constants/residue_constants.py:548
↓ 1 callersFunction_get_ref_mol_poses
(ref_mol, num_confs=128)
redocking.py:241
↓ 1 callersFunction_is_after_cutoff
Checks if the template date is after the release date cutoff. Args: pdb_id: 4 letter pdb code. release_dates: Dictionary mapping
PhysDock/data/tools/templates.py:186
↓ 1 callersFunction_is_homomer_or_monomer
Checks if a list of chains represents a homomer/monomer example.
PhysDock/data/tools/feature_processing_multimer.py:40
↓ 1 callersFunction_is_set
Returns False if data is a special mmCIF character indicating 'unset'.
PhysDock/data/tools/mmcif_parsing.py:447
↓ 1 callersMethod_make_ccd_features
(self, raw_feats, infer_meta_data)
PhysDock/data/feature_loader.py:545
↓ 1 callersMethod_make_ccd_features
(self, raw_feats, infer_meta_data)
PhysDock/data/feature_loader_plinder.py:650
↓ 1 callersFunction_make_msa_df
Makes dataframe with msa features needed for msa pairing.
PhysDock/data/tools/msa_pairing.py:143
↓ 1 callersMethod_make_pocket_features
(self, all_chain_features)
PhysDock/data/feature_loader_plinder.py:598
↓ 1 callersMethod_make_token_bonds
(self, tensors)
PhysDock/data/feature_loader.py:853
↓ 1 callersMethod_make_token_bonds
(self, tensors)
PhysDock/data/feature_loader_plinder.py:936
↓ 1 callersFunction_match_rows_by_sequence_similarity
Finds MSA sequence pairings across chains based on sequence similarity. Each chain's MSA sequences are first sorted by their sequence similarity to
PhysDock/data/tools/msa_pairing.py:171
↓ 1 callersFunction_merge_homomers_dense_msa
Merge all identical chains, making the resulting MSA dense. Args: chains: An iterable of features for each chain. Returns: A list of fea
PhysDock/data/tools/msa_pairing.py:384
↓ 1 callersFunction_new_target
(k)
PhysDock/data/tools/templates.py:220
↓ 1 callersMethod_norm
(self, x: torch.Tensor)
PhysDock/models/primitives/rms_norm.py:14
↓ 1 callersFunction_pad_templates
For each chain pad the number of templates to a fixed size. Args: chains: A list of protein chains. max_templates: Each chain will be padde
PhysDock/data/tools/msa_pairing.py:315
↓ 1 callersMethod_pad_to_size
(self, tensors)
PhysDock/data/feature_loader.py:913
↓ 1 callersMethod_pad_to_size
(self, tensors)
PhysDock/data/feature_loader_plinder.py:997
↓ 1 callersFunction_parse_hhr_hit
Parses the detailed HMM HMM comparison section for a single Hit. This works on .hhr files generated from both HHBlits and HHSearch. Args:
PhysDock/data/tools/parsers.py:477
↓ 1 callersFunction_parse_hmmsearch_description
Parses the hmmsearch A3M sequence description line.
PhysDock/data/tools/parsers.py:646
↓ 1 callersFunction_parse_obsolete
Parses the data file from PDB that lists which PDB ids are obsolete.
PhysDock/data/tools/templates.py:232
↓ 1 callersFunction_parse_release_dates
Parses release dates file, returns a mapping from PDBs to release dates.
PhysDock/data/tools/templates.py:273
↓ 1 callersFunction_parse_sequence_identifier
Gets accession id and species from an msa sequence identifier. The sequence identifier has the format specified by _UNIPROT_TREMBL_ENTRY_NAME
PhysDock/data/tools/msa_identifiers.py:55
↓ 1 callersFunction_prod
(nums)
PhysDock/models/primitives/linear.py:11
↓ 1 callersFunction_read_file
(path)
PhysDock/data/tools/templates.py:886
↓ 1 callersFunction_realign_pdb_template_to_query
Aligns template from the mmcif_object to the query. In case PDB70 contains a different version of the template sequence, we need to perform a
PhysDock/data/tools/templates.py:432
↓ 1 callersFunction_replace_obsolete_references
Generates a new obsolete by tracing all cross-references and store the latest leaf to all referencing nodes
PhysDock/data/tools/templates.py:215
↓ 1 callersMethod_spatial_crop_v2
(self, all_chain_features, infer_meta_data)
PhysDock/data/feature_loader_plinder.py:346
↓ 1 callersFunction_to_a3m
Converts sequences to an a3m file.
PhysDock/data/tools/kalign.py:25
↓ 1 callersMethod_update_CONF_META_DATA
(self, CONF_META_DATA, ccds)
PhysDock/data/feature_loader.py:138
↓ 1 callersMethod_update_CONF_META_DATA
(self, CONF_META_DATA, ccds)
PhysDock/data/feature_loader_plinder.py:74
↓ 1 callersMethod_update_CONF_META_DATA_ligand
(self, CONF_META_DATA, sequence_3, ccd_features)
PhysDock/data/feature_loader_plinder.py:124
↓ 1 callersMethod_update_chain_feature
(self, chain_feature, CONF_META_DATA, use_pocket, use_key_res, )
PhysDock/data/feature_loader.py:178
↓ 1 callersMethod_update_smi
(self, smi, all_chain_labels, CONF_META_DATA)
PhysDock/data/feature_loader.py:314
↓ 1 callersFunctionadd_restraints
Function to add restraints to specified group of atoms Code adapted from https://gist.github.com/peastman/ad8cda653242d731d75e18c836b2a3a5
PhysDock/data/relaxation.py:132
↓ 1 callersMethodalign
Aligns the sequences and returns the alignment in A3M string. Args: sequences: A list of query sequence strings. The sequences have
PhysDock/data/tools/kalign.py:49
↓ 1 callersMethodapply_rot_fn
Applies a Rotation -> Rotation function to the stored rotation object. Args: fn: A function of t
PhysDock/utils/rigid_utils.py:1263
↓ 1 callersMethodapply_trans_fn
Applies a Tensor -> Tensor function to the stored translation. Args: fn: A function of
PhysDock/utils/rigid_utils.py:1275
↓ 1 callersFunctionassign
(d1, d2)
PhysDock/utils/tensor_utils.py:260
↓ 1 callersMethodaugmentation_diffuse
(self, batch: TensorDict)
PhysDock/models/model.py:87
↓ 1 callersFunctionbase_architecture
(args)
tasks/unicore_train/__init__.py:150
↓ 1 callersFunctionbond_loss
Args: x_denoised: predicted atom positions, torch.Tensor, [..., num_samples, num_atoms, 3] x_gt: ground truth atom positions, tor
PhysDock/models/loss.py:245
↓ 1 callersFunctionbond_loss
Args: x_denoised: predicted atom positions, torch.Tensor, [..., num_samples, num_atoms, 3] x_gt: ground truth atom positions, tor
PhysDock/models/loss_module2.py:316
↓ 1 callersFunctionbond_loss
Args: x_denoised: predicted atom positions, torch.Tensor, [..., num_samples, num_atoms, 3] x_gt: ground truth atom positions, tor
PhysDock/models/loss_module3.py:302
↓ 1 callersFunctionbond_loss
Args: x_denoised: predicted atom positions, torch.Tensor, [..., num_samples, num_atoms, 3] x_gt: ground truth atom positions, tor
PhysDock/models/loss_module.py:312
↓ 1 callersMethodbuild_profile_from_sto
Builds a HHM for the aligned sequences given as an A3M string. Args: sto: A string with the aligned sequences in the Stockholm form
PhysDock/data/tools/hmmbuild.py:45
↓ 1 callersMethodbuild_rna_profile_from_fasta
(self, fasta: str)
PhysDock/data/tools/hmmbuild.py:139
↓ 1 callersFunctioncal_lddt
Args: x_pred: predicted atom positions, torch.Tensor, [..., num_atoms, 3] x_gt: ground truth atom positions, torch.Tensor, [...,
PhysDock/models/loss.py:320
↓ 1 callersFunctioncal_lddt
Args: x_pred: predicted atom positions, torch.Tensor, [..., num_atoms, 3] x_gt: ground truth atom positions, torch.Tensor, [...,
PhysDock/models/loss_module2.py:392
↓ 1 callersFunctioncal_lddt
Args: x_pred: predicted atom positions, torch.Tensor, [..., num_atoms, 3] x_gt: ground truth atom positions, torch.Tensor, [...,
PhysDock/models/loss_module3.py:344
↓ 1 callersFunctioncal_lddt
Args: x_pred: predicted atom positions, torch.Tensor, [..., num_atoms, 3] x_gt: ground truth atom positions, torch.Tensor, [...,
PhysDock/models/loss_module.py:388
↓ 1 callersFunctionchunk_lists
(l, num_workers: int)
PhysDock/utils/io_utils.py:75
↓ 1 callersMethodcompose_r
Compose the rotation matrices of the current Rotation object with those of another. Args: r:
PhysDock/utils/rigid_utils.py:578
↓ 1 callersFunctioncompute_plddt
Computes per-residue pLDDT from logits. Args: logits: [num_res, num_bins] output from the PredictedLDDTHead. Returns: plddt: [num_res] p
PhysDock/data/tools/get_metrics.py:63
↓ 1 callersFunctioncompute_predicted_aligned_error
Computes aligned confidence metrics from logits. Args: logits: [num_res, num_res, num_bins] the logits output from PredictedAlignedErrorH
PhysDock/data/tools/get_metrics.py:139
↓ 1 callersFunctionconvert_stockholm_to_a3m
Converts MSA in Stockholm format to the A3M format.
PhysDock/data/tools/parsers.py:276
↓ 1 callersMethodcrop_all_chain_features
(self, all_chain_features, infer_meta_data)
PhysDock/data/feature_loader_plinder.py:593
↓ 1 callersFunctioncrop_chains
Crops the MSAs for a set of chains. Args: chains_list: A list of chains to be cropped. msa_crop_size: The total number of sequences to crop
PhysDock/data/tools/feature_processing_multimer.py:121
↓ 1 callersFunctioncross_entropy_loss
Args: logits: logits, torch.Tensor, [..., num_classes] labels: labels, torch.Tensor, [...]
PhysDock/models/loss.py:8
↓ 1 callersFunctioncross_entropy_loss
Args: logits: logits, torch.Tensor, [..., num_classes] labels: labels, torch.Tensor, [...]
PhysDock/models/loss_module2.py:8
↓ 1 callersFunctioncross_entropy_loss
Args: logits: logits, torch.Tensor, [..., num_classes] labels: labels, torch.Tensor, [...]
PhysDock/models/loss_module3.py:8
↓ 1 callersFunctioncross_entropy_loss
Args: logits: logits, torch.Tensor, [..., num_classes] labels: labels, torch.Tensor, [...]
PhysDock/models/loss_module.py:8
← previousnext →101–200 of 573, ranked by callers