public static interface RemoteFeature.Resolver
An implementation may choose to create a new Assembly from Sequences in a SequenceDB instance, or to return some existing larger Sequence that the sequence parent of the Feature is part of. This interface should ensure canonicalization of the returned Feature and the Sequence it resides on (using, for instance, SoftReferenceCacheMap keyed by a set of sequence IDs).
Feature resolve(RemoteFeature rFeat) throws IllegalIDException, BioException
This method returns a Feature that represents the RemoteFeature rFeat on some Sequence where all of the Regions can be represented localy. This may be an assembly of the parent sequence of rFeat and each of the Sequences that have IDs listed in the Region list of rFeat.
Copyright © 2014 BioJava. All rights reserved.