INNER CODE UNIT · C

sat

lh3/bedtk · bedtk.c:395

			sat = (cov >= (en1 - st1) * min_frac);
		} else sat = (n_b > 0);
		out.l = 0;
		if ((sat && !non_sat) || (!sat && non_sat)) {
			if (paf_in) {
				*(rest - 1) = '\t';
				fwrite(str.s, 1, str.l, stdout);
				putchar('\n');
			} else if (vcf_in) {
				mm_sprintf_lite(&out, "%s\t", ctg);
				fwrite(out.s, 1, out.l, stdout);
				puts(rest);
			} else {
				mm_sprintf_lite(&out, "%s\t%d\t%d", ctg, st1, en1);
				fwrite(out.s, 1, out.l, stdout);
				if (rest) puts(rest);
				else putchar('\n');
			}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…