Skip to content

Commit 74e386f

Browse files
committed
Fix bug on --add-snp-info
1 parent 9d3ae4e commit 74e386f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

methylpy/call_mc_se.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1698,7 +1698,7 @@ def call_methylated_sites_with_SNP_info(inputf, sample, reference_fasta,
16981698
## Input
16991699
if not generate_mpileup_file:
17001700
cmd = path_to_samtools+"samtools mpileup -Q "+str(min_base_quality)+\
1701-
+" -q "+min_mapq+" -B -f "+reference_fasta+" "+inputf
1701+
+" -q "+str(min_mapq)+" -B -f "+reference_fasta+" "+inputf
17021702
pipes = subprocess.Popen(shlex.split(cmd),
17031703
stdout=subprocess.PIPE,
17041704
stderr=subprocess.PIPE,
@@ -1709,7 +1709,7 @@ def call_methylated_sites_with_SNP_info(inputf, sample, reference_fasta,
17091709
subprocess.check_call(
17101710
shlex.split(
17111711
path_to_samtools+"samtools mpileup -Q "+str(min_base_quality)
1712-
+" -q "+min_mapq
1712+
+" -q "+str(min_mapq)
17131713
+" -B -f "+reference_fasta+" "+inputf),
17141714
stdout=f)
17151715
fhandle = open(path_to_files+sample+"_mpileup_output.tsv" ,'r')

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='methylpy',
5-
version='1.1.8',
5+
version='1.1.9',
66
author='Yupeng He',
77
author_email='yupeng.he.bioinfo@gmail.com',
88
packages=['methylpy'],

0 commit comments

Comments
 (0)