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
221 stars 23 forks source link

replace bpnetlite with tangermeme #15

Closed avantikalal closed 2 months ago

avantikalal commented 3 months ago
  1. Updates all functions that use bpnetlite (get_gc_matched_negatives and dinuc_shuffle) to use tangermeme instead.
  2. Added start and end args to dinuc_shuffle since these are now available in tangermeme
  3. Removed bpnetlite from requirements.
  4. (To improve testing of datasets that use these functions) added the add_batch_axis argument to indices_to_one_hot
  5. (For consistency with other functions) Added the input_type argument to convert_input_type
  6. Updated tests
  7. Fixed a bug in marginalize_patterns caused by the seed not being passed to PatternMarginalizeDataset

Addresses #12

gokceneraslan commented 3 months ago

I'll leave this one to @suragnair