[go: up one dir, main page]

Menu

[9bd658]: / src / Common / fastq.hh  Maximize  Restore  History

Download this file

32 lines (22 with data), 768 Bytes

 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
// Daniel Sommer
//
// File: fastq.h
//
// Last Modified: April 2011
//
// Routines to manipulate FASTQ format files
#ifndef __FASTQ_HH
#define __FASTQ_HH
#include "delcher.hh"
#include "inttypes_AMOS.hh"
#include <string>
#include <vector>
#include <cstring>
const int DEFAULT_FASTQ_WIDTH = 60;
// Max number of characters to print on a FASTA data line
enum FastqQualType {ILLUMINA, SANGER};
const std::string FASTQ_QUALITY_NAMES[] = {"ILLUMINA", "SANGER"};
const uint32_t FASTQ_QUALITY_COUNT = 2;
const FastqQualType FASTQ_DEFAULT_QUALITY_TYPE = SANGER;
bool Fastq_Read(FILE * fp, std::string & s, std::string & hdr, std::string & q, std::string & qualHdr, FastqQualType qualType = FASTQ_DEFAULT_QUALITY_TYPE);
#endif // #ifndef __FASTQ_HH