Sample SNPs
Fast ordered sampling of rows from large text or binary files. Special cases for DNA variant files (.bed, VCF, HapMap, etc).
|
HMP file output class. More...
#include <varfiles.hpp>
Public Member Functions | |
HmpFileO () | |
Default constructor. | |
HmpFileO (const string &fileName) | |
File name constructor. More... | |
HmpFileO (const HmpFileO &in)=default | |
Copy constructor. | |
HmpFileO & | operator= (const HmpFileO &in)=default |
Copy assignment. | |
HmpFileO (HmpFileO &&in)=default | |
Move constructor. | |
HmpFileO & | operator= (HmpFileO &&in)=default |
Move assignment. | |
~HmpFileO () | |
Destructor. | |
void | open () |
Open stream to write. | |
Public Member Functions inherited from sampFiles::HmpFile | |
HmpFile () | |
Default constructor. | |
HmpFile (const string &fileName) | |
Constructor with file name. More... | |
HmpFile (const HmpFile &in)=default | |
Copy constructor. | |
HmpFile & | operator= (const HmpFile &in)=default |
Copy assignment. | |
HmpFile (HmpFile &&in)=default | |
Move constructor. | |
HmpFile & | operator= (HmpFile &&in)=default |
Move assignment. | |
~HmpFile () | |
Destructor. | |
virtual void | close () |
Close stream. | |
Public Member Functions inherited from sampFiles::GtxtFile | |
GtxtFile () | |
Default constructor. | |
GtxtFile (const string &fileName) | |
Constructor with file name. More... | |
GtxtFile (const string &fileName, const bool &head) | |
Constructor with file name and header indicator. More... | |
GtxtFile (const GtxtFile &in)=default | |
Copy constructor. | |
GtxtFile & | operator= (const GtxtFile &in)=default |
Copy assignment. | |
GtxtFile (GtxtFile &&in)=default | |
Move constructor. | |
GtxtFile & | operator= (GtxtFile &&in)=default |
Move assignment. | |
~GtxtFile () | |
Destructor. | |
Public Member Functions inherited from sampFiles::VarFile | |
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. | |
Friends | |
class | HmpFileI |
Additional Inherited Members | |
Protected Member Functions inherited from sampFiles::VarFile | |
VarFile () | |
Default constructor (protected) | |
Protected Attributes inherited from sampFiles::GtxtFile | |
string | _fileName |
File name. | |
bool | _head |
Is there a header? | |
Protected Attributes inherited from sampFiles::VarFile | |
fstream | _varFile |
Variant file stream. | |
HMP file output class.
Writes HMP files.
|
inline |
File name constructor.
[in] | fileName | file name including the extension |