c4b0bffb34ea956be81bd62bc1d8cd61e530e5d0
ceisenhart
  Wed Jun 4 16:20:59 2014 -0700
stylistic changes
diff --git src/inc/fq.h src/inc/fq.h
index debba9a..22b04f4 100644
--- src/inc/fq.h
+++ src/inc/fq.h
@@ -1,23 +1,26 @@
 /* fq - stuff for doing i/o on fastq files. */
 
 #ifndef FQ_H
 #define FQ_H
 
 struct fq
-/* 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 '+'. */
+/* Representation of record as 3 lines of text, not further parsed.  We omit the 1 of 4 lines in the
+ * fastq record, using '+' as a marker between dna and quality. */
     {
     struct fq *next;
     char *header;   // This line starts with @ and contains the sequence name plus other stuff
     char *dna;  // ACGT and on occassional N normally
-    char *quality; // Might be 33-based (Sanger) or 64 based (Solexa)
+    unsigned char *quality; // Might be 33-based (Sanger) or 64 based (Solexa)
     };
 
 struct fq *fqReadNext(struct lineFile *lf);
-/* Read next record, return it as fq3. */
+/* Read next record, return a fq struct. */
 
 void fqFree(struct fq **pFq);
 /* Free up *pFq and set it to NULL */
 
+void fqWriteNext(struct fq *input, FILE *f);
+/*  Writes a single fastq structure to the file provided. */
+
 #endif /* FQ_H */