diff --git a/clipper/ea-bcl2fastq.cpp b/clipper/ea-bcl2fastq.cpp index ece28c0..5bc0a1e 100644 --- a/clipper/ea-bcl2fastq.cpp +++ b/clipper/ea-bcl2fastq.cpp @@ -290,7 +290,7 @@ int main (int argc, char **argv) { ++output_fnum; // output file number is sequential masks[i].rnum=output_fnum; // save file number as "read number" if (usegz) { - outtmp = string_format("gzip -2 --rsyncable -c > %s.%d.fq.gz",out.c_str(),output_fnum); + outtmp = string_format("gzip -2 -c > %s.%d.fq.gz",out.c_str(),output_fnum); fo=popenordie(outtmp.c_str(),"w"); } else { outtmp = string_format("%s.%d.fq",out.c_str(),output_fnum); diff --git a/clipper/fastq-lib.cpp b/clipper/fastq-lib.cpp index e4e4321..df092c6 100644 --- a/clipper/fastq-lib.cpp +++ b/clipper/fastq-lib.cpp @@ -160,7 +160,7 @@ FILE *gzopen(const char *f, const char *m, bool*isgz) { if (!strcmp(ext,".gz")) { char *tmp=(char *)malloc(strlen(f)+100); if (strchr(m,'w')) { - strcpy(tmp, "gzip -3 --rsyncable > '"); + strcpy(tmp, "gzip -3 > '"); strcat(tmp, f); strcat(tmp, "'"); } else { @@ -361,7 +361,7 @@ int getstr (char ** lineptr, size_t *n, FILE * stream, char terminator, int offs NUL-terminate the line buffer. */ assert(*n - nchars_avail == read_pos - *lineptr); - if (nchars_avail < 1) + if (nchars_avail < 2) { if (*n > 64) *n *= 2; diff --git a/clipper/mirna-quant.cpp b/clipper/mirna-quant.cpp index d609dbc..98eae13 100644 --- a/clipper/mirna-quant.cpp +++ b/clipper/mirna-quant.cpp @@ -681,7 +681,7 @@ FILE *gzopen(const char *f, const char *m, bool*isgz) { if (!strcmp(fext(f),".gz")) { char *tmp=(char *)malloc(strlen(f)+100); if (strchr(m,'w')) { - strcpy(tmp, "gzip --rsyncable > '"); + strcpy(tmp, "gzip > '"); strcat(tmp, f); strcat(tmp, "'"); } else {