@Component(value="dbnsfpGeneService") public class DbnsfpGeneServiceAnnotator extends LocusAnnotator
This class uses a location to retrieve a gene from the ... class. This gene can then be used to approach the dbNSFP gene file. It extracts relevant gene annotations from this file. This can be run seperately from the dbNSFP variant service.
dbNSFP gene returns: Gene_name Ensembl_gene chr Gene_old_names Gene_other_names Uniprot_acc Uniprot_id Entrez_gene_id CCDS_id Refseq_id ucsc_id MIM_id Gene_full_name Pathway(Uniprot) Pathway(ConsensusPathDB) Function_description Disease_description MIM_phenotype_id MIM_disease Trait_association(GWAS) GO_Slim_biological_process GO_Slim_cellular_component GO_Slim_molecular_function Expression(egenetics) Expression(GNF/Atlas) Interactions(IntAct) Interactions(BioGRID) Interactions(ConsensusPathDB) P(HI) P(rec) Known_rec_info Essential_gene
| Modifier and Type | Field and Description |
|---|---|
static String |
GENE_FILE_LOCATION_PROPERTY |
CHROMOSOME, POSITIONANNOTATOR_PREFIX| Constructor and Description |
|---|
DbnsfpGeneServiceAnnotator(MolgenisSettings molgenisSettings,
AnnotationService annotatorService,
HgncLocationsProvider hgncLocationsProvider) |
| 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 |
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 GENE_FILE_LOCATION_PROPERTY
@Autowired public DbnsfpGeneServiceAnnotator(MolgenisSettings molgenisSettings, AnnotationService annotatorService, HgncLocationsProvider hgncLocationsProvider) 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 EntityMetaData getOutputMetaData()
Copyright © 2015. All Rights Reserved.