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: _wikis/BioJava:CookBook:PDB:datamodel.mediawiki
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ This works for both NMR and X-ray based structures and by default the first mode
34
34
35
35
== Working with atoms ==
36
36
37
-
Different ways are provided how to access the data contained in a [http://www.biojava.org/docs/api/org/biojava/bio/structure/Structure.html Structure]. If you want to directly access an array of [http://www.biojava.org/docs/api/org/biojava/bio/structure/Atom.html Atoms] you can use the utility class called [http://www.biojava.org/docs/api/org/biojava/bio/structure/StructureTools.html StructureTools]
37
+
Different ways are provided how to access the data contained in a [http://www.biojava.org/docs/api/org/biojava/nbio/structure/Structure.html Structure]. If you want to directly access an array of [http://www.biojava.org/docs/api/org/biojava/nbio/structure/Atom.html Atoms] you can use the utility class called [http://www.biojava.org/docs/api/org/biojava/nbio/structure/StructureTools.html StructureTools]
38
38
39
39
<pre>
40
40
@@ -46,12 +46,12 @@ Different ways are provided how to access the data contained in a [http://www.bi
46
46
47
47
== Working with groups ==
48
48
49
-
The [http://www.biojava.org/docs/api/org/biojava/bio/structure/Group.html Group] interface defines all methods common to a group of atoms. There are 3
49
+
The [http://www.biojava.org/docs/api/org/biojava/nbio/structure/Group.html Group] interface defines all methods common to a group of atoms. There are 3
In order to get all amino acids that have been observed in a PDB chain, you can use the following utility method:
57
57
@@ -127,7 +127,7 @@ Bye default BioJava ships with a minimal representation of standard amino acids,
127
127
# fetch missing Chemical Component definitions on the fly (small download and parsing delays every time a new chemical compound is found), or
128
128
# Load all definitions at startup (slow startup, but then no further delays later on, requires more memory)
129
129
130
-
You can enable the first behaviour by doing using the [http://www.biojava.org/docs/api/org/biojava/bio/structure/io/FileParsingParameters.html FileParsingParameters] class:
130
+
You can enable the first behaviour by doing using the [http://www.biojava.org/docs/api/org/biojava/nbio/structure/io/FileParsingParameters.html FileParsingParameters] class:
131
131
132
132
<pre>
133
133
AtomCache cache = new AtomCache();
@@ -147,7 +147,7 @@ You can enable the first behaviour by doing using the [http://www.biojava.org/do
If you want to enable the second behaviour (slow loading of all chem comps at startup, but no further small delays later on) you can use the same code but change the behaviour by switching the [http://www.biojava.org/docs/api/org/biojava/bio/structure/io/mmcif/ChemCompProvider.html ChemCompProvider] implementation in the [http://www.biojava.org/docs/api/org/biojava/bio/structure/io/mmcif/ChemCompGroupFactory.html ChemCompGroupFactory]
150
+
If you want to enable the second behaviour (slow loading of all chem comps at startup, but no further small delays later on) you can use the same code but change the behaviour by switching the [http://www.biojava.org/docs/api/org/biojava/nbio/structure/io/mmcif/ChemCompProvider.html ChemCompProvider] implementation in the [http://www.biojava.org/docs/api/org/biojava/nbio/structure/io/mmcif/ChemCompGroupFactory.html ChemCompGroupFactory]
0 commit comments