From 1b46003917367507421b1b5f2bf574a9c3b9883b Mon Sep 17 00:00:00 2001 From: mnshgl0110 Date: Mon, 5 Feb 2024 16:52:16 +0100 Subject: [PATCH] added bamrcpath option for pbamrc --- hometools/hometools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hometools/hometools.py b/hometools/hometools.py index 84e30aa..aabf7b5 100644 --- a/hometools/hometools.py +++ b/hometools/hometools.py @@ -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)