-
Notifications
You must be signed in to change notification settings - Fork 3
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
DEV - Update pacbio flow to accept barcoded samples #3754
Conversation
### Changed - Barcode fields added to the PacBioSequencingRun model
* add reports and reads for barcoded run * reformat json * add some fixtures and constant * renamed fixture names * fix failing test
### Added - BarcodeMetrics class
### Added - SampleMetrics parsing model
* Include barcodes report in the file manager * Move fixtures to plugins * parametrise tests to include new run * Update cg/services/run_devices/pacbio/run_file_manager/run_file_manager.py
* Include barcodes report in the file manager * Move fixtures to plugins * parametrise tests to include new run * add functionality to parse barcode metrics * add support for parsing barcodes metrics * address comments by IO * remove from_attributes
* remove sample_id fetching from dataset metrics * fixed metrics parsing tests and fixtures * removed unused fixtures * move fixtures from conftest to plugins * add test for new function
* commit to initialise branch * update DTOs and CRUD * move dto fixtures to plugins * update fixtures and fix tests * remove duplicated fixture and unused inits * fix import error
* Add upgrade migration * add downgrade * fix black * add None to new fields on the db --------- Co-authored-by: Sebastian Diaz <[email protected]>
Upgrade and deployment to stage run successfully: remote: Compressing objects: 100% (42/42), done.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't believe how quick this went 🤩 Well done 💪
alembic/versions/2024_09_27_d6474325c722_refactor_pacbio_models.py
Outdated
Show resolved
Hide resolved
* Removed fixtures from unbarcoded cell * Remove smrt cell files * Improve test description
* Removed fixtures from unbarcoded cell * Remove smrt cell files * Improve test description * add run name to database
* remove barcode from database * update alembic script
### Fixed - Fixed typo in alias
* create update_sample_reads function in CRUD and add unit test * fix relative import * parametrise update_last_sequenced_at unit test * add sample updating to post-processing and update unit test * minor name fixes * address comments by IO
### Changed - sample_name to sample_internal_id - Unassigned reads are disregarded.
|
Deployed to production:
|
Description
Added
Changed
Fixed
How to prepare for test
us
paxa
How to test
Review
Thanks for filling in who performed the code review and the test!
This version is a
Implementation Plan