/usr/include/kmer/seq/fastqStdin.H is in libkmer-dev 0~20150903+r2013-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | #ifndef FASTQSTDIN_H
#define FASTQSTDIN_H
#include "util++.H"
#include "bio++.H"
#include "seqFile.H"
class fastqStdin : public seqFile {
protected:
fastqStdin(const char *filename);
fastqStdin();
public:
~fastqStdin();
protected:
seqFile *openFile(const char *filename);
public:
uint32 getNumberOfSequences(void);
public:
uint32 find(const char *sequencename);
uint32 getSequenceLength(uint32 iid);
bool getSequence(uint32 iid,
char *&h, uint32 &hLen, uint32 &hMax,
char *&s, uint32 &sLen, uint32 &sMax);
bool getSequence(uint32 iid,
uint32 bgn, uint32 end, char *s);
private:
void clear(void);
bool loadNextSequence(char *&h, uint32 &hLen, uint32 &hMax,
char *&s, uint32 &sLen, uint32 &sMax);
readBuffer *_rb;
uint32 _nextIID;
FILE *_pipe;
char *_header;
uint32 _headerLen;
uint32 _headerMax;
char *_sequence;
uint32 _sequenceLen;
uint32 _sequenceMax;
char *_quality;
uint32 _qualityLen;
uint32 _qualityMax;
friend class seqFactory;
};
#endif // FASTQSTDIN_H
|