File: HDFCmpData.hpp

package info (click to toggle)
pbseqlib 5.3.4%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 7,020 kB
  • sloc: cpp: 77,246; python: 331; sh: 103; makefile: 42
file content (33 lines) | stat: -rw-r--r-- 1,002 bytes parent folder | download | duplicates (4)
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_HDF_CMP_DATA_HPP_
#define _BLASR_HDF_CMP_DATA_HPP_

#include <hdf/HDFAtom.hpp>
#include <hdf/HDFCmpRefAlignmentGroup.hpp>

class HDFCmpData
{
public:
    HDFAtom<std::string> commandLine;
    H5::H5File hdfCmpFile;
    HDFArray<int> movieNameIdArray;
    HDFStringArray movieNameArray;

    HDFStringArray readGroupPathArray;
    HDFArray<int> readGroupPathIdArray;

    HDFArray<int> refSeqNameIdArray;
    HDFStringArray refSeqNameArray;
    static const int NCols = 22;
    std::vector<HDFAtom<std::string> > colNameAtoms;
    std::vector<HDFCmpRefAlignmentGroup *> refAlignGroups;
    std::map<std::string, int> nameToAlignmentGroupIndex;
    static const char *colNameIds[];

    void Close() { hdfCmpFile.close(); }
};

const char *HDFCmpData::colNameIds[] = {"00", "01", "02", "03", "04", "05", "06", "07",
                                        "08", "09", "10", "11", "12", "13", "14", "15",
                                        "16", "17", "18", "19", "20", "21"};

#endif