public class SnpEffRepositoryAnnotator extends AbstractRepositoryAnnotator implements EffectCreatingAnnotator
ANNOTATOR_PREFIX| Constructor and Description |
|---|
SnpEffRepositoryAnnotator(String name) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Entity> |
annotate(Iterable<Entity> source) |
boolean |
annotationDataExists()
Checks if folder and files that were set with a runtime property actually exist, or if a webservice can be
reached
|
String |
canAnnotate(EntityType repoMetaData)
Returns null if the annotator will work for the given metadata, a reason if not so
|
List<Attribute> |
createAnnotatorAttributes(AttributeFactory attributeFactory) |
CmdLineAnnotatorSettingsConfigurer |
getCmdLineAnnotatorSettingsConfigurer() |
AnnotatorInfo |
getInfo() |
List<Attribute> |
getOutputAttributes()
returns an EntityType containing the attributes the annotator will add
|
List<Attribute> |
getRequiredAttributes()
Returns a EntityType containing the attributes needed for the annotator to work
|
String |
getSimpleName()
Return the name of the annotator
|
EntityType |
getTargetEntityType(EntityType sourceEntityType)
Annotators that add a new repository need the source meta data to construct the new repository's meta data.
|
void |
init(SnpEffRunner snpEffRunner,
Entity snpEffAnnotatorSettings,
VcfAttributes vcfAttributes,
EffectsMetaData effectsMetaData,
DataService dataService) |
annotate, getDescription, getFullNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitannotatepublic SnpEffRepositoryAnnotator(String name)
public void init(SnpEffRunner snpEffRunner, Entity snpEffAnnotatorSettings, VcfAttributes vcfAttributes, EffectsMetaData effectsMetaData, DataService dataService)
public AnnotatorInfo getInfo()
getInfo in interface RepositoryAnnotatorpublic Iterator<Entity> annotate(Iterable<Entity> source)
annotate in interface RepositoryAnnotatorpublic String canAnnotate(EntityType repoMetaData)
RepositoryAnnotatorcanAnnotate in interface RepositoryAnnotatorcanAnnotate in class AbstractRepositoryAnnotatorpublic List<Attribute> getRequiredAttributes()
RepositoryAnnotatorgetRequiredAttributes in interface RepositoryAnnotatorpublic String getSimpleName()
RepositoryAnnotatorgetSimpleName in interface RepositoryAnnotatorpublic boolean annotationDataExists()
RepositoryAnnotatorannotationDataExists in interface RepositoryAnnotatorpublic CmdLineAnnotatorSettingsConfigurer getCmdLineAnnotatorSettingsConfigurer()
getCmdLineAnnotatorSettingsConfigurer in interface RepositoryAnnotatorpublic EntityType getTargetEntityType(EntityType sourceEntityType)
EffectCreatingAnnotatorgetTargetEntityType in interface EffectCreatingAnnotatorsourceEntityType - the meta data of the source repositorypublic List<Attribute> getOutputAttributes()
RepositoryAnnotatorgetOutputAttributes in interface RepositoryAnnotatorpublic List<Attribute> createAnnotatorAttributes(AttributeFactory attributeFactory)
createAnnotatorAttributes in interface RepositoryAnnotatorCopyright © 2017. All rights reserved.