Skip to content

Commit 0fd7543

Browse files
committed
fix: reword filter command-line option
1 parent c50215d commit 0fd7543

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/globals.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ void Globals::print_usage() const
458458

459459
printf("\n Variant Filtering/Selection:\n");
460460
printf(" -f, --filter <STRING1,STRING2...> [ALL]\n");
461-
printf(" select just variants passing these FILTERs (OR operation)\n");
461+
printf(" select just variants with these FILTER values (OR operation)\n");
462462
printf(" -l, --largest-variant <INTEGER> [%d]\n", g.max_size);
463463
printf(" maximum variant size, larger variants ignored\n");
464464
printf(" -sv, --sv-threshold <INTEGER> [%d]\n", g.sv_threshold);

src/variant.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ variantData::variantData(std::string vcf_fn,
688688
}
689689
}
690690

691-
// if so, save this filter's index
691+
// if so, save this filter's index (to compare against for variants)
692692
if (filter_idx >= 0) {
693693
for (int j = 0; j < hdr->hrec[i]->nkeys; j++) {
694694
if (std::string(hdr->hrec[i]->keys[j]) == std::string("IDX")) {

0 commit comments

Comments
 (0)