mafutils 0.1.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mafutils/__init__.py +3 -0
- mafutils/__main__.py +5 -0
- mafutils/__pycache__/__init__.cpython-312.pyc +0 -0
- mafutils/__pycache__/__main__.cpython-312.pyc +0 -0
- mafutils/__pycache__/cli.cpython-312.pyc +0 -0
- mafutils/__pycache__/fetch.cpython-312.pyc +0 -0
- mafutils/__pycache__/index.cpython-312.pyc +0 -0
- mafutils/__pycache__/stats.cpython-312.pyc +0 -0
- mafutils/_version.py +24 -0
- mafutils/cli.py +20 -0
- mafutils/fetch.py +1311 -0
- mafutils/index.py +102 -0
- mafutils/lib/__init__.py +0 -0
- mafutils/lib/__pycache__/__init__.cpython-312.pyc +0 -0
- mafutils/lib/__pycache__/common.cpython-312.pyc +0 -0
- mafutils/lib/__pycache__/loginit.cpython-312.pyc +0 -0
- mafutils/lib/common.py +39 -0
- mafutils/lib/loginit.py +169 -0
- mafutils/stats.py +1312 -0
- mafutils-0.1.1.dist-info/METADATA +198 -0
- mafutils-0.1.1.dist-info/RECORD +25 -0
- mafutils-0.1.1.dist-info/WHEEL +5 -0
- mafutils-0.1.1.dist-info/entry_points.txt +2 -0
- mafutils-0.1.1.dist-info/licenses/LICENSE +21 -0
- mafutils-0.1.1.dist-info/top_level.txt +1 -0
mafutils/__init__.py
ADDED
mafutils/__main__.py
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
mafutils/_version.py
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# file generated by vcs-versioning
|
|
2
|
+
# don't change, don't track in version control
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
__all__ = [
|
|
6
|
+
"__version__",
|
|
7
|
+
"__version_tuple__",
|
|
8
|
+
"version",
|
|
9
|
+
"version_tuple",
|
|
10
|
+
"__commit_id__",
|
|
11
|
+
"commit_id",
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
version: str
|
|
15
|
+
__version__: str
|
|
16
|
+
__version_tuple__: tuple[int | str, ...]
|
|
17
|
+
version_tuple: tuple[int | str, ...]
|
|
18
|
+
commit_id: str | None
|
|
19
|
+
__commit_id__: str | None
|
|
20
|
+
|
|
21
|
+
__version__ = version = '0.1.1'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 1, 1)
|
|
23
|
+
|
|
24
|
+
__commit_id__ = commit_id = None
|
mafutils/cli.py
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import typer
|
|
2
|
+
|
|
3
|
+
from . import fetch as fetch_mod
|
|
4
|
+
from . import index as index_mod
|
|
5
|
+
from . import stats as stats_mod
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
app = typer.Typer(
|
|
9
|
+
help="MAF toolkit for indexing, fetching, and summarizing MAF alignments.",
|
|
10
|
+
no_args_is_help=True,
|
|
11
|
+
pretty_exceptions_show_locals=False,
|
|
12
|
+
context_settings={"help_option_names": ["-h", "--help"]},
|
|
13
|
+
)
|
|
14
|
+
app.command("fetch", help="Fetch alignment blocks from a MAF using a BED file and an existing index.")(fetch_mod.fetch_command)
|
|
15
|
+
app.command("index", help="Create block and scaffold indexes for a MAF file.")(index_mod.index_command)
|
|
16
|
+
app.command("stats", help="Summarize an indexed MAF at overall, species, and block levels.")(stats_mod.stats_command)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def main() -> None:
|
|
20
|
+
app()
|