jade.antibody package¶
Subpackages¶
jade.antibody.CDRClusterer module¶
-
class
jade.antibody.CDRClusterer.
CDRClusterer
(bio_pose)[source]¶ A simple class for calculating a CDRs cluster from dihedrals or a renumbered pose.
-
get_fullcluster
(cdr_name, chain=None, region=None)[source]¶ IF DIHEDRALS is SET - AKA from before using the same class - WILL USE THE SAME DIHEDRALS AS BEFORE Rewritten from C++ code. Identifies the cluster of a known cdr type given either custom dihedrals or dihedrals calculated from a pose. Returns a pair or [cdr_cluster, distance] region is [int start, int end, chain] - This way you can cluster without renumbering if you want.
Return type: list[str, float]
-
set_custom_dihedrals
(dihedrals)[source]¶ Dihedrals is a dict: [‘phi’]=[x, y, z]; [‘psi’] = [x, y, z]; [‘omega’] = [x, y, z (degrees)]
-
jade.antibody.ClusterData module¶
-
class
jade.antibody.ClusterData.
CDRData
(ab_db, cdr_dir, limit_to_known=True)[source]¶ Bases:
jade.antibody.ClusterData.Data
-
get_cluster_data
(cdr_name, length, cluster)[source]¶ Parameters: - cdr_name – string
- length – int
- cluster – string
Returns: CDRClusterData
-
jade.antibody.ab_db module¶
-
jade.antibody.ab_db.
get_all_clusters_for_length
(db, cdr, length, limit_to_known=True, res_cutoff=2.8, rfac_cutoff=0.3)[source]¶ Get all unique clusters for a length and a cdr
-
jade.antibody.ab_db.
get_all_lengths
(db, cdr, limit_to_known=True, res_cutoff=2.8, rfac_cutoff=0.3)[source]¶ Get all unique lengths for a CDR
-
jade.antibody.ab_db.
get_cdr_rmsd_for_entry
(db, pdb, original_chain, cdr, length, fullcluster)[source]¶
-
jade.antibody.ab_db.
get_center_dih_degrees_for_cluster_and_length
(db, cdr, length, cluster)[source]¶ Returns a dictionary of center dihedral angles in positional order. Or returns False if not found. result[“phis’] = [phis as floats] result[“psis”] = [Psis as floats] result[“omegas”] = [Omegas as floats]
-
jade.antibody.ab_db.
get_center_for_cluster_and_length
(db, cdr, length, cluster, data_names_array)[source]¶ Get the center for a particular cluster and length
-
jade.antibody.ab_db.
get_data_for_cluster_and_length
(db, cdr, length, cluster, data_names_array, limit_to_known=True, res_cutoff=2.8, rfac_cutoff=0.3)[source]¶ Get a set of data of a particular length, cdr, and cluster. data_names_array is a list of the types of data. Can include DISTINCT keyword
Example: data_names_array = [“PDB”, “original_chain”, “new_chain”, “sequence”]
-
jade.antibody.ab_db.
get_dihedral_string_for_centers
(db, limit_to_known=True)[source]¶ Get a string of the dihedral angles for all centers
-
jade.antibody.ab_db.
get_pdb_chain_subset
(db, gene, use_cutoffs=False, res_cutoff=2.8, rfac_cutoff=0.3)[source]¶ Return a list of tuples of [pdb, chain] of the particular gene
jade.antibody.outliers module¶
jade.antibody.split_structure module¶
-
jade.antibody.split_structure.
run_split_proto_CDR4
(ab_dir, output_dir, overhang=0, skip_present=False)[source]¶
-
jade.antibody.split_structure.
run_split_proto_CDR4_by_gene
(db, ab_dir, output_dir, overhang=0, skip_present=False, res_cutoff=2.8, rfac_cutoff=0.3)[source]¶
-
jade.antibody.split_structure.
separate_pdb
(pdb_path, output_dir, only_dimer=True)[source]¶ Determine if we have Fv or FAB. If FAB, split into parts: Fc, Fv, linker.
-
jade.antibody.split_structure.
separate_proto_CDR4
(pdb_path, output_dir, chain, overhang=0, skip_present=True)[source]¶
-
jade.antibody.split_structure.
split_Fc
(parent_PDB)[source]¶ Split Fc from FAB. Return new pdb_map to save
-
jade.antibody.split_structure.
split_Fv
(parent_PDB)[source]¶ Split Fv from FAB. Return new pdb_map to save
-
jade.antibody.split_structure.
split_linker
(parent_PDB)[source]¶ Split 4 Residue linker from FAB. Linker may be longer than this, but I think this is about it.