@Component(value="caddService") public class CaddServiceAnnotator extends VariantAnnotator
This class performs a system call to cross reference a chromosome and genomic location with a tabix indexed file. A match can result in 1, 2 or 3 hits. These matches are reduced to one based on a reference and alternative nucleotide base. The remaining hit will be used to parse two CADD scores.
CADD returns: CADD score Absolute, CADD score Scaled
| Modifier and Type | Field and Description |
|---|---|
static String |
CADD_ABS |
static String |
CADD_FILE_LOCATION_PROPERTY |
static String |
CADD_SCALED |
ALTERNATIVE, REFERENCECHROMOSOME, POSITIONANNOTATOR_PREFIX| Constructor and Description |
|---|
CaddServiceAnnotator(File caddTsvGzFile,
File inputVcfFile,
File outputVCFFile) |
CaddServiceAnnotator(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
|
String |
getDescription() |
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, getFullNamepublic static final String CADD_SCALED
public static final String CADD_ABS
public static final String CADD_FILE_LOCATION_PROPERTY
@Autowired public CaddServiceAnnotator(MolgenisSettings molgenisSettings, AnnotationService annotatorService) 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 boolean annotationDataExists()
AbstractRepositoryAnnotatorannotationDataExists in class AbstractRepositoryAnnotatorpublic String getSimpleName()
public List<Entity> annotateEntity(Entity entity) throws IOException, InterruptedException
annotateEntity in class AbstractRepositoryAnnotatorIOExceptionInterruptedExceptionpublic EntityMetaData getOutputMetaData()
public String getDescription()
Copyright © 2015. All Rights Reserved.