tabtk 1.0.0__tar.gz
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.
- tabtk-1.0.0/LICENSE +21 -0
- tabtk-1.0.0/PKG-INFO +44 -0
- tabtk-1.0.0/README.md +19 -0
- tabtk-1.0.0/pyproject.toml +51 -0
- tabtk-1.0.0/setup.cfg +4 -0
- tabtk-1.0.0/tabtk/__init__.py +4 -0
- tabtk-1.0.0/tabtk/__main__.py +28 -0
- tabtk-1.0.0/tabtk/tabtk.py +1556 -0
- tabtk-1.0.0/tabtk.egg-info/PKG-INFO +44 -0
- tabtk-1.0.0/tabtk.egg-info/SOURCES.txt +12 -0
- tabtk-1.0.0/tabtk.egg-info/dependency_links.txt +1 -0
- tabtk-1.0.0/tabtk.egg-info/entry_points.txt +2 -0
- tabtk-1.0.0/tabtk.egg-info/requires.txt +1 -0
- tabtk-1.0.0/tabtk.egg-info/top_level.txt +2 -0
tabtk-1.0.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Chrispin Chaguza
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
tabtk-1.0.0/PKG-INFO
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: tabtk
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: tabtk: A toolkit for sequence similarity analysis based on tabular data
|
|
5
|
+
Author-email: Chrispin Chaguza <chrispin.chaguza@gmail.com>
|
|
6
|
+
Maintainer-email: Chrispin Chaguza <chrispin.chaguza@gmail.com>
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
Project-URL: Homepage, https://github.com/ChrispinChaguza/tabtk
|
|
9
|
+
Project-URL: Repository, https://github.com/ChrispinChaguza/tabtk.git
|
|
10
|
+
Project-URL: Issues, https://github.com/ChrispinChaguza/tabtk/issues
|
|
11
|
+
Project-URL: Documentation, https://github.com/ChrispinChaguza/tabtk
|
|
12
|
+
Project-URL: Website, https://github.com/ChrispinChaguza/tabtk
|
|
13
|
+
Keywords: Sequence similarity,K-mer,Cluster,Genome
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Operating System :: OS Independent
|
|
16
|
+
Classifier: Development Status :: 4 - Beta
|
|
17
|
+
Classifier: Environment :: Console
|
|
18
|
+
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
19
|
+
Classifier: Intended Audience :: Science/Research
|
|
20
|
+
Requires-Python: >=3.8
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
License-File: LICENSE
|
|
23
|
+
Requires-Dist: build
|
|
24
|
+
Dynamic: license-file
|
|
25
|
+
|
|
26
|
+
# tabtk
|
|
27
|
+
A toolkit for sequence similarity analysis based on tabular data
|
|
28
|
+
|
|
29
|
+
# Installation
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
conda env create --name tabtk --file environment.yaml --yes
|
|
33
|
+
pip install tabtk
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Upcoming...
|
|
37
|
+
```
|
|
38
|
+
conda install -c bioconda tabtk --yes
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
# Citation
|
|
42
|
+
```
|
|
43
|
+
Chaguza et al. tabkit: A toolkit for sequence similarity analysis based on tabular data. 2026. [https://github.com/ChrispinChaguza/tabtk](https://github.com/ChrispinChaguza/tabtk)
|
|
44
|
+
```
|
tabtk-1.0.0/README.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# tabtk
|
|
2
|
+
A toolkit for sequence similarity analysis based on tabular data
|
|
3
|
+
|
|
4
|
+
# Installation
|
|
5
|
+
|
|
6
|
+
```
|
|
7
|
+
conda env create --name tabtk --file environment.yaml --yes
|
|
8
|
+
pip install tabtk
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Upcoming...
|
|
12
|
+
```
|
|
13
|
+
conda install -c bioconda tabtk --yes
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
# Citation
|
|
17
|
+
```
|
|
18
|
+
Chaguza et al. tabkit: A toolkit for sequence similarity analysis based on tabular data. 2026. [https://github.com/ChrispinChaguza/tabtk](https://github.com/ChrispinChaguza/tabtk)
|
|
19
|
+
```
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools"]
|
|
3
|
+
|
|
4
|
+
[project]
|
|
5
|
+
name = "tabtk"
|
|
6
|
+
dynamic = ["version"]
|
|
7
|
+
authors = [
|
|
8
|
+
{ name="Chrispin Chaguza", email="chrispin.chaguza@gmail.com" },
|
|
9
|
+
]
|
|
10
|
+
|
|
11
|
+
maintainers = [
|
|
12
|
+
{name = "Chrispin Chaguza", email = "chrispin.chaguza@gmail.com"},
|
|
13
|
+
]
|
|
14
|
+
|
|
15
|
+
description = "tabtk: A toolkit for sequence similarity analysis based on tabular data"
|
|
16
|
+
readme = {file = "README.md", content-type = "text/markdown"}
|
|
17
|
+
license = "MIT"
|
|
18
|
+
requires-python = ">=3.8"
|
|
19
|
+
classifiers = [
|
|
20
|
+
"Programming Language :: Python :: 3",
|
|
21
|
+
"Operating System :: OS Independent",
|
|
22
|
+
"Development Status :: 4 - Beta",
|
|
23
|
+
"Environment :: Console",
|
|
24
|
+
"Topic :: Scientific/Engineering :: Bio-Informatics",
|
|
25
|
+
"Intended Audience :: Science/Research",
|
|
26
|
+
]
|
|
27
|
+
|
|
28
|
+
keywords = ["Sequence similarity","K-mer","Cluster","Genome"]
|
|
29
|
+
dependencies = [
|
|
30
|
+
"build"
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
[tool.setuptools.dynamic]
|
|
34
|
+
version = {attr = "tabtk.__version__"}
|
|
35
|
+
|
|
36
|
+
[tool.setuptools.packages]
|
|
37
|
+
find = {}
|
|
38
|
+
|
|
39
|
+
[tool.setuptools]
|
|
40
|
+
py-modules = ["tabtk.tabtk"]
|
|
41
|
+
|
|
42
|
+
[project.scripts]
|
|
43
|
+
tabtk = "tabtk.__main__:main"
|
|
44
|
+
|
|
45
|
+
[project.urls]
|
|
46
|
+
Homepage = "https://github.com/ChrispinChaguza/tabtk"
|
|
47
|
+
Repository = "https://github.com/ChrispinChaguza/tabtk.git"
|
|
48
|
+
Issues = "https://github.com/ChrispinChaguza/tabtk/issues"
|
|
49
|
+
Documentation = "https://github.com/ChrispinChaguza/tabtk"
|
|
50
|
+
Website = "https://github.com/ChrispinChaguza/tabtk"
|
|
51
|
+
|
tabtk-1.0.0/setup.cfg
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"""tabkit: A toolkit for sequence similarity analysis based on tabular data"""
|
|
2
|
+
|
|
3
|
+
import os
|
|
4
|
+
import sys
|
|
5
|
+
from Bio import SeqIO
|
|
6
|
+
import multiprocessing
|
|
7
|
+
import argparse
|
|
8
|
+
import itertools
|
|
9
|
+
from progress.bar import ChargingBar
|
|
10
|
+
import re
|
|
11
|
+
import subprocess
|
|
12
|
+
from pathlib import Path
|
|
13
|
+
import numpy as np
|
|
14
|
+
import shutil
|
|
15
|
+
import pandas as pd
|
|
16
|
+
import networkx as nx
|
|
17
|
+
import math
|
|
18
|
+
import datetime
|
|
19
|
+
from .tabtk import tabtkMain
|
|
20
|
+
|
|
21
|
+
def main():
|
|
22
|
+
try:
|
|
23
|
+
tabtkMain()
|
|
24
|
+
except KeyboardInterrupt:
|
|
25
|
+
print("Execulted halted")
|
|
26
|
+
|
|
27
|
+
if __name__=="__main__":
|
|
28
|
+
main()
|