INNER CODE UNIT · C
m_b
lh3/bedtk · bedtk.c:259
int64_t i, m_b = 0, *b = 0, n_b;
int c;
char *fn_order = 0;
while ((c = ketopt(&o, argc, argv, 1, "s:", 0)) >= 0) {
if (c == 's') fn_order = o.arg;
}
if (argc - o.ind < 1 || (argc - o.ind < 2 && isatty(0))) {
printf("Usage: bedtk isec [options] <A.bed> <B.bed>\n");
printf("Options:\n");
printf(" -s FILE list of contig IDs to specify the output order []\n");
return 1;
}
cr = read_bed3b(argv[o.ind], 0, fn_order);
assert(cr);
cr_index2(cr, 1);