SAMWriter

Encapsulates a SAM/BAM/CRAM, but as write-only

Constructors

this
this(T f, bam_hdr_t* header, SAMWriterTypes t, int extra_threads)

Create a representation of SAM/BAM/CRAM file from given filename or File

Destructor

~this
~this()

Undocumented in source.

Postblit

this(this)
this(this)

disallow copying

Members

Functions

close
void close()

close file

write
void write(SAMRecord* rec)

write out to disk

Variables

filename
string filename;

filename; as usable from D

header
bam_hdr_t* header;

header struct

Meta