Fix(pipeline): prevent nested zip packaging and update CRISPR dependencies

- Add filter to skip .zip and .tar.gz files when creating result archive
- Update CRISPR feature with CASFinder dependencies (hmmer, blast, vmatch, etc.)
- Add install-casfinder task for macsydata installation
- Remove obsolete CRISPR test files

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
zly
2026-01-28 20:06:41 +08:00
parent e44692600c
commit 963215de2d
14 changed files with 1210 additions and 537 deletions

View File

@@ -160,6 +160,10 @@ def run_bttoxin_analysis(
if file_path == zip_path:
continue
# 防止嵌套打包:忽略可能存在的 zip 或 tar.gz 文件
if file.endswith('.zip') or file.endswith('.tar.gz'):
continue
# 计算相对路径,例如 digger/Results/foo.txt -> Results/foo.txt
rel_path = file_path.relative_to(src_path)
# 构造新的归档路径 -> 1_Toxin_Mining/Results/foo.txt