File: AlignmentSet.hpp

package info (click to toggle)
pbseqlib 0~20161219-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,924 kB
  • ctags: 5,123
  • sloc: cpp: 82,727; makefile: 305; python: 239; sh: 8
file content (31 lines) | stat: -rw-r--r-- 805 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef _BLASR_SAM_ALIGNMENT_SET_HPP_
#define _BLASR_SAM_ALIGNMENT_SET_HPP_

#include <map>
#include <string>
#include <vector>

#include "../FASTASequence.hpp"
#include "ReadGroup.hpp"
#include "ReferenceSequence.hpp"
#include "SAMAlignment.hpp"
#include "SAMHeader.hpp"

template<typename T_ReferenceSequence=SAMReferenceSequence, typename T_ReadGroup=SAMReadGroup, typename T_Alignment=SAMAlignment>
class AlignmentSet {
 public:
  SAMHeader header;
  std::vector<T_ReferenceSequence> references;
  std::vector<T_ReadGroup> readGroups;
  std::vector<T_Alignment> alignments;

  //
  //  Rearrange references such that they are placed in the same order
  //  as fastaReferences
  //  
  void RearrangeReferences(std::vector<FASTASequence> & fastaReferences);
};

#include "AlignmentSetImpl.hpp"

#endif