@Component(value="KeggService") public class KeggServiceAnnotator extends LocusAnnotator
| Modifier and Type | Field and Description |
|---|---|
static String |
KEGG_GENE_ID |
static String |
KEGG_PATHWAYS_IDS |
static String |
KEGG_PATHWAYS_NAMES |
CHROMOSOME, POSITIONANNOTATOR_PREFIX| Constructor and Description |
|---|
KeggServiceAnnotator(AnnotationService annotatorService,
HgncLocationsProvider hgncLocationsProvider,
KeggDataProvider keggDataProvider) |
| 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
|
static Map<String,ArrayList<String>> |
getKeggGenePathways(Map<String,ArrayList<String>> pathwayGenes)
Convert map of (pathway -> genes) to (gene -> pathways)
|
EntityMetaData |
getOutputMetaData() |
String |
getSimpleName() |
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) |
getInputMetaDataannotate, canAnnotate, getFullNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitannotate, canAnnotate, getDescription, getFullNamepublic static final String KEGG_GENE_ID
public static final String KEGG_PATHWAYS_IDS
public static final String KEGG_PATHWAYS_NAMES
@Autowired public KeggServiceAnnotator(AnnotationService annotatorService, HgncLocationsProvider hgncLocationsProvider, KeggDataProvider keggDataProvider) throws IOException
IOExceptionpublic void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>onApplicationEvent in class AbstractRepositoryAnnotatorpublic String getSimpleName()
public boolean annotationDataExists()
AbstractRepositoryAnnotatorannotationDataExists in class AbstractRepositoryAnnotatorpublic List<Entity> annotateEntity(Entity entity) throws IOException
annotateEntity in class AbstractRepositoryAnnotatorIOExceptionpublic static Map<String,ArrayList<String>> getKeggGenePathways(Map<String,ArrayList<String>> pathwayGenes)
pathwayGenes - public EntityMetaData getOutputMetaData()
Copyright © 2015. All Rights Reserved.