@Component public class SnpEffRunner extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ANN |
static String |
ENTITY_NAME_SUFFIX |
static String |
NAME |
| Constructor and Description |
|---|
SnpEffRunner(JarRunner jarRunner,
Entity snpEffAnnotatorSettings,
IdGenerator idGenerator,
VcfAttributes vcfAttributes,
EffectsMetaData effectsMetaData,
EntityTypeFactory entityTypeFactory,
AttributeFactory attributeFactory) |
| Modifier and Type | Method and Description |
|---|---|
File |
getInputVcfFile(Iterator<Entity> source)
Converts entities to a VCF file that can be passed to SnpEff.
|
Iterator<Entity> |
getSnpEffects(Iterable<Entity> source) |
Iterator<Entity> |
getSnpEffects(Iterator<Entity> source,
File inputVcf) |
String |
getSnpEffPath()
Gets the path to the SnpEff JAR.
|
EntityType |
getTargetEntityType(EntityType sourceEntityType) |
public static final String ENTITY_NAME_SUFFIX
public static final String NAME
public static final String ANN
@Autowired public SnpEffRunner(JarRunner jarRunner, Entity snpEffAnnotatorSettings, IdGenerator idGenerator, VcfAttributes vcfAttributes, EffectsMetaData effectsMetaData, EntityTypeFactory entityTypeFactory, AttributeFactory attributeFactory)
public File getInputVcfFile(Iterator<Entity> source) throws IOException
source - the Entities to convert to VCFIOExceptionpublic String getSnpEffPath()
public EntityType getTargetEntityType(EntityType sourceEntityType)
sourceEntityType - The entity type for the entity that is being annotated by snpEffCopyright © 2017. All rights reserved.