Skip to content

Commit

Permalink
added bamrcpath option for pbamrc
Browse files Browse the repository at this point in the history
  • Loading branch information
mnshgl0110 committed Feb 5, 2024
1 parent 125b277 commit 1b46003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hometools/hometools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1727,7 +1727,7 @@ def pbamrc(args):
for i in range(split_N):
tmp_df[i].to_csv(str(pre)+'_'+str(i)+".bed", sep='\t', header=False, index=False)

command = "bam-readcount" if args.bamrcpath is None else args.bamrcpath
command = "bam-readcount" if args.bamrcpath is None else args.bamrcpath.name
if args.q > 0: command += " -q {}".format(args.q)
if args.b > 0: command += " -b {}".format(args.b)
if args.d != 10000000: command += " -d {}".format(args.d)
Expand Down

0 comments on commit 1b46003

Please sign in to comment.