Class SimpleRemoteFeature

    • Method Detail

      • getRegions

        public java.util.List getRegions()
        Description copied from interface: RemoteFeature
        Retrieve the list of Regions that locate this feature both localy and remotely. Local Regions have a null sequence ID.
        Specified by:
        getRegions in interface RemoteFeature
        Returns:
        an immutable List of Regions
      • getRemoteFeature

        public Feature getRemoteFeature()
                                 throws BioException
        Description copied from interface: RemoteFeature
        Retrieve the Feature on some assembly Sequence that can represent this RemoteFeature properly.

        This method should be equivalent to calling getResolver().resolve(this).

        Specified by:
        getRemoteFeature in interface RemoteFeature
        Returns:
        the Feature on another Sequence that this is projected onto
        Throws:
        BioException - if for any reason the remote Feature could not be constructed
      • makeTemplate

        public Feature.Template makeTemplate()
        Description copied from interface: Feature
        Create a new Template that could be used to generate a feature identical to this one. The fields of the template can be edited without changing the feature.
        Specified by:
        makeTemplate in interface Feature
        Overrides:
        makeTemplate in class SimpleStrandedFeature
        Returns:
        a new Template that would make a feature like this one