Spaces:
Running
Running
Commit History
-
fix: pin python:3.11-slim-bookworm — trixie's gcc14 errors on fpocket's legacy C (incompatible-pointer-types); gcc12 builds clean
0f780df -
fix: fpocket clone tag 4.2.3 — tags carry no v prefix; wrong tag broke HF Space build (503s)
c7878ad -
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: remove fpocket from Dockerfiles to unblock HF Spaces build
fpocket compile fails silently in HF Docker build (can't see detailed error). Structure pipeline still works: CASTp runs as primary pocket detector, fpocket gracefully degrades to 'not installed'. Will add fpocket back once we can debug the build separately.9a46e30
-
fix: fpocket build — correct tag 4.2.3, add libnetcdf-dev dependency
Root cause: v2.1 tag doesn't exist, and fpocket needs libnetcdf-dev. Uses fpocket's own build pattern: make && make install3bb9505 -
feat: structure preparation pipeline — broken chains → SWISS-MODEL repair → PyMOL cleanup → fpocket + CASTp
- Broken chain detection: Biopython REMARK 465 + CA-CA gap >4.2Å - SWISS-MODEL auto-repair when broken chains found (SMR Repository API) - PyMOL cleanup (waters/hetero removal) with Biopython fallback - fpocket local pocket detection (compiled from source in Docker) - CASTp remote async via CASTpFold server (polls for results) - Combined pocket results panel (fpocket + CASTp side by side) - Pipeline status stepper UI with progress bar - Both Dockerfiles: fpocket compiled from Discngine/fpocket source - Frontend: analyze/structure-prep/page.tsx with full pipeline visualization - Wired into main.py + api.ts, TypeScript clean1b28e93 -
feat: add CASTp pockets, SWISS-MODEL, ESMFold + fix Dockerfiles
- CASTp pocket analysis: Biopython SASA + grid-based cavity detection, 3 endpoints - SWISS-MODEL Repository: query SMR API for homology models + experimental structures - ESMFold structure prediction: HF Inference API proxy, async job with progress - Fix root Dockerfile: add g++/libgl1/libgomp1/libopenblas-dev/libxml2/libxslt1.1 - Fix primer3-py quoting bug in both Dockerfiles (shell redirect issue) - Wire 3 routers into main.py, add API client functions, update analyze hub - TypeScript clean, zero errorsbe36a29
-
fix: add --no-same-owner to backend Dockerfile tar commands
8438ee1 -
refactor: require native samtools/minimap2, delete hand-rolled BAM/BAI code
- Install samtools + minimap2 in backend/Dockerfile and build.sh - render.yaml now uses build.sh (installs native tools) - _run_alignment: raises RuntimeError if tools missing, checks returncode on every subprocess call (minimap2, samtools sort, samtools index) - Deleted ~350 lines of hand-rolled BAM/BAI code: _bgzf_compress, _voffset_for, _sam_to_bam, _write_bai, _seq_to_half_ints, _parse_cigar, _cigar_ref_len, _reg2bin - _python_alignment now produces SAM only (no BAM/BAI) - _run_variant_calling: added returncode checks on bcftools calls - _upload_ngs_files: removed Python fallback paths - IgvBrowser: removed 300-line JS BAM converter, fetches BAM/BAI/VCF as Blobs for igv.js (which only supports BAM for alignments)2fe9546
-
feat(md): temperature/KE, Rg and SASA traces; fix OpenMM in deployed image
- Add temperature (from kinetic energy), radius-of-gyration and Shrake-Ruger SASA time series to OpenMM production results; static single points in the BioPython fallback; avg summary keys. - Correct nm->A conversion in _positions_to_np (RMSD/Rg/SASA were 10x too small and mislabeled as angstrom). - Self-calibrating production length: probe real platform throughput so runs fit the budget on fast local OpenCL and slow CPU-only containers (HF Spaces). - Deployment: install openmm>=8.0 via pip (PyPI since 8.0) instead of the broken micromamba+site-packages symlink; add libgomp1 to worker image; fix libgl1-mesa-glx -> libgl1 for bookworm base. Verified in a built image: OpenMM 8.5.2 imports and a full 1CRN production run completes with sane temperature/Rg/SASA. - Random-data unit tests for Rg, SASA, temperature-from-KE and Langevin thermostat; production integration test asserts the new keys. - Frontend: charts for temperature, Rg and SASA; SASA avg in summary.8e3419e
-
fix: OpenMM via micromamba/conda-forge + worker phantom job guards
- Dockerfile: replaced failed pip install openmm with micromamba conda-forge install (OpenMM is conda-only, not on PyPI for most platforms) - worker: added null guards in _poll_once for RPC returning jobs with no id - worker: _handle_failure now safely handles empty/None job ids - worker: _run_docking skips phantom jobs before dispatch3764d0d -
debug: add OpenMM verification steps + startup check so we can see what fails
b281340 -
fix: install OpenMM directly into system Python, remove conda/micromamba
c65f2ed -
fix: install OpenMM into conda env used by CMD so it's actually importable
c8c385f -
fix: OpenMM via micromamba + BioPython structural fallback, real error messages
bd95b9f -
feat: scientifically accurate MD simulation with OBC2 solvent, Kabsch RMSD, per-residue RMSF
3fba508
-
Phase 3a/4/5: ADMET descriptors (RDKit), MD simulation (OpenMM), function prediction (DeepFRI-inspired) — backend + frontend
99fb209
-
fix: deploy backend via Docker (render.yaml runtime: docker) so openbabel/vina/phyml system binaries are installed; honor Render "
584d61f
-
Move minimap2 download to runtime (avoids build failures on HF cpu-basic)
0be08e1
-
Phase 3: Sequencing pipeline (FASTQ -> QC -> alignment -> variant calling -> report)
- Backend: tools/sequencing.py -- SequencingPipeline with Python QC, minimap2 alignment, SAM-based variant calling, summary report - Backend: routers/sequencing.py -- /api/sequencing/run + status + references endpoints - Backend: Dockerfile -- added minimap2 v2.28 static binary - Frontend: analyze/sequencing/page.tsx -- full UI with pipeline progress, QC metrics, alignment rate, variant table - Frontend: analyze/page.tsx -- 'Sequencing Pipeline' card with 'New' badge - Frontend: lib/api.ts -- sequencing types and API functions1cb972c -
fix: correct AutoDock Vina URL in Dockerfile (ccsb-scripps/AutoDock-Vina v1.2.7)
348f224 -
feat: molecular docking (AutoDock Vina) + docs site + Sentry + cache stats + Phase 2 docs update
- Molecular docking tool via AutoDock Vina (free, CPU-based, local binary) - Dockerfile: openbabel apt install + vina binary from GitHub releases - Backend: DockingTool (PDB fetch, obabel PDBQT conversion, vina subprocess, pose parser) - Backend: POST /api/docking/run + GET /api/docking/status/{job_id} - Frontend: analyze/docking/page.tsx — PDB ID + SMILES input, auto-detect binding pocket, results table with affinity color-coding, PDBe structure viewer - Frontend: docking card with 'New' badge added to analyze/page.tsx - Documentation site: /learn pages (10 topics + glossary), LearnPopover inline help, TutorialWalkthrough onboarding modal - Sentry error monitoring: sentry.client.config.ts, sentry.server.config.ts, next.config.js withSentryConfig, backend sentry_sdk init in main.py - Cache stats tracking: _cache_stats counters, from_cache flag, /api/admin/cache-stats endpoint, @ttl_cache on ncbi_service.search_by_name and pathway_enrichment - All .md docs (MASTER_PL…fb8c550
-
feat: download pre-compiled PhyML binary from bioconda instead of source build
aad6f8e -
fix: remove PhyML source build from Docker (fails on HF), add graceful missing-binary error in phylo.py
20cf1ce -
fix: add libtool + ca-certificates to PhyML build, remove -j for low-mem environments
e9f3afa -
fix: PhyML build — disable -march=native, split RUN steps, remove -q from wget
428cddb -
feat: dedicated phylo router (NJ/UPGMA/ML), local PhyML binary, standalone phylo page, PhyloTreeViewer redesign
07e58f6
-
fix: make primer3-py optional (separate install step, router handles missing import gracefully)
2572d7f
-
feat: domains, interactions, primers, structure analysis, wizard, phylo tree, conservation
- Add backend routers: domains (InterPro), interactions (STRING-DB), primers (Primer3), structure_analysis (Ramachandran, SS pred, comparison) - Add frontend components: AnalysisWizard, PhyloTreeViewer, DomainArchitecture, StringDBViewer, PrimerDesigner, RamachandranPlot, SecondaryStructureViewer, StructureComparison, ConservationTrack - Add pages: /wizard, /analyze/domains, /analyze/interactions, /analyze/primers, /analyze/compare - Update analyze hub: 10 operations in 3 groups + wizard CTA - Update alignment page: visual phylo tree + conservation track - Update job results: Advanced Analysis tabs panel - Register all routers in main.py; add primer3-py to requirements; fix CORS & profilebac1801
-
Fix Reactome pathway search: correct param name and response parsing
- Changed 'q' to 'query' in search/query params (Reactome API rejects 'q') - Fixed response parsing: Reactome returns grouped JSON (results[N].entries) not a flat list — added _extract_entries() helper - Updated Dockerfile port from 8000 to 7860 for HF Spaces compatibility2f3ea25
-
Deploy prep: Render config + Dockerfile, refactored backend auth flow, dashboard, landing page, error states, guest flow
76fb273