Skip to content

Commit c20c21d

Browse files
committed
try mlx support
1 parent 49e58b1 commit c20c21d

6 files changed

Lines changed: 1008 additions & 261 deletions

File tree

MACS3/Commands/pileup_cmd.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,19 @@ def run(o_options):
7777

7878
if options.bothdirection:
7979
info("# Pileup alignment file, extend each read towards up/downstream direction with %d bps" % options.extsize)
80-
pileup_and_write_se(treat, outfile.encode(), options.extsize * 2, 1, directional=False, halfextension=False)
80+
pileup_and_write_se(treat, outfile.encode(),
81+
options.extsize * 2,
82+
1,
83+
directional=False,
84+
halfextension=False)
8185
else:
8286
info("# Pileup alignment file, extend each read towards downstream direction with %d bps" % options.extsize)
83-
pileup_and_write_se(treat, outfile.encode(), options.extsize, 1, directional=True, halfextension=False)
87+
pileup_and_write_se(treat,
88+
outfile.encode(),
89+
options.extsize,
90+
1,
91+
directional=True,
92+
halfextension=False)
8493

8594
info("# Done! Check %s" % options.outputfile)
8695

0 commit comments

Comments
 (0)