Shared functionality for sam_reader and bam_reader.
More...
|
| sam_base (const config &c) |
|
leftover_pipe & | leftovers () |
|
void | set_max_ed (const int ed) |
|
void | set_max_gaps (const int g) |
|
void | set_max_gapsize (const int g) |
|
void | set_max_hits (const int h) |
|
void | discard_softclipped (const bool d) |
|
|
static void | cigar2aln (std::string &aln, cigarstats &cs, const std::string &read, const std::string &cigar, const shore::sequence_record &chr, const size_t start, const int max_gapsize=1) |
| Convert cigar string to shore alignment string. More...
|
|
|
typedef std::map< std::string,
size_t >::const_iterator | ichr_t |
|
|
void | load_reference () |
| Load the reference sequence.
|
|
void | xa_parse (shore::alignment &f, std::string &seq, std::string &cigar, bool &isrev, cigarstats &cigsta, size_t &xaofs, const std::string &xa) |
| Parse BWA style XA tags.
|
|
|
static const int | MAXTAGS =3224 |
| Maximum number of tags ([A-Za-z][A-Za-z0-9]) = 3224.
|
|
Shared functionality for sam_reader and bam_reader.
static void shore::sam_base::cigar2aln |
( |
std::string & |
aln, |
|
|
cigarstats & |
cs, |
|
|
const std::string & |
read, |
|
|
const std::string & |
cigar, |
|
|
const shore::sequence_record & |
chr, |
|
|
const size_t |
start, |
|
|
const int |
max_gapsize = 1 |
|
) |
| |
|
static |
Convert cigar string to shore alignment string.
- Returns
- A pair (edit_distance,ngaps).
The documentation for this class was generated from the following file: