Skip to content

Commit

Permalink
fixed comment because it wasmisleading
Browse files Browse the repository at this point in the history
  • Loading branch information
elileka committed Jun 19, 2020
1 parent def7ace commit e2510e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/taxonomy/filtertaxseqdb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ int filtertaxseqdb(int argc, const char **argv, const Command& command) {
taxon = mappingIt->second;
}

// if taxon is an ancestor of the requested taxid, it will be retained
// if taxon is a descendent of the requested taxid, it will be retained.
// e.g. if in taxonomyExpression taxid=2 (bacteria) and taxon=562 (E.coli)
// then the check will return "true" cause taxon is descendent of taxid
if (taxonomyExpression.isAncestor(taxon)) {
if (par.subDbMode == Parameters::SUBDB_MODE_SOFT) {
writer.writeIndexEntry(key, offset, length, thread_idx);
Expand Down

0 comments on commit e2510e8

Please sign in to comment.