Skip to content

Commit

Permalink
Merge pull request #52 from lpantano/devel
Browse files Browse the repository at this point in the history
fix bug in report making profile with long tail
  • Loading branch information
lpantano authored Mar 4, 2021
2 parents 38297c9 + 334197d commit e4ef358
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
- 1.2.8

* Fix bug when detecting the end of the cluster due to big gaps in biopython function

- 1.2.7

* Fix bug when writing files for debug of big meta-clusters:
Expand Down
2 changes: 1 addition & 1 deletion seqcluster/libs/read.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def _align(x, y, local = False):
sorted_alignments = sorted(aligned_x, key=operator.itemgetter(2))
e = enumerate(sorted_alignments[0][0])
nts = [i for i,c in e if c != "-"]
return [min(nts), max(nts)]
return [min(nts), min(nts)+len(x)]

def map_to_precursor_biopython(seqs, names, loci, args):
"""map the sequences using biopython package"""
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def readme():


setup(name='seqcluster',
version='1.2.7',
version='1.2.8',
description='Small RNA-seq pipeline',
long_description=readme(),
long_description_content_type="text/markdown",
Expand Down

0 comments on commit e4ef358

Please sign in to comment.