INNER CODE UNIT · C
m_b
lh3/bedtk · bedtk.c:329
int64_t m_b = 0, *b = 0, n_b;
int c, win = 0, vcf_in = 0, paf_in = 0, test_con = 0, non_sat = 0;
double min_frac = 0.0;
gzFile fp;
kstream_t *ks;
kstring_t str = {0,0,0}, out = {0,0,0};
while ((c = ketopt(&o, argc, argv, 1, "cw:Cvpf:", 0)) >= 0) {
if (c == 'c') vcf_in = 1;
else if (c == 'p') paf_in = 1;
else if (c == 'C') test_con = 1;
else if (c == 'v') non_sat = 1;
else if (c == 'w') win = atol(o.arg);
else if (c == 'f') min_frac = atof(o.arg);
}
if (argc - o.ind < 1 || (argc - o.ind < 2 && isatty(0))) {
printf("Usage: bedtk flt [options] <loaded.bed> <streamed.bed>\n");