Closed esrice closed 2 years ago
Some new features crept into the main branch before they were complete, my apologies. Pull the latest commit (v2.0.0), be sure it recurses (submodule dep/svpop
changed).
Changes reduce haplotype merging errors (some multi-allelic sites were not handled well). I have tested these changes, but have not fully tested integration. I am out this coming week, but I'll monitor and try to address this if you still have issues completing the PAV runs.
Looks like commit d355f88 fixed it, thanks!
I'm getting the following error in the
call_merge_haplotypes_chrom
step:The problem appears to be that the default merging configuration string set here: https://github.com/EichlerLab/pav/blob/f4a648b6ee4677e6ee8638ed1f3360ecce5defe6/pavlib/constants.py#L28
Is not compatible with the function in poplib it gets passed to: https://github.com/EichlerLab/svpop/blob/8f084907170d9bb804cbc02202de085dcc7101d4/svpoplib/svmerge.py#L61
It looks like in the latter function, the strategy string has to start with "nr:" but this one starts with "nrsnv:" so it crashes.
I would fix it myself but I don't understand the merge strategies well enough to know what the correct thing to do here is.