Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance cohort analysis features and introduce long task queue for advntr jobs #85

Merged
merged 5 commits into from
Jan 16, 2025

Conversation

berntpopp
Copy link
Collaborator

@berntpopp berntpopp commented Jan 16, 2025

Implement support for multiple input directories and zipped files in the cohort command. Add a new endpoint for joint cohort analysis and configure a long task queue for advntr jobs to optimize processing. Bump API versions accordingly.

Closes #83
Closes #82
Closes #84
Closes #75

…utput files

- Updated `aggregate_cohort` to handle multiple adVNTR filenames, including `output_adVNTR_result.tsv`
- Enhanced `find_results_files` and `load_results_from_dirs` to support multiple filenames for adVNTR
- Ensured correct `sample_id` extraction for both Kestrel and adVNTR results

Closes #83
bump API version to 0.15.0
Closes #82
- Added configuration to define two queues: `vntyper_queue` for normal jobs and `vntyper_long_queue` for advntr long tasks.
- In `main.py`, we enqueue advntr tasks to the `vntyper_long_queue` using `apply_async(queue="vntyper_long_queue")`.
- The user can start a separate Celery worker for `vntyper_long_queue` only after the normal queue is done.
- This ensures advntr tasks run last, meeting the requirements.

Bump API version to 0.16.0
Closes #84
@berntpopp berntpopp merged commit f4b2476 into main Jan 16, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment