feat: automatic download of cytoband coordinates file via init command#1651
feat: automatic download of cytoband coordinates file via init command#1651beatrizsavinhas merged 66 commits intodevelopfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #1651 +/- ##
===========================================
- Coverage 99.48% 99.38% -0.10%
===========================================
Files 40 40
Lines 1932 1964 +32
===========================================
+ Hits 1922 1952 +30
- Misses 10 12 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
"file_name": "cytoBand.txt",
mathiasbio
left a comment
There was a problem hiding this comment.
Looks great! 🌟 Thanks a lot! After this is merged I'll update my PR to read from the config instead of directly from the assets/analysis_metadata folder.
Just added a small name change suggestion. But feel free to ignore if you don't agree. If you happen to agree, I don't think you need to test 🙏
# Conflicts: # CHANGELOG.rst
Thank you!!! 🌟 Totally agree with the name change! Will change it. |
|



Description
Add cytoband coordinates file to list of reference files to automatically download when the init command is run.
Closes #1650.
Added
cytoband_coordinates_filetoREFERENCE_FILESdict forGenomeVersion.HG19."dir_name": "genome", file type, name and gzip for thecytoband_coordinates_file.cytoband_coordinates_fileto theReferencesHgmodel.cytoband_coordinates_fileto the list returned byCacheConfig.get_reference_output_paths.cytoband_coordinates_fileto theAnalysisReferencesHgmodel and the object returned byget_analysis_references.cytoband_coordinates_fileto pytest.fixturefixture_analysis_references_hg_data.Changed
test_get_reference_file_paths_by_compressionto include the additional file.test_get_reference_output_pathsto include the additional file.test_get_reference_file_paths_by_compressionto include the additional file.Documentation
Tests
Feature Tests
Install balsamic version from this branch
pip install --no-build-isolation --no-cache-dir -U git+https://github.com/Clinical-Genomics/BALSAMIC@1650-add-cytoband-to-initRemove
/home/proj/stage/cancer/balsamic_cache/develop/hg19/analysis_finished_successfullyfile to be able to run init commandRun init command:
Check that the cytoBand coordinates file is added to the

config.jsonfile:Check that the cytoBand coordinates file is added to the

reference.jsonfile:Check that

cytoBand.txt.gzfile exists:Pipeline Integrity Tests
.hkfile)Clinical Genomics Stockholm
Documentation
Panel of Normal specific criteria
User Changes
Infrastructure Changes
Validation criteria
Version specific criteria
Important
One of the below checkboxes for validation need to be checked
Checklist
Important
Ensure that all checkboxes below are ticked before merging.
For Developers
For Reviewers
conditions where applicable, with satisfactory results.