NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Methods | List of all members
nvbio::io::BamOutput Struct Reference

Detailed description

Definition at line 46 of file output_bam.h.

#include <output_bam.h>

Inheritance diagram for nvbio::io::BamOutput:
nvbio::io::OutputFile

Public Methods

 BamOutput (const char *file_name, AlignmentType alignment_type, BNT bnt)
 
 ~BamOutput ()
 
void header ()
 
void process (struct HostOutputBatchSE &batch)
 
void process (struct HostOutputBatchPE &batch)
 
void close (void)
 Flush and close the output file. More...
 
- Public Methods inherited from nvbio::io::OutputFile
virtual ~OutputFile ()
 
void set_program (const char *_pg_id, const char *_pg_name, const char *_pg_version, const char *_pg_args)
 
void set_rg (const char *_rg_id, const char *_rg_string)
 
virtual void configure_mapq_evaluator (int mapq_filter)
 
virtual IOStatsget_aggregate_statistics (void)
 Returns aggregate I/O statistics for this object. More...
 

Additional Inherited Members

- Static Public Methods inherited from nvbio::io::OutputFile
static OutputFileopen (const char *file_name, AlignmentType aln_type, BNT bnt)
 
- Proteced Methods inherited from nvbio::io::OutputFile
 OutputFile (const char *file_name, AlignmentType alignment_type, BNT bnt)
 
- Protected Members inherited from nvbio::io::OutputFile
const char * file_name
 Name of the file we're writing. More...
 
AlignmentType alignment_type
 The type of alignment we're running (single or paired-end) More...
 
BNT bnt
 Reference genome data handle. More...
 
int mapq_filter
 The current mapping quality filter: reads with a mapq below this value will be marked as not aligned. More...
 
IOStats iostats
 I/O statistics. More...
 
std::string pg_id
 
std::string pg_name
 
std::string pg_version
 
std::string pg_args
 
std::string rg_id
 
std::string rg_string
 

Constructor & Destructor Documentation

nvbio::io::BamOutput::BamOutput ( const char *  file_name,
AlignmentType  alignment_type,
BNT  bnt 
)

Definition at line 39 of file output_bam.cpp.

nvbio::io::BamOutput::~BamOutput ( )

Definition at line 57 of file output_bam.cpp.

Member Function Documentation

void nvbio::io::BamOutput::close ( void  )
virtual

Flush and close the output file.

Reimplemented from nvbio::io::OutputFile.

Definition at line 675 of file output_bam.cpp.

void nvbio::io::BamOutput::header ( )
inlinevirtual

write the header out

Reimplemented from nvbio::io::OutputFile.

Definition at line 69 of file output_bam.h.

void nvbio::io::BamOutput::process ( struct HostOutputBatchSE batch)
virtual

Process a set of alignment results for the current batch.

Parameters
batchHandle to the buffers containing the alignment results

Reimplemented from nvbio::io::OutputFile.

Definition at line 521 of file output_bam.cpp.

void nvbio::io::BamOutput::process ( struct HostOutputBatchPE batch)
virtual

Process a set of alignment results for the current batch.

Parameters
batchHandle to the buffers containing the alignment results

Reimplemented from nvbio::io::OutputFile.

Definition at line 546 of file output_bam.cpp.


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