public static final Group getGroupByPDBResidueNumber ( Structure struc , ResidueNumber pdbResNum ) throws StructureException { if ( struc == null || pdbResNum == null ) { throw new IllegalArgumentException ( "Null argument(s)." ) ; } Chain chain = struc . getPolyChainByPDB ( pdbResNum . getChainName ( ) ) ; return chain . getGroupByPDB ( pdbResNum ) ; }
Get a group represented by a ResidueNumber .