-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
183,496 additions
and
183,437 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
import re | ||
from fnmatch import fnmatch | ||
from os.path import basename | ||
|
||
|
||
def check_extension(ext: str, path: str) -> bool: | ||
"""Check if file matches with the annotation pattern""" | ||
if ext[0] == '*': | ||
match = fnmatch(path, ext) | ||
else: | ||
reg_apply = re.compile(ext + '$') | ||
match = len(reg_apply.findall(path)) != 0 | ||
return match | ||
return fnmatch(basename(path), ext) if ext[0] == '*' else re.match(ext, basename(path)) is not None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,20 @@ | ||
from setuptools import setup, find_packages | ||
|
||
from pathlib import Path | ||
this_directory = Path(__file__).parent | ||
long_description = (this_directory / "README.md").read_text() | ||
|
||
setup( | ||
name="open-variant", | ||
version="0.7.0", | ||
version="0.7.5", | ||
author="BBGLab - Barcelona Biomedical Genomics Lab", | ||
author_email='[email protected]', | ||
description="OpenVariant provides different functionalities to read, parse and operate different multiple input " | ||
"file formats, being able to customize the output.", | ||
long_description=long_description, | ||
long_description_content_type='text/markdown', | ||
license='BSD 3-Clause License', | ||
keywords='bioinformatics,openvariant,openvar,bbglab', | ||
packages=find_packages(exclude=["tests.*", "tests"]), | ||
include_package_data=True, | ||
install_requires=['pyyaml', 'tqdm', 'click'], | ||
|
@@ -12,4 +23,5 @@ | |
'openvar = openvariant.commands.openvar:openvar', | ||
] | ||
}, | ||
url="https://github.com/bbglab/openvariant", | ||
) |
Oops, something went wrong.