File: LongReadsSet.h

package info (click to toggle)
perm 0.4.0-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 976 kB
  • sloc: cpp: 13,499; makefile: 98; sh: 12
file content (23 lines) | stat: -rw-r--r-- 1,193 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
#pragma once
#include "PairedReadsSet.h"
#include "FileOutputBuffer.h"

class CLongReadsSet : public CPairedReadsSet
{
public:
    CLongReadsSet(void);
    CLongReadsSet (const char* InputFile, const char* fileFormat,\
                   unsigned int expReadStrLineLength, unsigned int allowedNumOfNinRead, unsigned int readStartIndex);
    ~CLongReadsSet(void);
    unsigned int get_next_capacity_long_reads();
    unsigned int get_next_capacity_long_reads(CLongReadsSet &set2);
    bool save_next_long_read(bool bSOLiDReadFormat, bool getQScores, bool in5to3cat3to5Format);
    // bool save_next_long_read(unsigned int fullReadLength, bool getQScores, bool in5to3cat3to5Format);
    inline bool save_next_long_Illumina_read(unsigned int fullReadLength, bool getQScores, bool in5to3cat3to5Format);
    inline bool save_next_long_SOLiD_read(unsigned int fullReadLength, bool getQScores);
    int size();
    void setBadReadOutputFile(FileOutputBuffer* pOut);
    unsigned int longReadLength;
    friend int get_next_capacity_long_paired_reads(CLongReadsSet &set1, CLongReadsSet &set2);
};
int get_next_capacity_long_paired_reads(CLongReadsSet &set1, CLongReadsSet &set2);