public class CmdLineAnnotatorUtils extends Object
| Constructor and Description |
|---|
CmdLineAnnotatorUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
annotate(RepositoryAnnotator annotator,
VcfAttributes vcfAttributes,
EntityTypeFactory entityTypeFactory,
AttributeFactory attributeFactory,
EffectStructureConverter effectStructureConverter,
File inputVcfFile,
File outputVCFFile,
List<String> attributesToInclude,
boolean update)
Adds a new compound attribute to an existing CrudRepository
|
public static String annotate(RepositoryAnnotator annotator, VcfAttributes vcfAttributes, EntityTypeFactory entityTypeFactory, AttributeFactory attributeFactory, EffectStructureConverter effectStructureConverter, File inputVcfFile, File outputVCFFile, List<String> attributesToInclude, boolean update) throws IOException, MolgenisInvalidFormatException
annotator - the annotator to be runnedvcfAttributes - utility class for vcf metadataentityTypeFactory - factory for molgenis entityTypeattributeFactory - factory for molgenis entityTypeeffectStructureConverter - utility class for converting a vcfRepo from and to the molgenis entity structure for "effects" annotationsinputVcfFile - the vcf file to be annotatedoutputVCFFile - the resulting, annotated vcf fileattributesToInclude - the attributes of the annotator that should be written to the resultupdate - boolean indicating if values already present for the annotator attributes should be updated(true) or overwritten (false)IOExceptionMolgenisInvalidFormatExceptionCopyright © 2017. All rights reserved.