Skip to content

Commit 5369030

Browse files
committed
fixing issue with ref_free_consensus / contig name splitting
1 parent 7cf48a3 commit 5369030

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

cmseq/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
from .cmseq import CMSEQ_DEFAULTS
22
from .cmseq import BamFile
3+
from .cmseq import BamContig

cmseq/cmseq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def _parallel_consensus_worker(contigName):
172172

173173
if not terminating.is_set():
174174
try:
175-
t=BamFile(consensus_bamFile,filterInputList=contigName)
175+
t=BamFile(consensus_bamFile,filterInputList=[contigName])
176176
return (contigName,t.get_contig_by_label(contigName).reference_free_consensus(**consensus_args))
177177
except Exception as e:
178178
terminating.set()

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
install_requires = ["numpy", "scipy", "pysam", "pandas", "biopython", "bcbio-gff"]
77
setuptools.setup(
88
name='CMSeq',
9-
version='1.0.3',
9+
version='1.0.4',
1010
author='Moreno Zolfo',
1111
author_email='moreno.zolfo@unitn.it',
1212
url='http://github.com/SegataLab/cmseq/',

0 commit comments

Comments
 (0)