Backboner.Backbone
— TypeBackbone{N,T}
A wrapper for a 3xNxL array of coordinates of atoms. Backbone{4} is used to store 3-dimensional coordinates of the backbone atoms (N, CA, C, O) of a protein chain.
diff --git a/dev/.documenter-siteinfo.json b/dev/.documenter-siteinfo.json index dcb143a..a89b6d6 100644 --- a/dev/.documenter-siteinfo.json +++ b/dev/.documenter-siteinfo.json @@ -1 +1 @@ -{"documenter":{"julia_version":"1.9.4","generation_timestamp":"2023-11-25T15:08:17","documenter_version":"1.1.2"}} \ No newline at end of file +{"documenter":{"julia_version":"1.9.4","generation_timestamp":"2023-11-25T15:26:14","documenter_version":"1.1.2"}} \ No newline at end of file diff --git a/dev/index.html b/dev/index.html index eb67075..e4d9f25 100644 --- a/dev/index.html +++ b/dev/index.html @@ -17,4 +17,4 @@ 1-element Protein{Float32}: Chain A with 220 residues -julia> protein_to_pdb(new_protein, "test/data/1ZAK_A.pdb");
The Chain
type wraps the Backbone{4}
type (4, because it stores the positions of 4 atoms per residue: N, CA, C, O).
Backboner.Backbone
— TypeBackbone{N,T}
A wrapper for a 3xNxL array of coordinates of atoms. Backbone{4} is used to store 3-dimensional coordinates of the backbone atoms (N, CA, C, O) of a protein chain.
Backboner.Chain
— TypeChain <: AbstractVector{Residue}
A chain has an identifier (usually a single letter) and holds the backbone atom coordinates, amino acid sequence, and secondary structures of a protein chain.
Backboner.Protein
— TypeProtein <: AbstractVector{Chain}
A wrapper for a vector of chains. Chains can be accessed by index or by ID.
Backboner.add_oxygens
— Methodadd_oxygens(backbone::Backbone{3})
Add oxygen atoms to the backbone of a protein, turning the coordinate array from size 3x3xL to 3x4xL-1, where L is the length of the backbone.
One residue is lost in the process, since the orientation of the last oxygen atom cannot be determined. We may consider adding a feature for creating a dummy oxygen atom at the end of the backbone with randomized orientation to preserve the length of the backbone.
Backboner.assign_secondary_structure!
— Methodassign_secondary_structure!(protein)
Uses a simplified version of DSSP to fill the secondary structure vector of each chain with Loop, Helix, and Strand.
Backboner.atom_coord_matrix
— Methodatom_coord_matrix(backbone, i)
Returns the coordinates of specific columns of atoms in a backbone.
Backboner.backbone_to_locs_and_rots
— Methodbackbone_to_locs_and_rots(backbone, unit=:angstrom)
Returns the locations and rotation matrices of residues in a backbone, according to a defined standard triangle (Backboner.STANDARDTRIANGLEANGSTROM).
Backboner.locs_and_rots_to_backbone
— Methodlocs_and_rots_to_backbone(locations, rot_matrices; unit=:angstrom)
Returns a backbone with the given locations and rotation matrices of residues. If unit is :nm, the locations are converted to angstroms by multiplying them by 10.
Backboner.pdb_to_protein
— Methodpdb_to_protein(filename::String)
Assumes that each residue starts with four atoms: N, CA, C, O.
Settings
This document was generated with Documenter.jl version 1.1.2 on Saturday 25 November 2023. Using Julia version 1.9.4.