{
for (SequenceFeature sf : entry.getFeature())
{
- sf.setFeatureGroup("Uniprot");
- sequence.addSequenceFeature(sf);
+ SequenceFeature copy = new SequenceFeature(sf, sf.getBegin(),
+ sf.getEnd(), "Uniprot");
+ sequence.addSequenceFeature(copy);
}
}
for (DBRefEntry dbr : dbRefs)