Skip to content

Option to save both the "full" and "merge-branches" database files #4

@blinard-BIOINFO

Description

@blinard-BIOINFO

Currently, with "--merge-branches" only the database with only the highest probability branch per k-mer is output as .rps .
Right now, two consecutive runs are necessary to get both the merged and unmerged versions, which involves uncessary recomputation of phylo-k-mers.

I suggest to use the following extension to differentiate them :
.mps ("m"erged)
.rps (current default behaviour used for placement in "r"appas2)

I need an xpas option to get either i) only the .mps, or ii) both the .mps + .rps in a single run.

Looking at the code, is seems that only small changes in step 2 (filtering) are needed :

  • the filtering step needs to be duplicated (one for each version)
  • e.g a first call db_builder::merge_filtered() without merged_branches=false, then save as .rps
  • then a second call with merged_branches=true, then save as .mps

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions