Skip to content

Commit

Permalink
Adjusted to recognized masked nucleotides
Browse files Browse the repository at this point in the history
Addresses issue #4.
  • Loading branch information
MikeTrizna committed Dec 27, 2019
1 parent 6d50fd6 commit 5d714a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assembly_stats/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__author__ = 'Mike Trizna'
__email__ = '[email protected]'
__version__ = '0.1.3'
__version__ = '0.1.4'

from .assembly_stats import *
2 changes: 1 addition & 1 deletion assembly_stats/assembly_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def fasta_iter(fasta_file):
# drop the ">"
header = next(header)[1:].strip()
# join all sequence lines to one.
seq = "".join(s.strip() for s in next(fa_iter))
seq = "".join(s.upper().strip() for s in next(fa_iter))
yield header, seq


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setuptools.setup(
name="assembly_stats",
version="0.1.3",
version="0.1.4",
author="Mike Trizna",
author_email="[email protected]",
description="Calculates both scaffold and contig statistics (N50, L50, etc.) from a scaffold FASTA file.",
Expand Down

0 comments on commit 5d714a5

Please sign in to comment.