MCPcopy Create free account

hub / github.com/THUNLP-MT/MEAN / functions

Functions429 in github.com/THUNLP-MT/MEAN

↓ 47 callersFunctionprint_log
(s, level='INFO', end='\n', no_prefix=False)
utils/logger.py:26
↓ 33 callersMethodclose
evaluation/TMscore.cpp:1632
↓ 31 callersFunctionPrintErrorAndQuit
evaluation/TMscore.cpp:2462
↓ 26 callersMethodget_id
(self)
data/pdb_utils.py:185
↓ 19 callersMethodopen
evaluation/TMscore.cpp:1307
↓ 16 callersFunctionDeleteArray
evaluation/TMscore.cpp:2479
↓ 16 callersFunctionNewArray
evaluation/TMscore.cpp:2473
↓ 14 callersMethodsymbol_to_idx
(self, symbol)
data/pdb_utils.py:116
↓ 14 callersMethodwrite
evaluation/TMscore.cpp:2146
↓ 10 callersFunctionKabsch
Implemetation of Kabsch algoritm for finding the best rotation matrix --------------------------------------------------------------------------- x
evaluation/TMscore.cpp:3162
↓ 10 callersFunctiondo_rotation
evaluation/TMscore.cpp:3042
↓ 9 callersFunction_number_regions
General function to number a sequence and divide it into different regions @param sequence: The sequence string @param state_vecto
data/anarci/schemes.py:209
↓ 9 callersMethodget_heavy_chain
(self, interface_only=False)
data/pdb_utils.py:603
↓ 8 callersMethoddo_open
evaluation/TMscore.cpp:2305
↓ 8 callersMethodget_residue
(self, i)
data/pdb_utils.py:269
↓ 7 callersMethod_is_main_proc
(self)
trainer/abs_trainer.py:78
↓ 7 callersFunctiondist
evaluation/TMscore.cpp:3021
↓ 7 callersFunctiongap_missing
Place gaps when a number is missing. All except wolfguy are continuously numbered
data/anarci/schemes.py:1624
↓ 7 callersMethodget_coord_map
(self)
data/pdb_utils.py:171
↓ 7 callersMethodget_light_chain
(self, interface_only=False)
data/pdb_utils.py:613
↓ 7 callersMethodread
evaluation/TMscore.cpp:2169
↓ 7 callersMethodto_pdb
(self, path)
data/pdb_utils.py:369
↓ 7 callersFunctiontransform
evaluation/TMscore.cpp:3035
↓ 6 callersFunction_heads
Args: x: (..., num_heads * num_channels) Returns: (..., num_heads, num_channels)
evaluation/ddg/models/attention.py:27
↓ 6 callersMethodget_coord
(self, atom_name)
data/pdb_utils.py:168
↓ 6 callersMethodlog
(self, name, value, step, val=False)
trainer/abs_trainer.py:184
↓ 6 callersMethodread_err
evaluation/TMscore.cpp:1934
↓ 5 callersFunctionclose_fd_array
evaluation/TMscore.cpp:1372
↓ 5 callersFunctionget_cdr3_annotations
Given a length of a cdr3 give back a list of the annotations that should be applied to the sequence. This function should be depreciated
data/anarci/schemes.py:1642
↓ 5 callersMethodget_cdr_pos
(self, cdr='H3')
data/pdb_utils.py:640
↓ 5 callersMethodget_chain
(self, name)
data/pdb_utils.py:352
↓ 5 callersMethodget_seq
(self)
data/pdb_utils.py:258
↓ 5 callersMethodget_symbol
(self)
data/pdb_utils.py:165
↓ 5 callersMethodinfer
(self, batch, device)
models/MCAttGNN/mc_att_model.py:304
↓ 5 callersMethodinit_mask
set coordinates of masks following a unified distribution between the two ends
models/MCAttGNN/mc_att_model.py:169
↓ 5 callersMethodseq_loss
(self, _input, target)
models/MCAttGNN/mc_att_model.py:163
↓ 4 callersFunctionTMscore8_search
evaluation/TMscore.cpp:4277
↓ 4 callersMethodadd_positions
( self, positions, chain )
data/ImmunoPDB.py:1189
↓ 4 callersFunctionanarci
The main function for anarci. Identify antibody and TCR domains, number them and annotate their germline and species. It is advised to use
data/anarci/anarci.py:766
↓ 4 callersFunctionclose_fd
* @brief Helper function to close a file descriptor. * * Inspects @a fd and calls <b>close</b>(3) if it has a non-negative value. * *
evaluation/TMscore.cpp:1354
↓ 4 callersMethodfrom_pdb
(cls, pdb_path)
data/pdb_utils.py:317
↓ 4 callersMethodget_antigen_chains
(self, interface_only=False, cdr=None)
data/pdb_utils.py:623
↓ 4 callersMethodget_special_mask
(self)
data/pdb_utils.py:132
↓ 4 callersFunctionkabsch
(a, b)
evaluation/rmsd.py:55
↓ 4 callersFunctionnormalize_vector
(v, dim, eps=1e-6)
evaluation/ddg/models/common.py:53
↓ 4 callersFunctionparameter_set4final
evaluation/TMscore.cpp:3119
↓ 4 callersFunctionscore_fun8
1, collect those residues with dis<d; 2, calculate TMscore
evaluation/TMscore.cpp:4189
↓ 4 callersFunctionscore_fun8_standard
evaluation/TMscore.cpp:4232
↓ 4 callersFunctionset_cdr
(cplx, seq, x, cdr='H3')
generate.py:23
↓ 4 callersMethodset_regions
Set the regions to be used. Will clear anything added using add regions.
data/ImmunoPDB.py:1158
↓ 4 callersFunctionsetup_seed
(seed)
utils/random_seed.py:8
↓ 4 callersFunctionsplit
split a long string into vectors by whitespace * line - input string * line_vec - output vector * delimiter - delimiter */
evaluation/TMscore.cpp:2554
↓ 4 callersFunctionunsorted_segment_sum
:param data: [n_edge, *dimensions] :param segment_ids: [n_edge] :param num_segments: [bs * n_node]
models/MCAttGNN/mc_egnn.py:322
↓ 3 callersFunctionTMscore8_search_standard
evaluation/TMscore.cpp:4432
↓ 3 callersFunctionTrim
strip white space at the begining or end of string */
evaluation/TMscore.cpp:2575
↓ 3 callersMethod_load_part
(self)
data/dataset.py:98
↓ 3 callersMethodaccept
(self, position, chain)
data/ImmunoPDB.py:1199
↓ 3 callersMethodcollate_fn
(self, batch)
data/dataset.py:290
↓ 3 callersFunctiondot
evaluation/TMscore.cpp:3030
↓ 3 callersFunctionexec_mmseq
(cmd)
data/split.py:48
↓ 3 callersFunctionget_alignment_dict
Get a dictionary which tells you the index in sequence 2 that should align with the index in sequence 1 (key) ali1: ----bcde-f---
data/ImmunoPDB.py:687
↓ 3 callersMethodget_ca_pos
(self, i)
data/pdb_utils.py:272
↓ 3 callersFunctionget_imgt_cdr
Symmetrically number a CDR loop (e.g. CDRL1/CDRH2 for IMGT) @param length: Define the length of target CDR @param maxlength: Defin
data/anarci/schemes.py:441
↓ 3 callersMethodget_span
(self, i, j)
data/pdb_utils.py:261
↓ 3 callersMethodget_structure
Return the structure. Variable domains are annotated with the chosen numbering scheme. o Receptor chains are numbered with the desired number
data/ImmunoPDB.py:230
↓ 3 callersFunctionglobal_to_local
Description: Convert global (external) coordinates q to local (internal) coordinates p. p <- R^{T}(q - t) Args: R: (
evaluation/ddg/models/common.py:115
↓ 3 callersFunctionlocal_to_global
Description: Convert local (internal) coordinates to global (external) coordinates q. q <- Rp + t Args: R: (N, L, 3,
evaluation/ddg/models/common.py:93
↓ 3 callersMethodto_bio
(self)
data/pdb_utils.py:222
↓ 3 callersMethodto_device
(cls, data, device)
trainer/abs_trainer.py:67
↓ 3 callersMethodtrain
(self, device_ids, local_rank)
trainer/abs_trainer.py:151
↓ 3 callersFunctionurl_get
(url, tries=3)
utils/network.py:8
↓ 2 callersFunctionAAmap
evaluation/TMscore.cpp:2487
↓ 2 callersMethod__init__
(self, input_nf, output_nf, hidden_nf, n_channel, edges_in_d=0, act_fn=nn.SiLU(), residual=Tr
models/MCAttGNN/mc_egnn.py:23
↓ 2 callersMethod__init__
(self, embed_size, hidden_size, n_channel, n_edge_feats=0, n_layers=3, cdr_type='3', alpha=0.
models/MCAttGNN/mc_att_model.py:142
↓ 2 callersMethod__init__
(self, feat_dim)
evaluation/ddg/models/predictor.py:63
↓ 2 callersFunction_alpha_from_logits
Args: logits: Logit matrices, (N, L_i, L_j, num_heads). mask: Masks, (N, L). Returns: alpha: Attention weights.
evaluation/ddg/models/attention.py:9
↓ 2 callersMethod_get_pad_value
(self, key)
evaluation/ddg/utils/data.py:51
↓ 2 callersMethod_node_aggregation
(self, alpha, x)
evaluation/ddg/models/attention.py:128
↓ 2 callersMethod_node_logits
(self, x)
evaluation/ddg/models/attention.py:81
↓ 2 callersMethod_pair_aggregation
(self, alpha, z)
evaluation/ddg/models/attention.py:122
↓ 2 callersMethod_pair_logits
(self, z)
evaluation/ddg/models/attention.py:94
↓ 2 callersFunction_radial_edges
(X, src_dst, cutoff)
models/MCAttGNN/mc_att_model.py:133
↓ 2 callersMethod_save_part
(self, save_dir, num_entry)
data/dataset.py:84
↓ 2 callersMethodabrv_to_symbol
(self, abrv)
data/pdb_utils.py:104
↓ 2 callersFunctionanarci_output
Outputs to open file If sequence_id is specified as an integer then only this sequence will be printed. Otherwise all sequences will be
data/anarci/anarci.py:165
↓ 2 callersFunctionclean_up_after_approx_TM
evaluation/TMscore.cpp:5781
↓ 2 callersFunctionconstruct_3d_basis
Args: center: (N, L, 3), usually the position of C_alpha. p1: (N, L, 3), usually the position of C. p2: (N, L, 3)
evaluation/ddg/models/common.py:68
↓ 2 callersFunctioncoord2radial
(edge_index, coord)
models/MCAttGNN/mc_egnn.py:313
↓ 2 callersMethodcoord_loss
(self, _input, target)
models/MCAttGNN/mc_att_model.py:166
↓ 2 callersFunctioncsv_output
Write numbered sequences to csv files. A csv file is written for each chain type. Kappa and Lambda chains are written to the same file
data/anarci/anarci.py:214
↓ 2 callersFunctiondetailed_search_standard
evaluation/TMscore.cpp:4585
↓ 2 callersMethodexclude_positions
( self, positions, chain )
data/ImmunoPDB.py:1194
↓ 2 callersFunctionfetch_from_pdb
(identifier, tries=5)
data/download.py:18
↓ 2 callersFunctionfile2chainlist
read list of entries from 'name' to 'chain_list'. * dir_opt is the folder name (prefix). * suffix_opt is the file name extension (suffix_opt). *
evaluation/TMscore.cpp:3056
↓ 2 callersFunctionfilter_flag
(items, code)
data/split.py:55
↓ 2 callersFunctionget_PDB_lines
evaluation/TMscore.cpp:2584
↓ 2 callersMethodget_cdr
(self, cdr='H3')
data/pdb_utils.py:647
↓ 2 callersMethodget_chain_names
(self)
data/pdb_utils.py:358
↓ 2 callersFunctionget_config
(ckpt)
ita_train.py:31
↓ 2 callersFunctionget_identity
Get the partially matched sequence identity between two aligned sequences. Partial in the sense that gaps can be in the state_sequence.
data/anarci/anarci.py:646
next →1–100 of 429, ranked by callers