INNER CODE UNIT · C

en

lh3/bedtk · bedtk.c:107

				en = st + (q - p);
			} else if (i == 7) {
				char *s = 0;
				if (strncmp(p, "END=", 4) == 0) {
					s = p + 4;
				} else {
					s = strstr(p, ";END=");
					if (s) s += 5;
				}
				if (s) en = strtol(s, &s, 10);
			}
			if (i != 0) *q = c;
			++i, p = q + 1;
			if (i == 8 || c == '\0') break;
		}
	}
	*st_ = st, *en_ = en;
	return i >= 7? ctg : 0;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…