VcfVariantRecordMapper
in package
implements
VcfVariantRecordMapperInterface
Class VcfVariantRecordMapper
Tags
Table of Contents
Interfaces
- VcfVariantRecordMapperInterface
- Interface VcfVariantRecordMapperInterface - converts between the immutable VcfVariant value object and its Doctrine storage shape.
Methods
- toRecord() : VcfVariantRecord
- toVariant() : VcfVariant
- A record stored before ALT alleles were validated may hold the empty allele an empty ALT column used to give : it is no allele, and is dropped rather than making the record unreadable.
Methods
toRecord()
public
toRecord(VcfVariant $oVariant) : VcfVariantRecord
Parameters
- $oVariant : VcfVariant
Return values
VcfVariantRecordtoVariant()
A record stored before ALT alleles were validated may hold the empty allele an empty ALT column used to give : it is no allele, and is dropped rather than making the record unreadable.
public
toVariant(VcfVariantRecord $oRecord) : VcfVariant
Parameters
- $oRecord : VcfVariantRecord