ProteinChains.BackboneGeometry
— TypeBackboneGeometry(;
+ 0.0 0.0 0.0
diff --git a/dev/.documenter-siteinfo.json b/dev/.documenter-siteinfo.json
index 39defa1..6fae98d 100644
--- a/dev/.documenter-siteinfo.json
+++ b/dev/.documenter-siteinfo.json
@@ -1 +1 @@
-{"documenter":{"julia_version":"1.11.1","generation_timestamp":"2024-10-23T13:38:36","documenter_version":"1.7.0"}}
\ No newline at end of file
+{"documenter":{"julia_version":"1.11.1","generation_timestamp":"2024-10-23T14:16:43","documenter_version":"1.7.0"}}
\ No newline at end of file
diff --git a/dev/index.html b/dev/index.html
index 962b003..e2d55f6 100644
--- a/dev/index.html
+++ b/dev/index.html
@@ -3,7 +3,7 @@
3×3 IdealResidue{Float64}:
-1.06447 -0.199174 1.26364
0.646303 -0.529648 -0.116655
- 0.0 0.0 0.0source Define the idealized bond lengths and bond angles of a protein backbone. Define the idealized bond lengths and bond angles of a protein backbone. A 3x3 matrix representing the idealized geometry of a protein residue, with columns representing the N, Ca, and C atom positions of a residue positioned at the origin. A 3x3 matrix representing the idealized geometry of a protein residue, with columns representing the N, Ca, and C atom positions of a residue positioned at the origin. An A property of arbitrary type that persists after residue indexing of a chain. A property of arbitrary type that persists after residue indexing of a chain. Represents a protein chain with a basic set of fields from which some other properties might be derived. The Fields See also Fields Examples A mutable struct representing a store for protein structures using HDF5 file format. The struct implements the AbstractDict interface, allowing for dictionary-like operations. A Examples Represents a protein chain with a basic set of fields from which some other properties might be derived. The Fields See also Fields Examples A mutable struct representing a store for protein structures using HDF5 file format. The struct implements the AbstractDict interface, allowing for dictionary-like operations. A Examples Open or create an HDF5 file as a Add predefined properties to a chain or chains of a structure. Creates a new Values get wrapped by See also Create a new backbone by appending 3 new torsion angles (ψ, ω, ϕ) at the end, using bond lengths and bond angles specified in Deserialize Open or create an HDF5 file as a Add predefined properties to a chain or chains of a structure. Creates a new Values get wrapped by See also Create a new backbone by appending 3 new torsion angles (ψ, ω, ϕ) at the end, using bond lengths and bond angles specified in Deserialize Keyword arguments get propagated to Downloads are cached in a temporary directory. Examples Keyword arguments get propagated to Downloads are cached in a temporary directory. Examples Create a new backbone by prepending 3 new torsion angles (ψ, ω, ϕ) at the beginning, using bond lengths and bond angles specified in the The torsion angle order is the same as it would be when appending. The order is not reversed. Creates a new See also Return residue numbers from "atomsite.labelseqids". The Serialize a vector of ProteinChains.BackboneGeometry
— TypeBackboneGeometry(;
+ 0.0 0.0 0.0
ProteinChains.BackboneGeometry
— TypeBackboneGeometry(;
N_Ca_length = 1.46,
Ca_C_length = 1.52,
C_N_length = 1.33,
@@ -11,9 +11,9 @@
N_Ca_C_angle = 1.94,
Ca_C_N_angle = 2.03,
C_N_Ca_angle = 2.13,
-)
ProteinChains.IdealResidue
— TypeIdealResidue{T<:AbstractFloat} <: AbstractMatrix{T}
+)
ProteinChains.IdealResidue
— TypeIdealResidue{T<:AbstractFloat} <: AbstractMatrix{T}
-IdealResidue{T}(backbone_geometry=DEFAULT_BACKBONE_GEOMETRY; template=nothing) where T
ProteinChains.IndexableProperty
— TypeIndexableProperty <: AbstractProperty
+IdealResidue{T}(backbone_geometry=DEFAULT_BACKBONE_GEOMETRY; template=nothing) where T
ProteinChains.IndexableProperty
— TypeIndexableProperty <: AbstractProperty
IndexableProperty(value::AbstractArray)
AbstractArray
property with size (dims..., length(chain))
, and residue indexing of the chain being propagated to the last dimension of the array.julia> chain = pdb"1ASS"A;
@@ -23,10 +23,10 @@
false
julia> chain.y[:,1:10] == chain[1:10].y
-true
ProteinChains.PersistentProperty
— TypePersistentProperty(value)
julia> chain = addproperties(pdb"1ASS"A; x=PersistentProperty(1));
+true
ProteinChains.PersistentProperty
— TypePersistentProperty(value)
julia> chain = addproperties(pdb"1ASS"A; x=PersistentProperty(1));
julia> chain.x == chain[1:10].x
-true
ProteinChains.ProteinChain
— TypeProteinChain{T<:Real,Ps<:NamedProperties}
addproperties
function can be used to instantiate new chains with additional properties.id::String
: Identifier for the protein chain.atoms::Vector{Vector{Atom{T}}}
: List of atoms in each residue.sequence::String
: Amino acid sequence of the protein.numbering::Vector{Int32}
: Residue numbering (author). See renumber
for renumbering.properties::Ps
: Named properties associated with the chain.addproperties
, PersistentProperty
, IndexableProperty
. ```ProteinChains.ProteinStructure
— TypeProteinStructure{T} <: AbstractVector{ProteinChain{T}}
name::String
: Usually just the base name of the original file.atoms::Vector{Atom{T}}
: free atoms from the structure that were not part of any protein chain.chains::Vector{<:ProteinChain{T}}
: a collection of ProteinChain
s.julia> structure = pdb"1ASS"
ProteinChains.ProteinStructureStore
— TypeProteinStructureStore <: AbstractDict{String,ProteinStructure}
ProteinStructureStore
gets closed when there no longer exists a program-accessible reference to it.julia> store = ProteinStructureStore("store.h5")
+true
ProteinChains.ProteinChain
— TypeProteinChain{T<:Real,Ps<:NamedProperties}
addproperties
function can be used to instantiate new chains with additional properties.id::String
: Identifier for the protein chain.atoms::Vector{Vector{Atom{T}}}
: List of atoms in each residue.sequence::String
: Amino acid sequence of the protein.numbering::Vector{Int32}
: Residue numbering (author). See renumber
for renumbering.properties::Ps
: Named properties associated with the chain.addproperties
, PersistentProperty
, IndexableProperty
. ```ProteinChains.ProteinStructure
— TypeProteinStructure{T} <: AbstractVector{ProteinChain{T}}
name::String
: Usually just the base name of the original file.atoms::Vector{Atom{T}}
: free atoms from the structure that were not part of any protein chain.chains::Vector{<:ProteinChain{T}}
: a collection of ProteinChain
s.julia> structure = pdb"1ASS"
ProteinChains.ProteinStructureStore
— TypeProteinStructureStore <: AbstractDict{String,ProteinStructure}
ProteinStructureStore
gets closed when there no longer exists a program-accessible reference to it.julia> store = ProteinStructureStore("store.h5")
ProteinStructureStore with 0 entries
julia> store["3HFM"] = pdb"3HFM"
@@ -44,8 +44,8 @@
"3HFM"
julia> delete!(store, "3HFM")
-ProteinStructureStore with 0 entries
ProteinChains.ProteinStructureStore
— TypeProteinStructureStore(filename, mode="cw")
ProteinStructureStore
where mode
is one of:ProteinChains.ProteinStructureStore
— MethodProteinStructureStore(f::Function, filename, mode="cw")
ProteinChains.addproperties
— Methodaddproperties(chain::ProteinChain, names::Symbol...)
-addproperties(chain::ProteinStructure, names::Symbol...)
ProteinChains.addproperties
— Methodaddproperties(chain::ProteinChain; properties...)
ProteinChain
instance with the added properties. Indexing behavior of property values can be specified by wrapping them with PersistentProperty
or IndexableProperty
.PersistentProperty
by default.removeproperties
, PersistentProperty
, IndexableProperty
ProteinChains.append_residue
— Methodappend_residue(Backbone::Backbone, torsion_angles::Vector{<:Real}; ideal::BackboneGeometry=DEFAULT_BACKBONE_GEOMETRY)
BackboneGeometry
.ProteinChains.deserialize
— Methoddeserialize(filename::AbstractString)
ProteinStructure
objects from an HDF5 file. Returns a Vector{ProteinStructure}
of all structures stored in the file.ProteinChains.mapmmcif
— Methodmapmmcif(mmcifdict, field1 => field2, field3 => field4, ...)
julia> import BioStructures
+ProteinStructureStore with 0 entries
ProteinChains.ProteinStructureStore
— TypeProteinStructureStore(filename, mode="cw")
ProteinStructureStore
where mode
is one of:ProteinChains.ProteinStructureStore
— MethodProteinStructureStore(f::Function, filename, mode="cw")
ProteinChains.addproperties
— Methodaddproperties(chain::ProteinChain, names::Symbol...)
+addproperties(chain::ProteinStructure, names::Symbol...)
ProteinChains.addproperties
— Methodaddproperties(chain::ProteinChain; properties...)
ProteinChain
instance with the added properties. Indexing behavior of property values can be specified by wrapping them with PersistentProperty
or IndexableProperty
.PersistentProperty
by default.removeproperties
, PersistentProperty
, IndexableProperty
ProteinChains.append_residue
— Methodappend_residue(Backbone::Backbone, torsion_angles::Vector{<:Real}; ideal::BackboneGeometry=DEFAULT_BACKBONE_GEOMETRY)
BackboneGeometry
.ProteinChains.deserialize
— Methoddeserialize(filename::AbstractString)
ProteinStructure
objects from an HDF5 file. Returns a Vector{ProteinStructure}
of all structures stored in the file.ProteinChains.mapmmcif
— Methodmapmmcif(mmcifdict, field1 => field2, field3 => field4, ...)
julia> import BioStructures
julia> filename = BioStructures.downloadpdb("3HFM", format=BioStructures.MMCIFFormat);
[ Info: Downloading file from PDB: 3HFM
@@ -58,7 +58,7 @@
Dict{String, String} with 3 entries:
"Y" => "9031"
"L" => "10090"
- "H" => "10090"
ProteinChains.pdbentry
— Methodpdbentry(pdbid::AbstractString; format=MMCIFFormat, kwargs...)
BioStructures.downloadpdb
julia> pdbentry("1EYE")
+ "H" => "10090"
ProteinChains.pdbentry
— Methodpdbentry(pdbid::AbstractString; format=MMCIFFormat, kwargs...)
BioStructures.downloadpdb
julia> pdbentry("1EYE")
[ Info: Downloading file from PDB: 1EYE
1-chain ProteinStructure{Float64} "1EYE.cif"
256-residue ProteinChain{Float64, @NamedTuple{}} (A)
@@ -76,4 +76,4 @@
[ Info: Downloading file from PDB: 1EYE
2-chain ProteinStructure{Float64} "1EYE_ba1.cif"
256-residue ProteinChain{Float64, @NamedTuple{}} (A)
- 256-residue ProteinChain{Float64, @NamedTuple{}} (A-2)
ProteinChains.prepend_residue
— Methodappend_residue(Backbone::Backbone, torsion_angles::Vector{<:Real}; ideal::BackboneGeometry=DEFAULT_BACKBONE_GEOMETRY)
BackboneGeometry
.ProteinChains.removeproperties
— Methodremoveproperties(chain::ProteinChain, names::Symbol...)
ProteinChain
instance with the property names in names
removed.addproperties
ProteinChains.renumber
— Methodrenumber(structure::ProteinStructure, mmcif_dict::BioStructures.MMCIFDict)
ProteinStructure
will automatically add a renumbering
property if an MMCIFDict is passed (default if the file is an MMCIF).ProteinChains.serialize
— Methodserialize(filename::AbstractString, structures::AbstractVector{<:ProteinStructure})
ProteinStructure
objects to an HDF5 file. This function creates a new ProteinStructureStore
and writes each structure in the input vector to it. Each structure is stored using its name as the key.
Settings
This document was generated with Documenter.jl version 1.7.0 on Wednesday 23 October 2024. Using Julia version 1.11.1.