feat(backend): implement CRISPR-Cas API parameters and database schema

This commit is contained in:
zly
2026-01-14 15:47:35 +08:00
parent 74ca20707c
commit 7090676f46
5 changed files with 54 additions and 114 deletions

View File

@@ -42,6 +42,10 @@ class Job(Base):
allow_unknown_families = Column(Integer, default=0) # 0 = False, 1 = True
require_index_hit = Column(Integer, default=1)
# CRISPR-Cas 参数
crispr_fusion = Column(Integer, default=0) # 0 = False, 1 = True
crispr_weight = Column(Integer, default=0) # 存储为百分比 (0-100)
result_url = Column(String, nullable=True)
logs = Column(Text, nullable=True)
error_message = Column(Text, nullable=True)