@Component(value="dbnsfpVariantService") public class DbnsfpVariantServiceAnnotator extends VariantAnnotator
This class uses a chromosome to approach a dbNSFP chromosome variant file, it then checks all locations recorded for a chromosome in the data set, for every line, and uses a matching line to add annotation to the data set variant.
dbNSFP variant returns: chr pos(1-coor) ref alt aaref aaalt hg18_pos(1-coor) genename Uniprot_acc Uniprot_id Uniprot_aapos Interpro_domain cds_strand refcodon SLR_test_statistic codonpos fold-degenerate Ancestral_allele Ensembl_geneid Ensembl_transcriptid aapos aapos_SIFT aapos_FATHMM SIFT_score SIFT_score_converted SIFT_pred Polyphen2_HDIV_score Polyphen2_HDIV_pred Polyphen2_HVAR_score Polyphen2_HVAR_pred LRT_score LRT_score_converted LRT_pred MutationTaster_score MutationTaster_score_converted MutationTaster_pred MutationAssessor_score MutationAssessor_score_converted MutationAssessor_pred FATHMM_score FATHMM_score_converted FATHMM_pred RadialSVM_score RadialSVM_score_converted RadialSVM_pred LR_score LR_pred Reliability_index GERP++_NR GERP++_RS phyloP 29way_pi 29way_logOdds LRT_Omega UniSNP_ids 1000Gp1_AC 1000Gp1_AF 1000Gp1_AFR_AC 1000Gp1_AFR_AF 1000Gp1_EUR_AC 1000Gp1_EUR_AF 1000Gp1_AMR_AC 1000Gp1_AMR_AF 1000Gp1_ASN_AC 1000Gp1_ASN_AF ESP6500_AA_AF ESP6500_EA_AF
| Modifier and Type | Field and Description |
|---|---|
static String |
CHROMOSOME_FILE_LOCATION_PROPERTY |
ALTERNATIVE, REFERENCECHROMOSOME, POSITIONANNOTATOR_PREFIX| Constructor and Description |
|---|
DbnsfpVariantServiceAnnotator(MolgenisSettings molgenisSettings,
AnnotationService annotatorService) |
| 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 CHROMOSOME_FILE_LOCATION_PROPERTY
@Autowired public DbnsfpVariantServiceAnnotator(MolgenisSettings molgenisSettings, AnnotationService annotatorService)
public 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.