// \Z => end of String
private final static Pattern UNIPROT_AC_PATTERN = Pattern
.compile( "(?:\\A|.*[^a-zA-Z0-9])([A-Z]\\d[A-Z0-9]{3}\\d)(?:[^a-zA-Z0-9]|\\Z)" );
- private final static boolean DEBUG = true;
+ private final static boolean DEBUG = false;
private static String encode( final String str ) throws UnsupportedEncodingException {
return URLEncoder.encode( str.trim(), URL_ENC );
else if ( sn.equals( "Xenopus" ) ) {
return hack( UniProtTaxonomy.XENOPUS_GENUS );
}
+ // else if ( sn.equals( "Nucleariidae and Fonticula group" ) ) {
+ // return hack( UniProtTaxonomy.NUCLEARIIDAE_AND_FONTICULA );
+ // }
final List<String> result = getTaxonomyStringFromScientificName( sn, max_taxonomies_return );
if ( result.size() > 0 ) {
return parseUniProtTaxonomy( result );