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: structure/externaldb.md
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,13 +27,17 @@ The structure for a known SCOP domain can be fetched via its 7-letter domain ID
27
27
28
28
The SCOP classification can be accessed through the [```ScopDatabase```](http://www.biojava.org/docs/api/org/biojava/bio/structure/scop/ScopDatabase.html) class.
29
29
30
+
```java
30
31
ScopDatabase scop =ScopFactory.getSCOP();
32
+
```
31
33
32
34
### Inspecting SCOP domains
33
35
34
36
A list of domains can be retrieved for a given protein.
You can get lots of useful information from the [```ScopDomain```](http://www.biojava.org/docs/api/org/biojava/bio/structure/scop/ScopDomain.html) object.
39
43
@@ -46,16 +50,20 @@ You can get lots of useful information from the [```ScopDomain```](http://www.bi
46
50
47
51
The full hierarchy is available as a tree of [```ScopNode```](http://www.biojava.org/docs/api/org/biojava/bio/structure/scop/ScopNode.html)s, which can be easily traversed using their ```getParentSunid()``` and ```getChildren()``` methods.
System.out.println("Total nr. of superfamilies:"+ superfams.size());
66
+
```
59
67
60
68
### Types of ScopDatabase
61
69
@@ -66,15 +74,18 @@ Several types of ```ScopDatabase``` are available. These can be instantiated man
66
74
67
75
Several internal BioJava classes use ```ScopFactory.getSCOP()``` when they encounter references to SCOP domains, so it is always a good idea to notify the ```ScopFactory``` when using a custom ```ScopDatabase``` instance.
0 commit comments