tip.append("<br>" + tmp);
maxWidth = Math.max(maxWidth, tmp.length());
}
-
- DBRefEntry[] dbrefs = sequence.getDatasetSequence().getDBRef();
+ SequenceI ds=sequence;
+ while (ds.getDatasetSequence()!=null)
+ {
+ ds=ds.getDatasetSequence();
+ }
+ DBRefEntry[] dbrefs = ds.getDBRef();
if (showDbRefs && dbrefs != null)
{
for (int i = 0; i < dbrefs.length; i++)
}
// ADD NON POSITIONAL SEQUENCE INFO
- SequenceFeature[] features = sequence.getDatasetSequence()
- .getSequenceFeatures();
+ SequenceFeature[] features = ds.getSequenceFeatures();
SequenceFeature[] tfeat = new SequenceFeature[1];
if (showNpFeats && features != null)
{