File: AlignmentSet.hpp

package info (click to toggle)
pbseqlib 5.3.1%2Bdfsg-2.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,136 kB
  • sloc: cpp: 77,246; python: 570; makefile: 312; sh: 111; ansic: 9
file content (33 lines) | stat: -rw-r--r-- 884 bytes parent folder | download | duplicates (5)
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
32
33
#ifndef _BLASR_SAM_ALIGNMENT_SET_HPP_
#define _BLASR_SAM_ALIGNMENT_SET_HPP_

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

#include <pbdata/FASTASequence.hpp>
#include <pbdata/sam/ReadGroup.hpp>
#include <pbdata/sam/ReferenceSequence.hpp>
#include <pbdata/sam/SAMAlignment.hpp>
#include <pbdata/sam/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