Skip to content

Fix BND singletons in ensemble VCF#18

Open
sci-kai wants to merge 2 commits into
KolmogorovLab:mainfrom
sci-kai:fix-BND-singletons
Open

Fix BND singletons in ensemble VCF#18
sci-kai wants to merge 2 commits into
KolmogorovLab:mainfrom
sci-kai:fix-BND-singletons

Conversation

@sci-kai
Copy link
Copy Markdown

@sci-kai sci-kai commented May 8, 2026

As mentioned in issue #17 this is a fix for single notated breakends having the wrong ALT column definition in the ensembl VCF file.
It ahs 2 changes:

  1. Fixing ALT cols for single breakends
    After copying the single breakend and altering CHROM and POS, it also replaces the ALT column with the corresponding chrom pos so that both entries are representing the opposite breakpoints.

  2. Swap whole row in _check_df_order function
    Additionally, I also fixed the _check_df_order function that only swaps CHROM and POS column for reordering the df. Now it also swaps the whole row including the ALT column, which ensures the different ALT cols are also replaced.

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