+ sb.append( "]" );
+ }
+ return sb;
+ }
+
+ private int getCombinableDomainsCount() {
+ return _combinable_domains_count;
+ }
+
+ private int getKeyDomainDomainsCount() {
+ return _key_domain_domains_count;
+ }
+
+ private int getKeyDomainProteinsCount() {
+ return _key_domain_proteins.size();
+ }
+
+ private static String obtainSeqLink( final String p ) {
+ String link;
+ final String up_id = ForesterUtil.extractUniProtKbProteinSeqIdentifier( p );
+ if ( !ForesterUtil.isEmpty( up_id ) ) {
+ link = "<a class=\"pl\" href=\"" + ForesterUtil.UNIPROT_KB + up_id + "\" target=\"_up_window\">" + up_id
+ + "</a>";
+ }
+ else {
+ final String gb_id = SequenceIdParser.parseGenbankProteinAccessor( p );
+ if ( !ForesterUtil.isEmpty( gb_id ) ) {
+ link = "<a class=\"pl\" href=\"" + ForesterUtil.NCBI_PROTEIN + gb_id + "\" target=\"_up_window\">"
+ + gb_id + "</a>";