From dcd43aa1f79516132c610e0af28e4e397217d783 Mon Sep 17 00:00:00 2001 From: anton083 Date: Sat, 25 Nov 2023 22:06:40 +0100 Subject: [PATCH] Update oxygen.md --- docs/src/oxygen.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/src/oxygen.md b/docs/src/oxygen.md index 9381d9d..7d2bf58 100644 --- a/docs/src/oxygen.md +++ b/docs/src/oxygen.md @@ -1,6 +1,14 @@ -The reason for having `N` as a type parameter for `Backbone` to make it flexible, so that one can pass only the N, CA, and C atoms of a backbone, such that the O atom positions can added in using the `add_oxygens` function. +# Oxygen atoms + +The reason for having `N` as a type parameter is to make `Backbone` more flexible by allowing one to pass only the N, CA, and C atoms of a backbone, such that the O atom positions can added in using the `add_oxygens` function. ```jldoctest +julia> using Backboner + +julia> protein = pdb_to_protein("test/data/1ZAK.pdb") + +julia> chain = protein["A"] + julia> backbone4 = chain.backbone 3×4×220 Backbone{4, Float32}: [:, :, 1] =