diff --git a/README.md b/README.md index de2e108..f625a81 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ -

- Italian Trulli + Italian Trulli

diff --git a/src/include/htslib b/src/include/htslib index 7f5136f..5acbc15 160000 --- a/src/include/htslib +++ b/src/include/htslib @@ -1 +1 @@ -Subproject commit 7f5136fb7dbe33cef04e01790c174032f63d00c2 +Subproject commit 5acbc150b2c12ea77111d845c06179507df976ae diff --git a/src/setup.py b/src/setup.py index b960ac6..fcf0045 100644 --- a/src/setup.py +++ b/src/setup.py @@ -7,7 +7,7 @@ from setuptools import Extension, setup from setuptools.command.build_ext import build_ext -VERSION = "1.0.3" +VERSION = "1.0.7" # Convert distutils Windows platform specifiers to CMake -A arguments PLAT_TO_CMAKE = { @@ -17,6 +17,8 @@ "win-arm64": "ARM64", } +this_directory = Path(__file__).resolve().parent +long_description = (this_directory / "../README.md").read_text() # A CMakeExtension needs a sourcedir instead of a file list. # The name must be the _single_ output extension from the CMake build. @@ -142,4 +144,6 @@ def build_extension(self, ext: CMakeExtension) -> None: cmdclass={"build_ext": CMakeBuild}, extras_require={"test": "pytest"}, entry_points={'console_scripts': ['splam = splam.main:main'], }, + long_description=long_description, + long_description_content_type='text/markdown' ) diff --git a/src/splam/__init__.py b/src/splam/__init__.py index 34c1db3..8eb8a7b 100644 --- a/src/splam/__init__.py +++ b/src/splam/__init__.py @@ -1 +1 @@ -__version__ = '1.0.2' \ No newline at end of file +__version__ = '1.0.7' \ No newline at end of file diff --git a/src/splam/header.py b/src/splam/header.py index 0167c46..af07357 100644 --- a/src/splam/header.py +++ b/src/splam/header.py @@ -8,4 +8,4 @@ __license__ = "MIT" __maintainer__ = "developer" __status__ = "Kuan-Hao Chao" -__version__ = "1.0.3" \ No newline at end of file +__version__ = "1.0.7" \ No newline at end of file diff --git a/src/splam/parse.py b/src/splam/parse.py index a456132..5588782 100644 --- a/src/splam/parse.py +++ b/src/splam/parse.py @@ -86,7 +86,8 @@ def create_donor_acceptor_bed(junction_bed, junction_dir, reference_genome): acceptor_s = acceptor - config.QUARTER_SEQ_LEN acceptor_e = acceptor + flanking_size - + if chr not in chrs.keys(): + continue if donor_e >= chrs[chr] or acceptor_e >= chrs[chr]: continue if donor_s < 0 or acceptor_s < 0: