private static void displayStructure ( Structure structure , ResidueNumber [ ] residues ) { //Display each structure BiojavaJmol jmol = new BiojavaJmol ( ) ; jmol . setStructure ( structure ) ; //Highlight non-null atoms jmol . evalString ( "select *; spacefill off; wireframe off; color chain; backbone 0.4; " ) ; String selectionCmd = buildJmolSelection ( residues ) ; jmol . evalString ( selectionCmd ) ; jmol . evalString ( "backbone 1.0; select none;" ) ; }
Displays the given structure and highlights the given residues .