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/installation.md
+19Lines changed: 19 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,25 @@ If you run
36
36
37
37
on your project, the BioJava dependencies will be automatically downloaded and installed for you.
38
38
39
+
### (Optional) Configuration
40
+
41
+
BioJava can be configured through several properties:
42
+
43
+
| Property | Description |
44
+
| --- | --- |
45
+
|`PDB_DIR`| Directory for caching structure files from the PDB. Mirrors the PDB's FTP server directory structure, with `PDB_DIR` equivalent to ftp://ftp.wwpdb.org/pub/pdb/. Default: temp directory |
46
+
|`PDB_CACHE_DIR`| Cache directory for other files related to the structure package. Default: temp directory |
47
+
48
+
These can be set either as java properties or as environmental variables. For example:
49
+
50
+
```
51
+
# This could be added to .bashrc
52
+
export PDB_DIR=...
53
+
# Or override for a particular execution
54
+
java -DPDB_DIR=... -cp ...
55
+
```
56
+
57
+
Note that your IDE may ignore `.bashrc` settings, but should have a preference for passing VM arguments.
0 commit comments