From BioJava
Revision as of 14:24, 20 December 2011 by Andreas (Talk | contribs)
Jump to: navigation, search


BioJava Cookbook for release 3.*

BioJava 3 is a major re-write of BioJava 1. As such many things work differently. This cookbook provides examples how to work with the new codebase.

The page was inspired by various programming cookbooks and follows a "How do I...?" type approach. Each "How do I?" is linked to some example code that does what you want and sometimes more. Basically if you find the code you want and copy and paste it into your program you should be up and running quickly. I have endeavoured to over document the code to make it more obvious what I am doing so some of the code might look a bit bloated.

If you have any suggestions, questions or comments contact the biojava mailing list. To subscribe to this list go here

If you re-use code from the cookbook please cite:

BioJava: an Open-Source Framework for Bioinformatics
R.C.G. Holland; T. Down; M. Pocock; A. Prlić; D. Huen; K. James; S. Foisy; A. Dräger; A. Yates; M. Heuer; M.J. Schreiber
Bioinformatics 2008; doi: 10.1093/bioinformatics/btn397

How Do I....?




Required modules: biojava3-core Required external library: forester.jar


Required modules: biojava3-alignment, biojava3-core, biojava3-phylo Required external library: forester.jar

Protein Structure

Required modules: biojava3-structure, biojava3-alignment Optional module : biojava3-structure-gui for the 3D visualisation Optional external library : JmolApplet.jar for the 3D visualisation

Physico-Chemical Properties Computation

Required modules: biojava3-aa-prop, biojava3-structure and biojava3-core


Protein Modification Identification

Required modules: biojava3-modfinder, biojava-structure


Required modules: biojava3-core, biojava-ws

Legacy 1.7 CookBook

The CookBook for the legacy 1.X code base is available from BioJava:CookBook1.7.

Personal tools