How akbar3776/gwas-platform-magang-pkl works
This is a full-stack GWAS analysis platform. Researchers upload genotype, phenotype and reference data, inspect and validate inputs, launch an asynchronous 10-phase workflow, then review association results and downstream annotations, visualizations and exports. The graph separates the web client, API/workspace, analysis pipeline and post-GWAS capabilities. README documents the broad scientific stages; sampled source confirms key route-to-orchestrator wiring and task dependencies, but not every stage’s runtime calls.
Main entry points: pipeline_orchestrator.py Pipeline orchestrator · App.jsx Web application · main.py REST API · jobs.py Job and result routes
Components 25
Researcher interface
- Web application
frontend/src/App.jsx - Account access
frontend/src/context/AuthContext.jsx - Upload workspace
frontend/src/pages/GwasUploadPage.jsx - Job tracking
frontend/src/pages/JobStatusPage.jsx - Results dashboard
frontend/src/pages/ResultsPage.jsx
API and workspace
- REST API
backend/app/main.py - Authentication routes
backend/app/api/routes/auth.py - Upload routes
backend/app/api/routes/upload.py - Pipeline endpoint
backend/app/api/routes/pipeline.py - Job and result routes
backend/app/api/routes/jobs.py - Platform database
backend/app/db/engine/models.py
GWAS workflow
- Pipeline orchestrator
backend/app/tasks/pipeline_orchestrator.py - Input inspection
backend/app/tasks/inspection_tasks.py - VCF normalization
backend/app/tasks/normalization_tasks.py - Quality control
backend/app/tasks/qc_tasks.py - Genotype imputation
backend/app/tasks/imputation_tasks.py - Population structure
backend/app/tasks/structure_tasks.py - Association analysis
backend/app/tasks/gemma_tasks.py - Multi-locus analysis
backend/app/tasks/multilocus_tasks.py
Results and interpretation
- Post-GWAS processing
backend/app/tasks/postgwas_tasks.py - Gene annotation
backend/app/tasks/annotation_tasks.py - GO enrichment
backend/app/services/go_enrichment_service.py - Primer and KASP
backend/app/services/primer_service.py
Other components
- Researcher
- Bioinformatics tools
Connections 31
- Researcher → Web application: uses
README.md - Web application → Account access: routes through
frontend/src/App.jsx - Web application → Upload workspace: routes to
frontend/src/App.jsx - Web application → Job tracking: routes to
frontend/src/App.jsx - Web application → Results dashboard: routes to
frontend/src/App.jsx - Web application → REST API: exchanges requests
README.md - REST API → Authentication routes: registers
backend/app/main.py - REST API → Upload routes: registers
backend/app/main.py - REST API → Pipeline endpoint: registers
backend/app/main.py - REST API → Job and result routes: registers
backend/app/main.py - Authentication routes → Platform database: reads and writes
backend/app/api/routes/auth.py - Pipeline endpoint → Platform database: reads and writes
backend/app/api/routes/pipeline.py - Pipeline endpoint → Pipeline orchestrator: starts workflow
backend/app/api/routes/pipeline.py - Pipeline orchestrator → Input inspection: dispatches
backend/app/tasks/pipeline_orchestrator.py - Pipeline orchestrator → VCF normalization: dispatches
backend/app/tasks/pipeline_orchestrator.py - Pipeline orchestrator → Quality control: dispatches
backend/app/tasks/pipeline_orchestrator.py - Pipeline orchestrator → Genotype imputation: dispatches
backend/app/tasks/pipeline_orchestrator.py - Pipeline orchestrator → Population structure: dispatches
backend/app/tasks/pipeline_orchestrator.py - Pipeline orchestrator → Association analysis: dispatches
backend/app/tasks/pipeline_orchestrator.py - Pipeline orchestrator → Multi-locus analysis: dispatches
backend/app/tasks/pipeline_orchestrator.py - Pipeline orchestrator → Post-GWAS processing: dispatches
backend/app/tasks/pipeline_orchestrator.py - Pipeline orchestrator → Gene annotation: dispatches
backend/app/tasks/pipeline_orchestrator.py - Gene annotation → GO enrichment: uses
backend/app/tasks/annotation_tasks.py - Gene annotation → Primer and KASP: uses
backend/app/tasks/annotation_tasks.py - VCF normalization → Bioinformatics tools: invokes
- Quality control → Bioinformatics tools: invokes
- Genotype imputation → Bioinformatics tools: invokes
- Association analysis → Bioinformatics tools: invokes
- Job and result routes → Platform database: reads job state
- Job tracking → Job and result routes: checks status
- Results dashboard → Job and result routes: retrieves results