public class VcfRepository extends AbstractRepository
| Modifier and Type | Field and Description |
|---|---|
static String |
ALT |
static AttributeMetaData |
ALT_META |
static String |
CHROM |
static AttributeMetaData |
CHROM_META |
static String |
FILTER |
static AttributeMetaData |
FILTER_META |
static String |
ID |
static AttributeMetaData |
ID_META |
static String |
INFO |
static String |
INTERNAL_ID |
static String |
NAME |
static String |
POS |
static AttributeMetaData |
POS_META |
static String |
PREFIX |
static String |
QUAL |
static AttributeMetaData |
QUAL_META |
static String |
REF |
static AttributeMetaData |
REF_META |
static String |
SAMPLES |
| Constructor and Description |
|---|
VcfRepository(File file,
String entityName) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
count() |
protected org.molgenis.vcf.VcfReader |
createVcfReader() |
Set<RepositoryCapability> |
getCapabilities() |
EntityMetaData |
getEntityMetaData() |
static String |
getInfoPrefix()
Prefix to make INFO column names safe-ish.
|
Iterator<Entity> |
iterator() |
Entity |
toEntity(EntityMetaData emd,
org.molgenis.vcf.VcfRecord vcfRecord,
org.molgenis.vcf.meta.VcfMeta vcfMeta) |
add, add, aggregate, clearCache, count, delete, delete, deleteAll, deleteById, deleteById, findAll, findAll, findOne, findOne, flush, getName, query, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static final String CHROM
public static final String ALT
public static final String POS
public static final String REF
public static final String FILTER
public static final String QUAL
public static final String ID
public static final String INTERNAL_ID
public static final String INFO
public static final String SAMPLES
public static final String NAME
public static final String PREFIX
public static final AttributeMetaData CHROM_META
public static final AttributeMetaData ALT_META
public static final AttributeMetaData POS_META
public static final AttributeMetaData REF_META
public static final AttributeMetaData FILTER_META
public static final AttributeMetaData QUAL_META
public static final AttributeMetaData ID_META
public VcfRepository(File file, String entityName) throws IOException
IOExceptionpublic Entity toEntity(EntityMetaData emd, org.molgenis.vcf.VcfRecord vcfRecord, org.molgenis.vcf.meta.VcfMeta vcfMeta) throws IOException
IOExceptionpublic EntityMetaData getEntityMetaData()
public static String getInfoPrefix()
protected org.molgenis.vcf.VcfReader createVcfReader() throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class AbstractRepositoryIOExceptionpublic Set<RepositoryCapability> getCapabilities()
public long count()
count in interface Repositorycount in class AbstractRepositoryCopyright © 2015. All Rights Reserved.