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/api.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Package extensions are used in order to reduce the number of dependencies:
9
9
- To use `pairalign`, [`superimpose!`](@ref), [`rmsd`](@ref)/[`displacements`](@ref) with the `superimpose` option or [`Transformation`](@ref) on structural elements, call `using BioSequences, BioAlignments`.
10
10
- To use `DataFrame`, call `using DataFrames`.
11
11
- To use `MetaGraph`, call `using Graphs, MetaGraphs`.
12
-
- To use [`MMTFDict`](@ref) or [`writemmtf`](@ref), call `import MMTF as MMTFPkg` (to avoid clashing with [`BioStructures.MMTF`](@ref)).
12
+
- To use [`MMTFDict`](@ref) or [`writemmtf`](@ref), call `import MMTF`.
13
13
- To use [`rundssp!`](@ref), [`rundssp`](@ref) or the `run_dssp` option for `read`/[`retrievepdb`](@ref), call `using DSSP_jll`.
14
14
- To use [`runstride!`](@ref), [`runstride`](@ref) or the `run_stride` option for `read`/[`retrievepdb`](@ref), call `using STRIDE_jll`.
A [`MMCIFDict`](@ref) can be accessed in similar ways to a standard dictionary, and if necessary the underlying dictionary of [`MMCIFDict`](@ref) `d` can be accessed with `d.dict`.
42
42
Note that the values of the dictionary are always an `Array{String,1}`, even if only one value was read in or the data is numerical.
43
43
44
-
MMTF files can be read into the same data structure with `read("/path/to/mmtf/file.mmtf", MMTF)` once you have imported MMTF.jl with `import MMTF as MMTFPkg`.
44
+
MMTF files can be read into the same data structure with `read("/path/to/mmtf/file.mmtf", MMTFFormat)` once you have imported MMTF.jl.
45
45
The keyword argument `gzip`, default `false`, determines if the file is gzipped.
46
46
In a similar manner to mmCIF dictionaries, a MMTF file can be read into a dictionary with [`MMTFDict`](@ref).
47
47
The values of the dictionary are a variety of types depending on the [MMTF specification](https://github.com/rcsb/mmtf/blob/master/spec.md).
@@ -545,10 +545,10 @@ The secondary structure code of a residue or atom can be accessed after assignin
545
545
To assign secondary structure when reading the structure:
[`rundssp!`](@ref), [`runstride!`](@ref), [`rundssp`](@ref) and [`runstride`](@ref) can also be used to assign secondary structure to a [`MolecularStructure`](@ref) or [`Model`](@ref):
554
554
```julia
@@ -593,10 +593,10 @@ To download a PDB file in PDB, XML, mmCIF or MMTF format use the `format` argume
Read a mmCIF/MMTF file instead by replacing [`PDB`](@ref) with [`MMCIF`](@ref)/[`MMTF`](@ref).
629
+
Read a mmCIF/MMTF file instead by replacing [`PDBFormat`](@ref) with [`MMCIFFormat`](@ref)/[`MMTFFormat`](@ref).
630
630
Various options can be set through optional keyword arguments when parsing PDB/mmCIF/MMTF files:
631
631
632
632
| Keyword Argument | Description |
@@ -712,7 +712,7 @@ A [`MMCIFDict`](@ref) can also be written using [`writemmcif`](@ref):
712
712
writemmcif("1EN2_out.dic", mmcif_dict)
713
713
```
714
714
715
-
To write out a MMTF file, call `import MMTF as MMTFPkg` and use the [`writemmtf`](@ref) function with any element type or a [`MMTFDict`](@ref) as an argument.
715
+
To write out a MMTF file, import MMTF.jl and use the [`writemmtf`](@ref) function with any element type or a [`MMTFDict`](@ref) as an argument.
716
716
The `gzip` keyword argument, default `false`, determines whether to gzip the written file.
717
717
718
718
Unlike for the collection functions, `expand_disordered` is set to `true` when writing files as it is usually desirable to retain all entities.
@@ -748,15 +748,15 @@ l = pdbentrylist()
748
748
To download the entire RCSB PDB database in your preferred file format:
0 commit comments