@Component(value="SnpEffServiceAnnotator") public class SnpEffServiceAnnotator extends Object implements RepositoryAnnotator, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
| Modifier and Type | Class and Description |
|---|---|
static class |
SnpEffServiceAnnotator.impact |
| Modifier and Type | Field and Description |
|---|---|
static String |
ANNOTATION |
static String |
C_DNA_POSITION |
static String |
CDS_POSITION |
static String |
DISTANCE_TO_FEATURE |
static String |
ERRORS |
static String |
FEATURE_ID |
static String |
FEATURE_TYPE |
static String |
GENE_ID |
static String |
GENE_NAME |
static String |
HGVS_C |
static String |
HGVS_P |
static String |
LOF |
static String |
NMD |
static String |
PROTEIN_POSITION |
static String |
PUTATIVE_IMPACT |
static String |
RANK_TOTAL |
static String |
SNPEFF_JAR_LOCATION_PROPERTY |
static String |
snpEffPath |
static String |
TRANSCRIPT_BIOTYPE |
ANNOTATOR_PREFIX| Constructor and Description |
|---|
SnpEffServiceAnnotator(File snpEffLocation,
File inputVcfFile,
File outputVCFFile) |
SnpEffServiceAnnotator(MolgenisSettings molgenisSettings,
AnnotationService annotatorService,
DataService dataService) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Entity> |
annotate(Iterable<Entity> source) |
String |
canAnnotate(EntityMetaData repoMetaData) |
String |
getDescription() |
String |
getFullName() |
EntityMetaData |
getInputMetaData() |
File |
getInputTempFile(Iterable<Entity> source,
String tempInputFileName) |
EntityMetaData |
getOutputMetaData() |
String |
getSimpleName() |
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) |
Entity |
parseOutputLineToEntity(String line,
String entityName) |
void |
runSnpEff(File tempInput,
File tempOutput) |
public static final String SNPEFF_JAR_LOCATION_PROPERTY
public static String snpEffPath
public static final String ANNOTATION
public static final String PUTATIVE_IMPACT
public static final String GENE_NAME
public static final String GENE_ID
public static final String FEATURE_TYPE
public static final String FEATURE_ID
public static final String TRANSCRIPT_BIOTYPE
public static final String RANK_TOTAL
public static final String HGVS_C
public static final String HGVS_P
public static final String C_DNA_POSITION
public static final String CDS_POSITION
public static final String PROTEIN_POSITION
public static final String DISTANCE_TO_FEATURE
public static final String ERRORS
public static final String LOF
public static final String NMD
@Autowired public SnpEffServiceAnnotator(MolgenisSettings molgenisSettings, AnnotationService annotatorService, DataService dataService) throws IOException
IOExceptionpublic void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>public String getSimpleName()
getSimpleName in interface RepositoryAnnotatorpublic String getFullName()
getFullName in interface RepositoryAnnotatorpublic String getDescription()
getDescription in interface RepositoryAnnotatorpublic Iterator<Entity> annotate(Iterable<Entity> source)
annotate in interface RepositoryAnnotatorpublic void runSnpEff(File tempInput, File tempOutput) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic File getInputTempFile(Iterable<Entity> source, String tempInputFileName) throws IOException
IOExceptionpublic EntityMetaData getOutputMetaData()
getOutputMetaData in interface RepositoryAnnotatorpublic EntityMetaData getInputMetaData()
getInputMetaData in interface RepositoryAnnotatorpublic String canAnnotate(EntityMetaData repoMetaData)
canAnnotate in interface RepositoryAnnotatorCopyright © 2015. All Rights Reserved.