Sample SNPs
Fast ordered sampling of rows from large text or binary files. Special cases for DNA variant files (.bed, VCF, HapMap, etc).
Public Member Functions | Friends | List of all members
sampFiles::TpedFileO Class Reference

TPED file output class. More...

#include <varfiles.hpp>

Inheritance diagram for sampFiles::TpedFileO:
[legend]
Collaboration diagram for sampFiles::TpedFileO:
[legend]

Public Member Functions

 TpedFileO ()
 Default constructor.
 
 TpedFileO (const string &stubName)
 File name constructor. More...
 
 TpedFileO (const TpedFileO &in)=default
 Copy constructor.
 
TpedFileOoperator= (const TpedFileO &in)=default
 Copy assignment.
 
 TpedFileO (TpedFileO &&in)=default
 Move constructor.
 
TpedFileOoperator= (TpedFileO &&in)=default
 Move assignment.
 
 ~TpedFileO ()
 Destructor.
 
void open ()
 Open stream to write.
 

Friends

class TpedFileI
 

Detailed Description

TPED file output class.

Writes to TPED files and the corresponding .tfam files as necessary. Data are written in the SNP-major format.

Constructor & Destructor Documentation

◆ TpedFileO()

sampFiles::TpedFileO::TpedFileO ( const string &  stubName)
inline

File name constructor.

Parameters
[in]stubNamefile name minus the extension

The documentation for this class was generated from the following files: