MCPcopy Create free account

hub / github.com/aqlaboratory/rgn2 / functions

Functions355 in github.com/aqlaboratory/rgn2

↓ 1 callersFunctioncreate_softmax_output
(bert_config, sequence_output, embedding_table)
aminobert/run_finetuning_and_prediction.py:137
↓ 1 callersFunctioncreate_tf_records
(infile, outfile)
data_processing/aminobert_postprocessing.py:115
↓ 1 callersFunctioncreate_training_instances
Create `TrainingInstance`s from raw amino acid sequences.
aminobert/training_data_processing.py:115
↓ 1 callersFunctioncum_quantile_positions
Computes cumulative quantiles from curriculum weights.
rgn/utils.py:48
↓ 1 callersFunctioncurriculum_weights
Returns a tensor of weights that correspond to the current curriculum, as parametrized by base and slope. Args: base: Value of the base
rgn/net_ops.py:144
↓ 1 callersFunctiondict_import
Imports configuration dictionary from disk
rgn/config.py:12
↓ 1 callersFunctiondict_to_tfrecord
Convert protein dict into TFRecord.
data_processing/convert_to_tfrecord.py:68
↓ 1 callersFunctiondihedral_to_point
Takes triplets of dihedral angles (phi, psi, omega) and returns 3D points ready for use in reconstruction of coordinates. Bond lengths and an
rgn/geom_ops.py:132
↓ 1 callersFunctiondrmsd
Computes the dRMSD of two tensors of vectors. Vectors are assumed to be in the third dimension. Op is done element-wise over batch. Arg
rgn/geom_ops.py:418
↓ 1 callersFunctionembedding_lookup
Looks up words embeddings for id tensor. Args: input_ids: int32 Tensor of shape [batch_size, seq_length] containing word ids.
aminobert/modeling.py:385
↓ 1 callersFunctionembedding_postprocessor
Performs various post-processing on a word embedding tensor. Args: input_tensor: float Tensor of shape [batch_size, seq_length, emb
aminobert/modeling.py:434
↓ 1 callersFunctionempty_placeholder_template_features
Make a set of empty features for no-template evalurations
ter2pdb/run_af2rank.py:55
↓ 1 callersFunctionevaluate_and_log
(log_file, configs, models, session)
rgn/protling_special.py:46
↓ 1 callersFunctionevaluate_and_log
(log_file, configs, models, session)
rgn/protling.py:46
↓ 1 callersFunctionextend
Function used to add C-Beta to glycine resides input: 3 coords (a,b,c), (L)ength, (A)ngle, and (D)ihedral output: 4th coord
ter2pdb/run_af2rank.py:122
↓ 1 callersFunctionfasta_read
(fasta_file)
aminobert/prediction.py:65
↓ 1 callersFunctionfile_manipulation
(data_dir)
data_processing/aminobert_postprocessing.py:15
↓ 1 callersMethodfrom_dict
Constructs a `BertConfig` from a Python dictionary of parameters.
aminobert/modeling.py:82
↓ 1 callersFunctiongather_indexes
Gathers the vectors at the specific positions over a minibatch.
aminobert/run_pretraining.py:540
↓ 1 callersFunctiongather_indexes
Gathers the vectors at the specific positions over a minibatch.
aminobert/training.py:239
↓ 1 callersFunctiongenerate_clumped_mask
(maskable_indices, clump_mu, rng)
aminobert/training_data_processing_utils.py:350
↓ 1 callersFunctiongenerate_input_features_from_seq_list
(seqs, labels, tokenizer, pad_to=None, return_as_np_array=False)
aminobert/run_finetuning_and_prediction.py:16
↓ 1 callersFunctiongenerate_protein_vocabulary
(k, alphabet=AMINO_ACID_ALPHABET_STANDARD_ORDER, output_file=None, return_as_dict=True)
aminobert/tokenization.py:118
↓ 1 callersFunctiongenerate_tf_record_parse_feature_dict
(max_seq_length, max_predictions_per_seq)
aminobert/training_data_processing_utils.py:18
↓ 1 callersFunctiongenerate_tpu_run_config
(tpu_params)
aminobert/training.py:351
↓ 1 callersFunctionget_activation
Maps a string to a Python function, e.g., "relu" => `tf.nn.relu`. Args: activation_string: String name of the activation function. Ret
aminobert/modeling.py:285
↓ 1 callersFunctionget_args
(argv)
ter2pdb/run_af2rank.py:219
↓ 1 callersMethodget_dev_examples
Gets a collection of `InputExample`s for the dev set.
aminobert/run_classifier.py:184
↓ 1 callersFunctionget_global_is_chimeric_output
Calculates is chimeric loss Similar implementation to get_global_is_chunk_permuted_output.
aminobert/run_pretraining.py:415
↓ 1 callersFunctionget_global_is_chunk_permuted_output
Calculates chunk permutation loss Similar implementation to get_global_is_chimeric_output.
aminobert/run_pretraining.py:364
↓ 1 callersFunctionget_global_perturbation_output
Calculates global perturbation loss.
aminobert/run_pretraining.py:345
↓ 1 callersMethodget_labels
Gets the list of labels for this data set.
aminobert/run_classifier.py:192
↓ 1 callersFunctionget_masked_lm_output
Get loss and log probs for the masked LM.
aminobert/run_pretraining.py:469
↓ 1 callersFunctionget_masked_lm_output
Get loss and log probs for the masked LM.
aminobert/training.py:170
↓ 1 callersFunctionget_next_sentence_output
Get loss and log probs for the next sentence prediction.
aminobert/training.py:216
↓ 1 callersMethodget_test_examples
Gets a collection of `InputExample`s for prediction.
aminobert/run_classifier.py:188
↓ 1 callersMethodget_train_examples
Gets a collection of `InputExample`s for the train set.
aminobert/run_classifier.py:180
↓ 1 callersFunctionget_var_ops
Returns handles to ops (values) of variables by name that can be evaluated by sess.run() Args: vars_: list of strings containin
rgn/tests.py:89
↓ 1 callersFunctionid_filter
Returns a boolean mask corresponding to the chosen id filter from a list of ids
rgn/net_ops.py:204
↓ 1 callersFunctionlayer_norm_and_dropout
Runs layer normalization followed by dropout.
aminobert/modeling.py:373
↓ 1 callersFunctionletter_to_num
convert string of letters to list of ints
data_processing/aminobert_postprocessing.py:76
↓ 1 callersFunctionloop
(args)
rgn/protling_special.py:185
↓ 1 callersFunctionloop
(args)
rgn/protling.py:185
↓ 1 callersFunctionmake_model_runner
Create an AlphaFold model runner name -- The name of the model to get the parameters from. Options: model_[1-5]
ter2pdb/run_af2rank.py:37
↓ 1 callersFunctionmake_processed_feature_dict
Create a feature dictionary for input to AlphaFold runner - The model runner being invoked. Returned from `make_model_runner` sequence -
ter2pdb/run_af2rank.py:75
↓ 1 callersFunctionmasking_matrix
Constructs a masking matrix to zero out pairwise distances due to missing residues or padding. This function needs to be called for each in
rgn/net_ops.py:33
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
aminobert/run_finetuning_and_prediction.py:321
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
aminobert/run_pretraining.py:187
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
aminobert/run_classifier.py:626
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
aminobert/training.py:26
↓ 1 callersFunctionparse_fastas
(data_dir, prepend_m)
aminobert/prediction.py:75
↓ 1 callersFunctionparse_results
Package AlphFold's output into an easy-to-use dictionary prediction_result - output from running AlphaFold on an input dictionary process
ter2pdb/run_af2rank.py:100
↓ 1 callersFunctionpdb_to_string
Read in a PDB file from a path
ter2pdb/run_af2rank.py:24
↓ 1 callersFunctionpick_indices_to_mask
(maskable_indices, num_to_mask, clump_prob, clump_mu, rng)
aminobert/training_data_processing_utils.py:377
↓ 1 callersFunctionpoint_to_coordinate
Takes points from dihedral_to_point and sequentially converts them into the coordinates of a 3D structure. Reconstruction is done in paralle
rgn/geom_ops.py:163
↓ 1 callersFunctionproteinnet_to_dict
(infile)
data_processing/aminobert_postprocessing.py:84
↓ 1 callersFunctionread_protein
Reads and parses a protein TF Record. Primary sequences are mapped onto 20-dimensional one-hot vectors. Evolutionary sequences are
rgn/net_ops.py:81
↓ 1 callersFunctionread_record
Read a Mathematica protein record from file and convert into dict.
data_processing/convert_to_tfrecord.py:35
↓ 1 callersFunctionread_tokenize_and_shuffle_sequences_from_input_files
( input_files, tokenizer, min_seq_length=0, max_seq_length=1e10, rng=random.Random(1))
aminobert/training_data_processing.py:171
↓ 1 callersFunctionreduce_mean_angle
Computes the weighted mean of angles. Accepts option to compute use complex exponentials or real numbers. Complex number-based version is gi
rgn/geom_ops.py:55
↓ 1 callersFunctionrefine
(output_dir=None, seq_id=None, timeout=None)
ter2pdb/ter2pdb.py:66
↓ 1 callersFunctionrun_af2rank
(args_list)
ter2pdb/run_af2rank.py:244
↓ 1 callersFunctionrun_ca_to_allatom
(seq_path, ter_path, output_dir=None, seq_id=None)
ter2pdb/ter2pdb.py:118
↓ 1 callersFunctionrun_model
( input_seqs, labels, max_seq_length, tokenizer, bert_config_file, output_dir,
aminobert/run_finetuning_and_prediction.py:483
↓ 1 callersFunctionrun_prediction
(seqs, qfunc, checkpoint_file, wt_log_prob_mat=None, return_seq_log_probs=True, return_seq_
aminobert/prediction.py:21
↓ 1 callersFunctionscore_decoy
Ingest a decoy protein, pass it to AlphaFold as a template, and extract the parsed output target_seq -- the sequence to be predicted deco
ter2pdb/run_af2rank.py:136
↓ 1 callersMethodsetUp
(self)
rgn/tests.py:134
↓ 1 callersFunctionsetup_input_output
(input_file, output_dir)
aminobert/training.py:336
↓ 1 callersFunctionsimple_dynamic_rotation_translation_to_coordinate
Takes torsion_and_curvature_to_rotation_translation and sequentially converts them into the coordinates of a 3D structure. This version
rgn/geom_ops.py:375
↓ 1 callersMethodtearDown
(self)
rgn/tests.py:138
↓ 1 callersFunctiontf_broadcast_matmul
Performs tensor multiplication, broadcasting over the outer dimension of A. Args: Aijk = A 3D tensor with shape [i,j,k]
aminobert/run_finetuning_and_prediction.py:112
↓ 1 callersMethodto_dict
Serializes this instance to a Python dictionary.
aminobert/modeling.py:96
↓ 1 callersFunctiontokenize_amino_acid_sequence
(seq, vocab, k=3, token_to_replace_with_mask=None)
aminobert/tokenization.py:48
↓ 1 callersFunctiontorsion_and_curvature_to_rotation_translation
Takes torsion and curvature angles (psi $equiv$ x and theta $equiv$ y) and returns a rotation and translation matrix (based on Niemi et al. 2011). Ea
rgn/geom_ops.py:255
↓ 1 callersFunctiontransformer_model
Multi-headed, multi-layer Transformer from "Attention is All You Need". This is almost an exact implementation of the original Transformer encode
aminobert/modeling.py:761
↓ 1 callersFunctionweighting_matrix
Takes a vector of weights and returns a weighting matrix in which the ith weight is in the ith upper diagonal of the matrix. All other entri
rgn/net_ops.py:165
↓ 1 callersFunctionwrite_instances_to_tf_example_files
Create TF example files from `TrainingInstance`s. Adapted from https://github.com/google- research/bert/blob/master/create_pretraining_data.py
aminobert/training_data_processing.py:291
↓ 1 callersMethodyield_fragment
(self, fragment_size)
aminobert/training_data_processing_utils.py:200
↓ 1 callersFunctionzero_column_zero
(A)
aminobert/run_finetuning_and_prediction.py:178
Method__call__
Run the cell with the declared zoneouts.
rgn/rnn_cell_extended.py:76
Method__init__
(self, k=3, token_to_replace_with_mask=None)
aminobert/tokenization.py:215
Method__init__
Constructs a InputExample. Args: guid: Unique id for the example. text_a: string. The untokenized text of the first seque
aminobert/run_classifier.py:131
Method__init__
(self, input_ids, input_mask, segment_ids,
aminobert/run_classifier.py:164
Method__init__
(self)
aminobert/run_classifier.py:210
Method__init__
Constructs a AdamWeightDecayOptimizer.
aminobert/optimization.py:113
Method__init__
(self, tokens, segment_ids, masked_lm_positions, masked_lm_labels, is_global_pert_candidate,
aminobert/training_data_processing_utils.py:63
Method__init__
(self, seq_file)
aminobert/training_data_processing_utils.py:195
Method__init__
Constructs BertConfig. Args: vocab_size: Vocabulary size of `inputs_ids` in `BertModel`. hidden_size: Size of the encoder
aminobert/modeling.py:33
Method__init__
Constructor for BertModel. Args: config: `BertConfig` instance. is_training: bool. true for training model, false for eva
aminobert/modeling.py:130
Method__init__
Loads configuration from disk and calls concrete method to assign values to local attributes
rgn/config.py:26
Method__init__
Create a cell with hidden state and memory zoneout. If this class is used to wrap a Dropout cell, then it will override the output Dropout b
rgn/rnn_cell_extended.py:20
Method__init__
Sets up type of instance object and invokes TF graph creation function.
rgn/geomnet_model.py:46
Method__init__
(self, value)
rgn/utils.py:8
Method__iter__
Return the match method once, then stop
rgn/utils.py:12
Method__repr__
(self)
aminobert/training_data_processing_utils.py:89
Method_create_config
(self, config)
rgn/config.py:49
Method_create_config
(self, config)
rgn/config.py:205
Method_current_step
Returns the current global step.
rgn/geomnet_model.py:548
Method_diagnose
Compute and return diagnostic measurements like weight norms and curriculum quantiles.
rgn/geomnet_model.py:412
Method_evaluate
Evaluates loss(es) and returns dicts with the relevant loss(es).
rgn/geomnet_model.py:356
← previousnext →101–200 of 355, ranked by callers