#ifndef __CIGAR__ #define __CIGAR__ #include #include #include "SAM_entry.hpp" using namespace std; namespace Cigar { typedef struct { unsigned long len; char code; } t_cigar; vector parse_cigar(string& cigar_txt); string construct_cigar(vector& segments, unsigned int read_length, const string& genome_seq, char strand = 0); char check_intron_consensus(unsigned long prev_exon_rend, unsigned long next_exon_lend, const string& genome_seq, char strand); } #endif