Spaces:
Running
Running
Commit History
-
feat: techspec additions — de novo tier-6 branch, structure export, page capture + final synthesis
Pre-work A1-A7: pymol2-wheel cleanup + fpocket source builds, migration 008 structure_prep_jobs with RLS, user-scoped reads, input validation, SSRF routing, chain_integrity + castp/fpocket status tags. S1: zero-hit proteins complete as de novo runs — composition/hints bundle, InterProScan5 sequence-search domains, ESMFold structure card; confidence tiers (identified/homolog/de_novo) threaded backend-to-frontend with badges, DeNovoPanel, unavailable-state messaging. S2: /api/structure-export router (PDB/CIF/styled PyMOL .pse), docking complex.pdb + ligand.sdf exports, StructureExportMenu on viewer + docking page, honest ChimeraX/VMD file+script bundles. S3: migration 009 page_captures, rate-limited allowlisted capture service wired per source, deterministic final-synthesis findings with confidence-tier tagging, FinalReport panel. 84 backend tests green across five suites; frontend tsc + lint clean.4939f56
-
fix: NGS pipeline stuck in queued - worker fallback + migration fix
Root cause: ngs_jobs table was created manually without created_at column and the claim_next_ngs_job RPC was never executed. Fix: - worker.py: _claim_direct() fallback uses direct Supabase queries when RPC is missing (no FOR UPDATE SKIP LOCKED, but atomic update prevents double-processing) - ngs.py: _ensure_ngs_table() attempts auto-migration on first job - 007_ngs_jobs.sql: adds IF NOT EXISTS for created_at column and uses EXCEPTION blocks for idempotent RLS policies Verified: end-to-end test claimed, ran, and completed both queued jobs.8b17c40 -
feat: add full 6-step NGS pipeline + fix sequencing WinError 193
NGS Pipeline (new): - tools/ngs.py: 6-step pipeline (QC, trim, align, variants, annotate, report) with native tool detection (fastqc/fastp/minimap2/samtools/bcftools/snpEff) and pure-Python fallbacks for every step (works on Windows + Linux/Docker) - routers/ngs.py: FastAPI router with POST /run, GET /status, GET /references - migrations/007_ngs_jobs.sql: ngs_jobs table + claim RPC + RLS policies - worker.py: wired ngs_jobs into durable worker dispatch - rate_limit.py: 5 NGS jobs/day per user - Frontend: /analyze/ngs page with 6-step progress stepper, QC stats, trimming retention, alignment mapping rate, variant table, annotation with known variant lookup, consensus FASTA download, BLAST bridge - api.ts: NGS types + runNGS/getNGSStatus/listNGSReferences functions Sequencing Pipeline fix: - Fixed [WinError 193] by detecting platform and refusing to execute Linux ELF binary on Windows; added Python fallback alignment5fa9145
-
Phase 0c: offload large artifacts to Supabase Storage (docking, pipeline, sequencing)
e47db42 -
Phase 0b: durable worker with FOR UPDATE SKIP LOCKED, per-type concurrency, separate container
fee674e -
Phase 0a: SSRF protection + auth on docking/sequencing, worker design doc
89fd26d -
Docking: minimal INSERT (only id/status/smiles), startup table check, migration SQL
1c8e7f8