Closed egor-dolzhenko closed 2 years ago
Minor code comment or 2. I have more thoughts at the design level:
- Can the (LF) and (RF) elements in the phasing information be implicit? Are there cases where these wouldn't be part of the haplotype?
- The concept of turning the output off by setting a bit on the ostream has a bad smell to it. A simple and transparent alternative is to have this controlled by bool -- what is the advantage of the ostream approach?
Thank you for the thorough comments!
Making it non-optional is even better. Maybe take this approach for now and add the option to turn it off once there's a good use case for this.
Making it non-optional is even better. Maybe take this approach for now and add the option to turn it off once there's a good use case for this.
Sounds good! I'll make this change and merge?
Sure, or merge now, these are all just items to consider.
This pull request will:
Workflow.cpp
DiplotypePaths
toDiplotype
name changeExample of a metrics file:
Example of a file with phasing information:
Here
(LF)
and(RF)
correspond to the left and the right flanks respectively;(CAG){14}
corresponds to 14 copies of CAG;Score
is the cumulative alignment score of all reads to the corresponding diplotype.Notes