-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# bioinfor_tools | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Metadata-Version: 2.1 | ||
Name: bioinfor-tools | ||
Version: 0.1 | ||
Summary: UNKNOWN | ||
Home-page: UNKNOWN | ||
Author: jmzhang | ||
Author-email: [email protected] | ||
License: UNKNOWN | ||
Platform: UNKNOWN | ||
|
||
UNKNOWN | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
setup.py | ||
bioinfor_tools/__init__.py | ||
bioinfor_tools/_bio_basic.py | ||
bioinfor_tools/_cmd_runner.py | ||
bioinfor_tools/_utils.py | ||
bioinfor_tools.egg-info/PKG-INFO | ||
bioinfor_tools.egg-info/SOURCES.txt | ||
bioinfor_tools.egg-info/dependency_links.txt | ||
bioinfor_tools.egg-info/top_level.txt |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bioinfor_tools |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/share/nas2/genome/biosoft/Python//3.7.3/bin/python3 | ||
# -*- coding: utf-8 -*- | ||
# @Time : 2023/4/28 09:13 | ||
# @Author : jmzhang | ||
# @Email : [email protected] | ||
|
||
import logging | ||
|
||
FORMAT = '%(asctime)s %(message)s' | ||
logging.basicConfig(level=logging.INFO, format=FORMAT, datefmt='%Y-%m-%d %H:%M:%S') | ||
|
||
__version__ = 'v0.1 beta' | ||
|
||
from ._bio_basic import BioBasic | ||
from ._cmd_runner import CmdRunner as __CmdRunner | ||
from ._utils import * | ||
|
||
cmd_wrapper = __CmdRunner.cmd_wrapper | ||
cmd = __CmdRunner.cmd |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
from pathlib import Path | ||
|
||
|
||
class BioBasic: | ||
""" | ||
- basic functions and property | ||
- read cfg | ||
- mkdir dir | ||
- module property | ||
""" | ||
# 主路径位置 | ||
BASE_DIR = Path(__file__).absolute().parent.parent | ||
# 日志路径 | ||
LOGGING_SUMMARY = BASE_DIR / 'logging_summary.txt' | ||
|
||
def __init__(self, module): | ||
# 模块所在的绝对父目录 | ||
self._module_dir = Path(module).absolute().parent | ||
# 模块的名称 | ||
self._module_name = Path(module).name |