How rakabari/genexus_opa works
This repository automates creation of Golden Helix VarSeq projects from prepared Genexus OPA sequencing runs. The workflow discovers eligible runs, matches manifests, updates SampleCatalog, then creates one project per compressed VCF, imports sample metadata and BAM paths, and runs cancer evaluation. The evaluation imports variants, removes negative findings, and corrects Genexus depth/VAF values. Run discovery and project execution are implemented in workflow_utils.py; the README documents additional workflow behavior. The workflow YAML files and template are present in the tree but were not sampled, so their internal relationships are not mapped.
Main entry points: create_project.py Run coordinator · workflow_utils.py VSPipeline execution · script_cancer.js Evaluation creation · process_manifest.py Manifest matching
Components 17
Workflow orchestration
- Run coordinator
create_project.py - Runtime paths
config.py
Manifest and catalog
- Manifest matching
process_manifest.py
Project processing
- Run and VCF discovery
workflow_utils.py - VSPipeline execution
workflow_utils.py - VCF and metadata import
workflow_utils.py - Completion check
workflow_utils.py
Cancer evaluation
- Evaluation creation
js_scripts/upstate_import_variants_to_eval/script_cancer.js - Genexus depth and VAF
js_scripts/upstate_genexus_dp_af/script_cancer.js - Alternate depth and AF
js_scripts/upstate_genexus_dp_af/script_cancer_af.js
Other components
- Workflow operator
- Prepared run data
- Sample manifests
- VarSeq project output
- SampleCatalog
- VSPipeline
- VarSeq evaluation APIs
Connections 18
- Workflow operator → Run coordinator: starts workflow
README.md - Run coordinator → Runtime paths: reads paths
create_project.py - Run coordinator → Run and VCF discovery: discovers runs
create_project.py - Prepared run data → Run and VCF discovery: provides run files
README.md - Run coordinator → Manifest matching: processes manifest
create_project.py - Sample manifests → Manifest matching: provides rows
README.md - Manifest matching → SampleCatalog: upserts samples
process_manifest.py - Run coordinator → VSPipeline execution: processes each VCF
create_project.py - VSPipeline execution → VSPipeline: runs commands
workflow_utils.py - VSPipeline execution → VCF and metadata import: imports VCF and metadata
workflow_utils.py - VCF and metadata import → VarSeq project output: creates project
README.md - VSPipeline execution → Evaluation creation: runs workflow script
workflow_utils.py - Evaluation creation → VarSeq evaluation APIs: creates and edits evaluation
js_scripts/upstate_import_variants_to_eval/script_cancer.js - Evaluation creation → Genexus depth and VAF: runs custom script
js_scripts/upstate_import_variants_to_eval/script_cancer.js - Genexus depth and VAF → VarSeq evaluation APIs: reads variant fields
js_scripts/upstate_genexus_dp_af/script_cancer.js - Alternate depth and AF → VarSeq evaluation APIs: updates depth and AF
js_scripts/upstate_genexus_dp_af/script_cancer_af.js - VSPipeline execution → Completion check: checks completion
README.md - Completion check → VarSeq project output: checks task logs
workflow_utils.py