Skip to content

New SashimiBigWig Track v2 - #500

Open
lldelisle wants to merge 83 commits into
deeptools:developfrom
lldelisle:sashimi_reb
Open

New SashimiBigWig Track v2#500
lldelisle wants to merge 83 commits into
deeptools:developfrom
lldelisle:sashimi_reb

Conversation

@lldelisle

Copy link
Copy Markdown
Collaborator

Based on #489

@lldelisle
lldelisle changed the base branch from develop to master August 28, 2026 06:56
@lldelisle
lldelisle changed the base branch from master to develop August 28, 2026 06:56
@lldelisle

Copy link
Copy Markdown
Collaborator Author

@bgruening would you mind to also review this one which has more changes. As the SashimiBigWig Track is a mixture of bigwig and bed, I tried to move most of methods that could be reused in GenomeTracks or BigWigTracks, that is why there are so many changes.

@lldelisle
lldelisle requested a review from bgruening September 2, 2026 20:14

return bed_file_h, total_length

def process_bed(self, default_color, file_key='file', color_key='color', plot_regions=None):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mh, but classes like BIgWig, HiC etc don't have those defined? Maybe an intermediate class, mixin like BedLike() or something like that?

Comment thread pygenometracks/tracks/SashimiBigWigTrack.py
@lldelisle

Copy link
Copy Markdown
Collaborator Author

Oups, I revert the proposed change as it was raising an error:

pygenometracks/tracks/SashimiBigWigTrack.py:196: in __init__
    super().__init__(*args, **kwargs)
pygenometracks/tracks/BigWigTrack.py:117: in __init__
    super(self.__class__, self).__init__(*args, **kwargs)
pygenometracks/tracks/BigWigTrack.py:117: in __init__
    super(self.__class__, self).__init__(*args, **kwargs)
E   RecursionError: maximum recursion depth exceeded
!!! Recursion detected (same locals & position)

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.

3 participants