@Component(value="cosmicService") public class CosmicServiceAnnotator extends AbstractRepositoryAnnotator implements RepositoryAnnotator, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
This class calls the Ensembl webservice with a ensemble ID. The webservice returns a map with information on the somatic variants associated with the gene
| Modifier and Type | Field and Description |
|---|---|
static String |
ALT_ALLELES |
static String |
CONSEQUENCE_TYPE |
static String |
END |
static String |
ENSEMBLE_ID |
static String |
FEATURE_TYPE |
static String |
ID |
static String |
NAME |
static String |
SEQ_REGION_NAME |
static String |
START |
static String |
STRAND |
ANNOTATOR_PREFIX| Constructor and Description |
|---|
CosmicServiceAnnotator() |
| Modifier and Type | Method and Description |
|---|---|
List<Entity> |
annotateEntity(Entity entity) |
boolean |
annotationDataExists()
Checks if folder and files that were set with a runtime property actually exist, or if a webservice can be
reached
|
EntityMetaData |
getInputMetaData() |
EntityMetaData |
getOutputMetaData() |
String |
getSimpleName() |
annotate, canAnnotate, getFullName, onApplicationEventclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitannotate, canAnnotate, getDescription, getFullNamepublic static final String ENSEMBLE_ID
public static final String NAME
public static final String ID
public static final String FEATURE_TYPE
public static final String ALT_ALLELES
public static final String END
public static final String SEQ_REGION_NAME
public static final String CONSEQUENCE_TYPE
public static final String STRAND
public static final String START
public String getSimpleName()
getSimpleName in interface RepositoryAnnotatorpublic EntityMetaData getInputMetaData()
getInputMetaData in interface RepositoryAnnotatorpublic boolean annotationDataExists()
AbstractRepositoryAnnotatorannotationDataExists in class AbstractRepositoryAnnotatorpublic List<Entity> annotateEntity(Entity entity)
annotateEntity in class AbstractRepositoryAnnotatorpublic EntityMetaData getOutputMetaData()
getOutputMetaData in interface RepositoryAnnotatorCopyright © 2015. All Rights Reserved.