Sample SNPs
Fast ordered sampling of rows from large text or binary files. Special cases for DNA variant files (.bed, VCF, HapMap, etc).
|
Base variant file class. More...
#include <varfiles.hpp>
Public Member Functions | |
VarFile (const VarFile &in)=default | |
Copy constructor. | |
VarFile & | operator= (const VarFile &in)=default |
Copy assignment. | |
VarFile (VarFile &&in)=default | |
Move constructor. | |
VarFile & | operator= (VarFile &&in)=default |
Move assignment. | |
~VarFile () | |
Destructor. | |
virtual void | open ()=0 |
Open stream. | |
virtual void | close ()=0 |
Close stream. | |
Protected Member Functions | |
VarFile () | |
Default constructor (protected) | |
Protected Attributes | |
fstream | _varFile |
Variant file stream. | |
Base variant file class.
Abstract base class for all the input/output formats. Cannot be initialized directly.