Genentech / gReLU

gReLU is a python library to train, interpret, and apply deep learning models to DNA sequences.
https://genentech.github.io/gReLU/
MIT License
230 stars 23 forks source link

updated merge_intervals function to account for strand #66

Closed avantikalal closed 1 month ago

avantikalal commented 1 month ago

Fixes #63

  1. The merge_intervals_by_column function, which merges groups of genomic intervals into a single interval, previously did not return the strand of the merged intervals. Now, if a strand column is provided in the input, we check that all intervals in the same group have the same strand, and return this strand column in the output.

  2. Added a test for this function

  3. Reran tutorial 1 which uses this function.