if ( getControlPanel().isShowTaxonomyCode() && ( PhylogenyMethods.getSpecies( node ).length() > 0 ) ) {
x += getTreeFontSet()._fm_large_italic.stringWidth( PhylogenyMethods.getSpecies( node ) + " " );
}
+ if ( getControlPanel().isShowGeneNames() ) {
+ x += getTreeFontSet()._fm_large.stringWidth( node.getNodeData().getSequence().getName() + " " );
+ }
+ if ( getControlPanel().isShowGeneSymbols() ) {
+ x += getTreeFontSet()._fm_large.stringWidth( node.getNodeData().getSequence().getSymbol() + " " );
+ }
+ if ( getControlPanel().isShowSequenceAcc() ) {
+ x += getTreeFontSet()._fm_large.stringWidth( node.getNodeData().getSequence().getAccession()
+ .toString()
+ + " " );
+ }
if ( getControlPanel().isShowNodeNames() && ( node.getName().length() > 0 ) ) {
x += getTreeFontSet()._fm_large.stringWidth( node.getName() + " " );
}
if ( query.indexOf( '/' ) > 0 ) {
query = query.substring( 0, query.indexOf( '/' ) );
}
+ if ( query.indexOf( '.' ) > 0 ) {
+ query = query.substring( 0, query.indexOf( '.' ) );
+ }
+ if ( query.indexOf( '_' ) > 0 ) {
+ query = query.substring( 0, query.indexOf( '_' ) );
+ }
final UniProtEntry upe = obtainUniProtEntry( query );
if ( upe != null ) {
final Sequence seq = new Sequence();