Backboner API

Backboner.BackboneType
Backbone{T<:Real,M<:AbstractMatrix{T}} <: AbstractVector{AbstractVector{T}}

The Backbone type is designed to efficiently store and manipulate the three-dimensional coordinates of backbone points.

source
Backboner.ChainedBondsType
ChainedBonds{T<:Real,V<:AbstractVector{T}}

A lazy way to store a backbone as a series of bond lengths, bond angles, and torsion_angles.

Examples

julia> backbone = Backbone(randn(Float32, 3, 660));

julia> bonds = ChainedBonds(backbone)
ChainedBonds{Float64, Vector{Float64}} with 659 bond lengths, 658 bond angles, and 657 torsion angles
source
Backboner.get_displacementsMethod
get_displacements(backbone, start, step, stride)

Get the displacements between points in backbone, where start is the index of the first point, step is the offset of the other points along the backbone (e.g. 1 for bond vectors), and stride is the number of points to skip after each step.

source
Backboner.get_distancesMethod
get_distances(backbone, start, step, stride)

Get the Euclidean distances between points in backbone, where start is the index of the first point, step is the offset of the other points along the backbone (e.g. 1 for bond lengths), and stride is the number of points to skip after each step.

source