03b7b3bc8338dc0bf9ba3aa4e2d90b232fb53b2b kent Tue Mar 4 12:25:40 2014 -0800 Adding nice usage comment to this C interface to bigBed files. diff --git src/inc/fq.h src/inc/fq.h new file mode 100644 index 0000000..8be9c93 --- /dev/null +++ src/inc/fq.h @@ -0,0 +1,14 @@ +/* fq - stuff for doing i/o on fastq files. */ + +struct fq3 +/* Representation of record as 3 lines of text, not further parsed. We omit the 3 of 4 lines in the + * fastq record, since it is always just '+'. */ + { + struct fq3 *next; + char *atLine; // This line starts with @ and contains the sequence name plus other stuff + char *seqLine; // ACGT and on occassional N normally + char *qualLine; // Might be 33-based (Sanger) or 64 based (Solexa) + }; + +struct fq3 *fq3ReadNext(struct lineFile *lf); +/* Read next record, return it as fq3. */