Skip to content

Conversation

@cgroza
Copy link

@cgroza cgroza commented Aug 20, 2019

Hi,
I am using graph peak caller on a haplotype indexed whole genome graph.
My vg files contain many paths corresponding to the haplotypes, including the reference path (chr1, chr2, etc).
When using graph_peak_caller find_linear_path to retrieve the reference interval, for some paths obg_interval is assigned to False by path.to_obg(). This results in an error when assigning obg_interval.name to path.name. Therefore, I added a check that skip such paths.

All the instances of this bug involves haplotype paths and not the reference path. This fix allowed me to retrieve my reference intervals without any problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant