You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/documentation.md
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -527,7 +527,7 @@ The coordinate sets must be the same size and have the number of dimensions in t
527
527
528
528
The contacting elements in a molecular structure form a graph, and this can be retrieved using `MetaGraph`.
529
529
This extends `MetaGraph` from [MetaGraphs.jl](https://github.com/JuliaGraphs/MetaGraphs.jl), allowing you to use all the graph analysis tools in [Graphs.jl](https://github.com/JuliaGraphs/Graphs.jl).
530
-
For example:
530
+
For example to find the graph from a contact map of Cβ atoms closer than 8 Å:
531
531
532
532
```julia-repl
533
533
julia> using Graphs, MetaGraphs
@@ -552,6 +552,9 @@ See the [Graphs docs](https://juliagraphs.org/Graphs.jl/dev) for details on how
552
552
Similar to [`ContactMap`](@ref), contacts are found between any element type passed in.
553
553
So if you wanted the graph of chain contacts in a protein complex you could give a [`Model`](@ref) as the first argument.
554
554
555
+
Calling `MetaGraph` on a [`Chain`](@ref) without a contact distance does something different: it constructs a graph of atoms where edges are determined by the known bonds of standard amino acids in the chain.
556
+
Hydrogens should be present and atom names should match those in OpenMM.
557
+
555
558
## Assigning secondary structure
556
559
557
560
Any secondary structure assignment at a residue is accessed via [`sscode`](@ref):
0 commit comments