cfe02faff12c12a4e09ee5dd50729c804f98a92f markd Sun Jan 8 19:19:18 2023 -0800 increase fixed buffer size to handle ONT RNA-Seq minimap BAMs diff --git src/utils/fastqToFa/fastqToFa.c src/utils/fastqToFa/fastqToFa.c index ab7b479..07d94a1 100644 --- src/utils/fastqToFa/fastqToFa.c +++ src/utils/fastqToFa/fastqToFa.c @@ -41,31 +41,31 @@ {"solexa", OPTION_BOOLEAN}, {"noErrors", OPTION_BOOLEAN}, {NULL, 0}, }; void fastqToFa(char *inFastq, char *outFa) /* fastqToFa - Convert from fastq to fasta format.. */ { struct lineFile *lf = lineFileOpen(inFastq, TRUE); FILE *f = mustOpen(outFa, "w"); char *line; boolean inSequence = FALSE; long long seqCount = 0; long long totalSize = 0; boolean readingOk = lineFileNextReal(lf, &line); -char seqNameNote[128]; +char seqNameNote[4096]; FILE *qFH = NULL; FILE *qSZ = NULL; if (qualFile) qFH = mustOpen(qualFile, "w"); if (qualSizes) qSZ = mustOpen(qualSizes, "w"); // the first line has already been read upon entry here, and thus // each time coming back to the top of this while() loop, the sequence // name line has been read and is ready to process. while (readingOk) { line = skipLeadingSpaces(line);