a44421a79fb36cc2036fe116b97ea3bc9590cd0c braney Fri Dec 2 09:34:39 2011 -0800 removed rcsid (#295) diff --git src/utils/faToFastq/faToFastq.c src/utils/faToFastq/faToFastq.c index 96712fe..0af0261 100644 --- src/utils/faToFastq/faToFastq.c +++ src/utils/faToFastq/faToFastq.c @@ -1,61 +1,60 @@ /* faToFastq - Convert fa to fastq format, just faking quality values.. */ #include "common.h" #include "linefile.h" #include "hash.h" #include "options.h" #include "fa.h" -static char const rcsid[] = "$Id: faToFastq.c,v 1.1 2008/10/15 23:52:15 kent Exp $"; void usage() /* Explain usage and exit. */ { errAbort( "faToFastq - Convert fa to fastq format, just faking quality values.\n" "usage:\n" " faToFastq in.fa out.fastq\n" "options:\n" " -qual=X quality letter to use. Default is '<' which is good I think....\n" ); } char qualLetter = '<'; static struct optionSpec options[] = { {"qual", OPTION_STRING}, {NULL, 0}, }; void faToFastq(char *inFa, char *outFastq) /* faToFastq - Convert fa to fastq format, just faking quality values.. */ { struct lineFile *lf = lineFileOpen(inFa, TRUE); FILE *f = mustOpen(outFastq, "w"); DNA *dna; int size; char *name; while (faMixedSpeedReadNext(lf, &dna, &size, &name)) { fprintf(f, "@%s\n", name); fprintf(f, "%s\n", dna); fprintf(f, "+\n"); int i; for (i=0; i