Skip to content

There is a bug in subtract() function. #229

Open

Description

@Luobiny

I have two dataframes and the first dataframe df1 has all the regions in the second dataframe df2. However, when I run bioframe.subtract(df1, df2), the output contains many regions on chromosome 9. Interestingly when I extract all the regions on chromsome 9 from both dataframes and then run bioframe.subtract(df1_chrom9, df2_chrom9), the output shows no regions, which is correct.

Activity

  1. changed the title [-]There is a bug in sutract() function.[/-] [+]There is a bug in subtract() function.[/+] on Apr 14, 2025
  2. gfudenberg commented on Jun 23, 2025

    @gfudenberg
    Member

    hi @Luobiny -- how large are these dataframes? can you upload? Without more information it is challenging to reproduce the issue you report.
    Thanks!

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

Metadata

Metadata

Assignees

No one assigned

    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