- 新增 scripts/bttoxin_shoter.py:从 BPPRC 正样本 CSV 构建 name/亚家族/家族特异性索引, 解析 BtToxin_Digger All_Toxins.txt,计算 per-hit 权重并以 noisy-OR 合成菌株×目标目/物种分数, 输出 TSV/JSON;含 HMM 加成与配对毒素规则(Vip1/Vip2,Vpa/Vpb),other/unknown 桶。 - 新增端到端工具链: - scripts/run_single_fna_pipeline.py:Digger → Shotter → Plot → 打包 - scripts/plot_shotter.py:绘制热图并生成论文式/摘要式报告 - scripts/bttoxin_api.py 与 bttoxin/api.py:纯 Python API;bttoxin/cli.py 暴露 bttoxin-run - pyproject.toml:项目打包与 CLI 入口 - docs(README): 增加输入文件格式与结果解读,补充单目录写入方案 - chore(gitignore): 忽略 runs/ 与 tests/output - ci: 移除 .woodpecker/test.yml
27 lines
589 B
TOML
27 lines
589 B
TOML
[build-system]
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "bttoxin-pipeline"
|
|
version = "0.1.0"
|
|
description = "BtToxin Digger + Shotter single-FNA pipeline with plotting and report"
|
|
readme = "README.md"
|
|
authors = [{name="Bttoxin Team"}]
|
|
requires-python = ">=3.9"
|
|
dependencies = [
|
|
"pandas>=2.0.0",
|
|
"matplotlib>=3.7.0",
|
|
"seaborn>=0.12.2; python_version>='3.9'",
|
|
"docker>=6.1.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
bttoxin-run = "bttoxin.cli:main"
|
|
|
|
[tool.setuptools]
|
|
packages = ["bttoxin"]
|
|
|
|
[tool.setuptools.package-data]
|
|
bttoxin = []
|