|
1 | | -biojava3-tutorial |
| 1 | +BioJava 3 tutorial |
2 | 2 | ================= |
3 | 3 |
|
4 | | -A tutorial for BioJava 3. |
| 4 | +A brief introduction into BioJava 3. |
5 | 5 |
|
6 | 6 | == |
7 | 7 |
|
8 | | -The goal of this tutorial is to provide an educational introduction into |
9 | | -some of the features that are provided by BioJava. Please check also the [BioJava Cookbook](http://biojava.org/wiki/BioJava:CookBook3.0) for a |
10 | | -collection of many examples of what is possible and how to do things. |
| 8 | +The goal of this tutorial is to provide an educational introduction into some of the features that are provided by BioJava. |
11 | 9 |
|
| 10 | +At the moment this tutorial is still under development. Please check the [BioJava Cookbook](http://biojava.org/wiki/BioJava:CookBook3.0) for a more comprehensive collection of many examples of what is possible with BioJava and how to do things. |
| 11 | + |
| 12 | +## Index |
| 13 | + |
| 14 | +Book 1: [The Protein Structure modules](structure/README.md) |
| 15 | + |
| 16 | + |
| 17 | +<script type="text/javascript" src="JSmol.min.js"></script> |
| 18 | + |
| 19 | +<script type="text/javascript"> |
| 20 | + |
| 21 | +// 1/21/2013 10:54:15 PM -- adds image handling |
| 22 | + |
| 23 | +var jmolApplet0; // set up in HTML table, below |
| 24 | + |
| 25 | +// logic is set by indicating order of USE -- default is HTML5 for this test page, though |
| 26 | +var use = "HTML5" // JAVA HTML5 WEBGL IMAGE are all otions |
| 27 | +var s = document.location.search; |
| 28 | + |
| 29 | + |
| 30 | +// Developers: The debugCode flag is checked in j2s/core/core.z.js, |
| 31 | +// and, if TRUE, skips loading the core methods, forcing those |
| 32 | +// to be read from their individual directories. Set this |
| 33 | +// true if you want to do some code debugging by inserting |
| 34 | +// System.out.println, document.title, or alert commands |
| 35 | +// anywhere in the Java or Jmol code. |
| 36 | + |
| 37 | +Jmol.debugCode = (s.indexOf("debugcode") >= 0); |
| 38 | + |
| 39 | +jmol_isReady = function(applet) { |
| 40 | + Jmol._getElement(applet, "appletdiv").style.border="1px solid blue" |
| 41 | +} |
| 42 | + |
| 43 | +var xxxx = document.location.search |
| 44 | +if (xxxx.length == 5 || xxxx.length == 0) { |
| 45 | + xxxx = (xxxx + "?1crn").substring(1,5) |
| 46 | + script = 'h2oOn=true;set animframecallback "jmolscript:if (!selectionHalos) {select model=_modelNumber}";' |
| 47 | + +'set errorCallback "myCallback";' |
| 48 | + +'set defaultloadscript "isDssp = false;set defaultVDW babel;if(!h2oOn){display !water}";' |
| 49 | + +'set zoomlarge false;set echo top left;echo loading XXXX...;refresh;' |
| 50 | + +'load "http://www.rcsb.org/pdb/files/XXXX.pdb";set echo top center;echo XXXX;' |
| 51 | + +'spacefill off;wireframe off;cartoons on;color structure;' |
| 52 | + script = script.replace(/XXXX/g, xxxx) |
| 53 | +} else { |
| 54 | + script = unescape(xxxx.substring(1)) |
| 55 | +} |
| 56 | + |
| 57 | + |
| 58 | +var Info = { |
| 59 | + width: 450, |
| 60 | + height: 450, |
| 61 | + debug: false, |
| 62 | + color: "white", |
| 63 | + addSelectionOptions: false, |
| 64 | + serverURL: "http://chemapps.stolaf.edu/jmol/jsmol/php/jsmol.php", |
| 65 | + use: "HTML5", |
| 66 | + j2sPath: "j2s", |
| 67 | + readyFunction: jmol_isReady, |
| 68 | + script: script, |
| 69 | + //jarPath: "java", |
| 70 | + //jarFile: (useSignedApplet ? "JmolAppletSigned.jar" : "JmolApplet.jar"), |
| 71 | + //isSigned: useSignedApplet, |
| 72 | + //disableJ2SLoadMonitor: true, |
| 73 | + disableInitialConsole: true |
| 74 | + //defaultModel: "$dopamine", |
| 75 | + //console: "none", // default will be jmolApplet0_infodiv |
| 76 | +} |
| 77 | + |
| 78 | +</script> |
| 79 | + |
| 80 | + |
| 81 | +<script type="text/javascript"> |
| 82 | + |
| 83 | +jmolApplet0 = Jmol.getApplet("jmolApplet0", Info) |
| 84 | + |
| 85 | +</script> |
0 commit comments