private static ProteinSequence getProteinSequence ( String str ) { try { ProteinSequence s = new ProteinSequence ( str ) ; return s ; } catch ( CompoundNotFoundException e ) { logger . error ( "Unexpected error when creating ProteinSequence" , e ) ; } return null ; }
Returns the ProteinSequence or null if one can t be created