Sample SNPs
Fast ordered sampling of rows from large text or binary files. Special cases for DNA variant files (.bed, VCF, HapMap, etc).
|
TPED file output class. More...
#include <varfiles.hpp>
Public Member Functions | |
TpedFileO () | |
Default constructor. | |
TpedFileO (const string &stubName) | |
File name constructor. More... | |
TpedFileO (const TpedFileO &in)=default | |
Copy constructor. | |
TpedFileO & | operator= (const TpedFileO &in)=default |
Copy assignment. | |
TpedFileO (TpedFileO &&in)=default | |
Move constructor. | |
TpedFileO & | operator= (TpedFileO &&in)=default |
Move assignment. | |
~TpedFileO () | |
Destructor. | |
void | open () |
Open stream to write. | |
Friends | |
class | TpedFileI |
TPED file output class.
Writes to TPED files and the corresponding .tfam files as necessary. Data are written in the SNP-major format.
|
inline |
File name constructor.
[in] | stubName | file name minus the extension |