Skip to content

Commit

Permalink
implement PETrackII for fragment files from scATAC experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
taoliu committed Oct 15, 2024
1 parent 1b494bf commit 4267d74
Show file tree
Hide file tree
Showing 10 changed files with 976 additions and 686 deletions.
919 changes: 546 additions & 373 deletions MACS3/Signal/BedGraph.pyx → MACS3/Signal/BedGraph.py

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions MACS3/Signal/HMMR_Signal_Processing.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# cython: language_level=3
# cython: profile=True
# Time-stamp: <2024-10-04 10:25:29 Tao Liu>
# Time-stamp: <2024-10-14 17:04:27 Tao Liu>

"""Module description:
Expand Down Expand Up @@ -137,7 +137,7 @@ def generate_digested_signals(petrack, weight_mapping: list) -> list:
certain_signals = ret_digested_signals[i]
bdg = bedGraphTrackI()
for chrom in sorted(certain_signals.keys()):
bdg.add_chrom_data_hmmr_PV(chrom, certain_signals[chrom])
bdg.add_chrom_data_PV(chrom, certain_signals[chrom])
ret_bedgraphs.append(bdg)
return ret_bedgraphs

Expand Down
Loading

0 comments on commit 4267d74

Please sign in to comment.