public class Annotations extends Object
Constructor and Description |
---|
Annotations(String userId) |
Modifier and Type | Method and Description |
---|---|
void |
curate(List<DNAFeature> features)
Curates a specified set of annotations.
|
Results<DNAFeature> |
filter(int offset,
int limit,
String filter) |
FeaturedDNASequence |
generate(FeaturedDNASequence sequence)
Using existing and potentially curated annotations on this ICE instance,
this generates matching features for the passed sequence
|
FeaturedDNASequence |
generate(long entryId,
boolean ownerFeatures)
Auto generate annotations for specified entry
|
Results<DNAFeatures> |
get(int offset,
int limit,
String sort)
Retrieves list of annotations that are available
|
protected boolean |
isAdministrator() |
void |
rebuild()
Rebuild the annotations blast database
|
public Annotations(String userId)
public Results<DNAFeatures> get(int offset, int limit, String sort)
offset
- paging startlimit
- maximum number of annotations to returnsort
- paging sortPermissionException
- if the requesting user's account does not have administrative privilegespublic Results<DNAFeature> filter(int offset, int limit, String filter)
public FeaturedDNASequence generate(long entryId, boolean ownerFeatures)
entryId
- unique (local) identifier for entryownerFeatures
- whether to only include the features created by the requesting userpublic FeaturedDNASequence generate(FeaturedDNASequence sequence)
sequence
- wrapper around dna sequencepublic void rebuild()
PermissionException
- if the specified user does not have administrator privilegesprotected boolean isAdministrator()
public void curate(List<DNAFeature> features)
features
- set of features to be curatedCopyright © 2017. All rights reserved.