![]() |
eXpress “1.5”
|
The Writer class is an abstract class for implementing a SAMWriter or BAMWriter. More...
#include <mapparser.h>
Public Member Functions | |
| virtual | ~Writer () |
| Dummy destructor. | |
| virtual void | write_fragment (Fragment &f)=0 |
| A member function that writes all mappings of the fragment to the ouptut file along with their posterior probabilities in the "XP" field. | |
Protected Attributes | |
| bool | _sample |
| A private bool that specifies if a single alignment should be sampled (true) or all output with their respective posterior probabilities (false). | |
The Writer class is an abstract class for implementing a SAMWriter or BAMWriter.
It writes Fragment objects back to file (in SAM/BAM format) with per-mapping probabilistic assignments, or by sampling a single mapping based on assignment probabilities.
Definition at line 99 of file mapparser.h.
| virtual void Writer::write_fragment | ( | Fragment & | f | ) | [pure virtual] |