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).
Modifier and Type | Method and Description |
---|---|
Feature |
resolve(RemoteFeature rFeat)
Resolve rFeat.
|
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.
rFeat
- the RemoteFeature to resolveIllegalIDException
BioException
Copyright © 2014 BioJava. All rights reserved.