diff --git a/ncm.py b/ncm.py index 0bff27c..face470 100644 --- a/ncm.py +++ b/ncm.py @@ -1179,7 +1179,7 @@ def run_mpileup(): INSTALL_DIR="" with open(INSTALL_DIR + "ncm.conf",'r') as F: for line in F.readlines(): - temp = line.split('=') + temp = line.split('=',1) if temp[0].startswith("SAMTOOLS"): SAMTOOLS = temp[1].strip() elif temp[0].startswith("BCFTOOLS"):