c4b0bffb34ea956be81bd62bc1d8cd61e530e5d0
ceisenhart
  Wed Jun 4 16:20:59 2014 -0700
stylistic changes
diff --git src/lib/fq.c src/lib/fq.c
index 994dab7..6eb30a5 100644
--- src/lib/fq.c
+++ src/lib/fq.c
@@ -43,15 +43,23 @@
 }
 
 void fqFree(struct fq **pFq)
 /* Free up *pFq and set it to NULL */
 {
 struct fq *fq = *pFq;
 if (fq != NULL)
     {
     freeMem(fq->header);
     freeMem(fq->dna);
     freeMem(fq->quality);
     freez(pFq);
     }
 }
 
+void fqWriteNext(struct fq *input, FILE *f)
+/*  Writes a single fastq structure to the file provided. */
+{
+fprintf(f,"%s\n",input->header);
+fprintf(f,"%s\n",input->dna);
+fprintf(f,"%s\n","+");
+fprintf(f,"%s\n",input->quality);
+}