Repository navigation
Revise handling of COSMIC mutational signatures - #17
Merged
Merged
Conversation
…files instead of required fields
… plotting functionality
…l signatures format, reduced minimum contribution from 6% to 20%, removed deprecated functionality for deconstructSigs, added example data for mutational signatures to run example
…or features and annotation based on updates to Mutational Signatures and 2023 Nov database release.
Collaborator
Author
|
The main All unit tests pass, and outputs match except where expected. All files changed have been reviewed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request utilizes v.2023-11-09 of the underlying MOAlmanac database and the algorithm version is incremented to 0.5.0.
This pull request changes how COSMIC mutational signatures are managed by MOAlmanac. deconstructSigs is no longer run as a subprocess within the Docker and code environment in favor of "bringing your own" COSMIC mutational signatures. Like the database, this algorithm supports SBS COSMIC mutational signatures from v3.4.
Additions:
example_data/example.sbs_contributions.txthas been added as an example input of COSMIC v3.4 SBS signatures.moalmanac/moalmanac.pynow accepts--mutational_signaturesas an input argument.Revisions:
base-image/folder has thus been removed, as that was used to have a base image with a stable R installation.README.mdwas revised to remove details of installing R and deconstructSigs.docs/description-of-inputs.mdnow contains input specifications for COSMIC mutational signatures.moalmanac/annotator.pyandcolnames.inihave been revised to adjust how mutational signatures are handled with the updates to v3.4.example_outputfolder have been renamed to useexample_output.as a prefix instead ofexample.config.inifor mutational signature contributions has been lowered from 0.20 to 0.06. Relevant fields underfunction_toggleto enable/disable running of deconstructSigs as a subprocess and plotting have been removed.example_output/example_output.actionable.txthas been updated to include annotations and interpretations from the revised signature implementations and called copy number alterations.moalmanac/annotator.py,moalmanac/features.py,moalmanac/illustrator.py, andmoalmanac/moalmanac.pyhave been revised to remove functionality for running deconstructSigs as a subprocess.moalmanac/test/annotator_tests.pywas updated to includelast_updatedas a field for sorting and updated based on the v.2023-11-09 database release.moalmanac/test/features_tests.pywas updated to remove tests for deprecated functions that were used for COSMIC signature import, and presently used tests were revised for the new functionality.Bug fixes:
docs/description-of-inputs.mdincorrectly listed "Required files" instead of "Required fields" as a sub header.Pre-pull request check list,