package org.opencb.opencga.storage.core.variant.annotation; import org.opencb.commons.datastore.core.ObjectMap; import org.opencb.commons.datastore.core.Query; import org.opencb.opencga.storage.core.exceptions.StorageEngineException; import java.io.IOException; /** * Created on 23/11/16. * * @author Jacobo Coll <jacobo167@gmail.com> */ public interface VariantAnnotationManager { String SPECIES = "species"; String ASSEMBLY = "assembly"; String ANNOTATION_SOURCE = "annotationSource"; String OVERWRITE_ANNOTATIONS = "overwriteAnnotations"; String VARIANT_ANNOTATOR_CLASSNAME = "variant.annotator.classname"; // File to load. String CREATE = "annotation.create"; String LOAD_FILE = "annotation.load.file"; String CUSTOM_ANNOTATION_KEY = "custom_annotation_key"; void annotate(Query query, ObjectMap options) throws VariantAnnotatorException, IOException, StorageEngineException; }