SigProfilerAssignment 0.2.0__tar.gz → 0.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sigprofilerassignment-0.2.0/SigProfilerAssignment.egg-info → sigprofilerassignment-0.2.2}/PKG-INFO +11 -4
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/README.md +7 -1
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/SigProfilerAssignment_CLI.py +1 -1
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/controllers/cli_controller.py +14 -1
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/decomposition.py +25 -12
- sigprofilerassignment-0.2.2/SigProfilerAssignment/version.py +8 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2/SigProfilerAssignment.egg-info}/PKG-INFO +11 -4
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment.egg-info/SOURCES.txt +1 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment.egg-info/requires.txt +1 -1
- sigprofilerassignment-0.2.2/pyproject.toml +3 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/setup.py +4 -3
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/tests/test_cli.py +3 -0
- sigprofilerassignment-0.2.0/SigProfilerAssignment/version.py +0 -8
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/LICENSE.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/MANIFEST.in +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/Analyzer.py +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/DecompositionPlots/PlotDecomposition.py +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/DecompositionPlots/PlotDecomposition_CNV48.py +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/DecompositionPlots/PlotDecomposition_DBS78.py +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/DecompositionPlots/PlotDecomposition_ID83.py +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/DecompositionPlots/PlotDecomposition_SBS1536.py +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/DecompositionPlots/PlotDecomposition_SBS288.py +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/DecompositionPlots/PlotDecomposition_SBS96.py +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/DecompositionPlots/PlotDecomposition_SV32.py +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/DecompositionPlots/ReferenceFiles/Accolade_fermante.png +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/DecompositionPlots/ReferenceFiles/CREDIT.md +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/DecompositionPlots/ReferenceFiles/Fonts/Arial Bold.ttf +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/DecompositionPlots/SigProfilerPlottingMatrix.py +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/__init__.py +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/21_breast_WGS_substitutions.mat +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/CNV_features.tsv +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/CNV_signatures.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/CN_classes_dictionary.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/DBS_signatures_genome_builds.xlsx +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v1_SBS_GRCh37.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v1_SBS_GRCh37_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v2_SBS_GRCh37.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v2_SBS_GRCh37_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3.1_DBS_GRCh37.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3.1_DBS_GRCh37_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3.1_ID_GRCh37.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3.1_SBS_GRCh37.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3.1_SBS_GRCh37_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3.2_DBS_GRCh37.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3.2_DBS_GRCh37_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3.2_ID_GRCh37.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3.2_SBS288_GRCh37.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3.2_SBS_GRCh37.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3.2_SBS_GRCh37_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3.3_CN_GRCh37.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3.3_DBS_GRCh37.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3.3_DBS_GRCh37_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3.3_ID_GRCh37.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3.3_SBS_GRCh37.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3.3_SBS_GRCh37_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3.4_CN_GRCh37.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3.4_DBS_GRCh37.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3.4_DBS_GRCh37_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3.4_ID_GRCh37.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3.4_SBS_GRCh37.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3.4_SBS_GRCh37_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3_DBS_GRCh37.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3_DBS_GRCh37_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3_ID_GRCh37.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3_SBS_GRCh37.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh37/COSMIC_v3_SBS_GRCh37_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh38/COSMIC_v1_SBS_GRCh38.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh38/COSMIC_v1_SBS_GRCh38_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh38/COSMIC_v2_SBS_GRCh38.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh38/COSMIC_v2_SBS_GRCh38_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh38/COSMIC_v3.1_DBS_GRCh38.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh38/COSMIC_v3.1_DBS_GRCh38_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh38/COSMIC_v3.1_SBS_GRCh38.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh38/COSMIC_v3.1_SBS_GRCh38_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh38/COSMIC_v3.2_DBS_GRCh38.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh38/COSMIC_v3.2_DBS_GRCh38_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh38/COSMIC_v3.2_SBS_GRCh38.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh38/COSMIC_v3.2_SBS_GRCh38_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh38/COSMIC_v3.3_DBS_GRCh38.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh38/COSMIC_v3.3_DBS_GRCh38_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh38/COSMIC_v3.3_SBS_GRCh38.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh38/COSMIC_v3.3_SBS_GRCh38_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh38/COSMIC_v3.4_DBS_GRCh38.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh38/COSMIC_v3.4_DBS_GRCh38_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh38/COSMIC_v3.4_SBS_GRCh38.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh38/COSMIC_v3.4_SBS_GRCh38_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh38/COSMIC_v3.4_SV_GRCh38.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh38/COSMIC_v3_DBS_GRCh38.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh38/COSMIC_v3_DBS_GRCh38_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh38/COSMIC_v3_SBS_GRCh38.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/GRCh38/COSMIC_v3_SBS_GRCh38_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm10/COSMIC_v1_SBS_mm10.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm10/COSMIC_v1_SBS_mm10_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm10/COSMIC_v2_SBS_mm10.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm10/COSMIC_v2_SBS_mm10_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm10/COSMIC_v3.1_DBS_mm10.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm10/COSMIC_v3.1_DBS_mm10_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm10/COSMIC_v3.1_SBS_mm10.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm10/COSMIC_v3.1_SBS_mm10_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm10/COSMIC_v3.2_DBS_mm10.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm10/COSMIC_v3.2_DBS_mm10_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm10/COSMIC_v3.2_SBS_mm10.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm10/COSMIC_v3.2_SBS_mm10_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm10/COSMIC_v3.3_DBS_mm10.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm10/COSMIC_v3.3_DBS_mm10_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm10/COSMIC_v3.3_SBS_mm10.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm10/COSMIC_v3.3_SBS_mm10_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm10/COSMIC_v3.4_DBS_mm10.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm10/COSMIC_v3.4_DBS_mm10_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm10/COSMIC_v3.4_SBS_mm10.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm10/COSMIC_v3.4_SBS_mm10_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm10/COSMIC_v3_DBS_mm10.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm10/COSMIC_v3_DBS_mm10_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm10/COSMIC_v3_SBS_mm10.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm10/COSMIC_v3_SBS_mm10_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm9/COSMIC_v1_SBS_mm9.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm9/COSMIC_v1_SBS_mm9_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm9/COSMIC_v2_SBS_mm9.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm9/COSMIC_v2_SBS_mm9_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm9/COSMIC_v3.1_DBS_mm9.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm9/COSMIC_v3.1_DBS_mm9_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm9/COSMIC_v3.1_SBS_mm9.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm9/COSMIC_v3.1_SBS_mm9_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm9/COSMIC_v3.2_DBS_mm9.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm9/COSMIC_v3.2_DBS_mm9_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm9/COSMIC_v3.2_SBS_mm9.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm9/COSMIC_v3.2_SBS_mm9_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm9/COSMIC_v3.3_DBS_mm9.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm9/COSMIC_v3.3_DBS_mm9_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm9/COSMIC_v3.3_SBS_mm9.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm9/COSMIC_v3.3_SBS_mm9_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm9/COSMIC_v3.4_DBS_mm9.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm9/COSMIC_v3.4_DBS_mm9_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm9/COSMIC_v3.4_SBS_mm9.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm9/COSMIC_v3.4_SBS_mm9_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm9/COSMIC_v3_DBS_mm9.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm9/COSMIC_v3_DBS_mm9_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm9/COSMIC_v3_SBS_mm9.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/mm9/COSMIC_v3_SBS_mm9_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/rn6/COSMIC_v1_SBS_rn6.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/rn6/COSMIC_v1_SBS_rn6_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/rn6/COSMIC_v2_SBS_rn6.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/rn6/COSMIC_v2_SBS_rn6_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/rn6/COSMIC_v3.1_DBS_rn6.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/rn6/COSMIC_v3.1_DBS_rn6_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/rn6/COSMIC_v3.1_SBS_rn6.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/rn6/COSMIC_v3.1_SBS_rn6_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/rn6/COSMIC_v3.2_DBS_rn6.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/rn6/COSMIC_v3.2_DBS_rn6_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/rn6/COSMIC_v3.2_SBS_rn6.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/rn6/COSMIC_v3.2_SBS_rn6_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/rn6/COSMIC_v3.3_DBS_rn6.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/rn6/COSMIC_v3.3_DBS_rn6_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/rn6/COSMIC_v3.3_SBS_rn6.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/rn6/COSMIC_v3.3_SBS_rn6_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/rn6/COSMIC_v3.4_DBS_rn6.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/rn6/COSMIC_v3.4_DBS_rn6_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/rn6/COSMIC_v3.4_SBS_rn6.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/rn6/COSMIC_v3.4_SBS_rn6_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/rn6/COSMIC_v3_DBS_rn6.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/rn6/COSMIC_v3_DBS_rn6_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/rn6/COSMIC_v3_SBS_rn6.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Reference_Signatures/rn6/COSMIC_v3_SBS_rn6_exome.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/SBS_signatures_genome_builds.xlsx +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Samples.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/csvexample.csv +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/sigProfiler_DBS_signatures.csv +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/sigProfiler_ID_signatures.csv +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/sigProfiler_SBS_signatures_2018_03_28.csv +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/tests/cnv_input/all.breast.ascat.summary.sample.tsv +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/tests/txt_input/CNV48_S3_Signatures.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/tests/txt_input/DBS78_S3_Signatures.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/tests/txt_input/ID83_S3_Signatures.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/tests/txt_input/SBS96_S3_Signatures.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/tests/txt_input/SV32_S3_Signatures.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/tests/txt_input/sample_matrix_CNV48.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/tests/txt_input/sample_matrix_DBS.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/tests/txt_input/sample_matrix_ID.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/tests/txt_input/sample_matrix_SBS.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/tests/txt_input/sample_matrix_SV32.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/tests/vcf_input/PD3851a.vcf +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/tests/vcf_input/PD3890a.vcf +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/tests/vcf_input/PD3904a.vcf +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/tests/vcf_input/PD3945a.vcf +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/tests/vcf_input/PD4005a.vcf +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/decompose_subroutines.py +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/single_sample.py +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment.egg-info/dependency_links.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment.egg-info/entry_points.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment.egg-info/not-zip-safe +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment.egg-info/top_level.txt +0 -0
- {sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/setup.cfg +0 -0
{sigprofilerassignment-0.2.0/SigProfilerAssignment.egg-info → sigprofilerassignment-0.2.2}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: SigProfilerAssignment
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Mutational signatures attribution and decomposition tool
|
|
5
5
|
Home-page: https://github.com/AlexandrovLab/SigProfilerAssignment.git
|
|
6
6
|
Author: Raviteja Vangara
|
|
@@ -17,7 +17,7 @@ Requires-Dist: sigProfilerPlotting>=1.4.0
|
|
|
17
17
|
Requires-Dist: reportlab>=3.5.42
|
|
18
18
|
Requires-Dist: pypdf>=5.0.0
|
|
19
19
|
Requires-Dist: alive_progress>=2.4.1
|
|
20
|
-
Requires-Dist:
|
|
20
|
+
Requires-Dist: pdf2image>=1.16.0
|
|
21
21
|
Provides-Extra: tests
|
|
22
22
|
Requires-Dist: pytest; extra == "tests"
|
|
23
23
|
Dynamic: author
|
|
@@ -26,6 +26,7 @@ Dynamic: description
|
|
|
26
26
|
Dynamic: description-content-type
|
|
27
27
|
Dynamic: home-page
|
|
28
28
|
Dynamic: license
|
|
29
|
+
Dynamic: license-file
|
|
29
30
|
Dynamic: provides-extra
|
|
30
31
|
Dynamic: requires-dist
|
|
31
32
|
Dynamic: requires-python
|
|
@@ -67,6 +68,12 @@ $ python
|
|
|
67
68
|
from SigProfilerMatrixGenerator import install as genInstall
|
|
68
69
|
genInstall.install('GRCh37')
|
|
69
70
|
```
|
|
71
|
+
|
|
72
|
+
If you plan to use `sample_reconstruction_plots='png'` or `'both'`, the external `poppler` binary is required. You can install it using one of the following commands:
|
|
73
|
+
|
|
74
|
+
- For Conda-based environments:
|
|
75
|
+
`conda install -c conda-forge poppler`
|
|
76
|
+
|
|
70
77
|
## <a name="running"></a> Running
|
|
71
78
|
|
|
72
79
|
Assignment of known mutational signatures to individual samples is performed using the `cosmic_fit` function. Input samples are provided using the `samples` parameter in the form of mutation calling files (VCFs, MAFs, or simple text files), segmentation files or mutational matrices. COSMIC mutational signatures v3.4 are used as the default reference signatures, although previous COSMIC versions and custom signature databases are also supported using the `cosmic_version` and `signature_database` parameters. Results will be found in the folder specified in the `output` parameter.
|
|
@@ -99,7 +106,7 @@ Analyze.cosmic_fit(samples, output, input_type="matrix", context_type="96",
|
|
|
99
106
|
| export_probabilities | Boolean | Defines if the probability matrix per mutational context for all samples is created. The default value is True. |
|
|
100
107
|
| export_probabilities_per_mutation | Boolean | Defines if the probability matrices per mutation for all samples are created. Only available when `input_type` is "vcf". The default value is False. |
|
|
101
108
|
| make_plots | Boolean | Toggle on and off for making and saving plots. The default value is True. |
|
|
102
|
-
| sample_reconstruction_plots | String | Select the output format for sample reconstruction plots. Valid inputs are {'pdf', 'png', 'both',
|
|
109
|
+
| sample_reconstruction_plots | String | Select the output format for sample reconstruction plots. Valid inputs are {'pdf', 'png', 'both', 'none'}. The default value is 'none'. If set to 'png' or 'both', the external binary `poppler` must be installed. Install via `conda install -c conda-forge poppler` or `brew install poppler` on macOS. |
|
|
103
110
|
| verbose | Boolean | Prints detailed statements. The default value is False. |
|
|
104
111
|
| volume | String | Path to SigProfilerAssignment volumes. Used for Docker/Singularity. Environmental variable "SIGPROFILERASSIGNMENT_VOLUME" takes precedence. Default value is None. |
|
|
105
112
|
|
|
@@ -34,6 +34,12 @@ $ python
|
|
|
34
34
|
from SigProfilerMatrixGenerator import install as genInstall
|
|
35
35
|
genInstall.install('GRCh37')
|
|
36
36
|
```
|
|
37
|
+
|
|
38
|
+
If you plan to use `sample_reconstruction_plots='png'` or `'both'`, the external `poppler` binary is required. You can install it using one of the following commands:
|
|
39
|
+
|
|
40
|
+
- For Conda-based environments:
|
|
41
|
+
`conda install -c conda-forge poppler`
|
|
42
|
+
|
|
37
43
|
## <a name="running"></a> Running
|
|
38
44
|
|
|
39
45
|
Assignment of known mutational signatures to individual samples is performed using the `cosmic_fit` function. Input samples are provided using the `samples` parameter in the form of mutation calling files (VCFs, MAFs, or simple text files), segmentation files or mutational matrices. COSMIC mutational signatures v3.4 are used as the default reference signatures, although previous COSMIC versions and custom signature databases are also supported using the `cosmic_version` and `signature_database` parameters. Results will be found in the folder specified in the `output` parameter.
|
|
@@ -66,7 +72,7 @@ Analyze.cosmic_fit(samples, output, input_type="matrix", context_type="96",
|
|
|
66
72
|
| export_probabilities | Boolean | Defines if the probability matrix per mutational context for all samples is created. The default value is True. |
|
|
67
73
|
| export_probabilities_per_mutation | Boolean | Defines if the probability matrices per mutation for all samples are created. Only available when `input_type` is "vcf". The default value is False. |
|
|
68
74
|
| make_plots | Boolean | Toggle on and off for making and saving plots. The default value is True. |
|
|
69
|
-
| sample_reconstruction_plots | String | Select the output format for sample reconstruction plots. Valid inputs are {'pdf', 'png', 'both',
|
|
75
|
+
| sample_reconstruction_plots | String | Select the output format for sample reconstruction plots. Valid inputs are {'pdf', 'png', 'both', 'none'}. The default value is 'none'. If set to 'png' or 'both', the external binary `poppler` must be installed. Install via `conda install -c conda-forge poppler` or `brew install poppler` on macOS. |
|
|
70
76
|
| verbose | Boolean | Prints detailed statements. The default value is False. |
|
|
71
77
|
| volume | String | Path to SigProfilerAssignment volumes. Used for Docker/Singularity. Environmental variable "SIGPROFILERASSIGNMENT_VOLUME" takes precedence. Default value is None. |
|
|
72
78
|
|
|
@@ -135,6 +135,19 @@ def parse_arguments_common(args: List[str], description: str) -> argparse.Namesp
|
|
|
135
135
|
default=None,
|
|
136
136
|
help="User specified directory for saving/loading template files. Note: The environment variable SIGPROFILERASSIGNMENT_VOLUME takes precedence over this parameter.",
|
|
137
137
|
)
|
|
138
|
+
parser.add_argument(
|
|
139
|
+
"--sample_reconstruction_plots",
|
|
140
|
+
type=str.lower,
|
|
141
|
+
choices=["none", "pdf", "both", "png"],
|
|
142
|
+
default="none",
|
|
143
|
+
help=(
|
|
144
|
+
"Output format for sample reconstruction plots. "
|
|
145
|
+
"Options: 'none' (default, disables plotting), "
|
|
146
|
+
"'pdf' (generate only PDF), "
|
|
147
|
+
"'both' (PDF + PNG), or "
|
|
148
|
+
"'png' (PNG only, PDF removed)."
|
|
149
|
+
)
|
|
150
|
+
)
|
|
138
151
|
|
|
139
152
|
return parser.parse_args(args)
|
|
140
153
|
|
|
@@ -226,5 +239,5 @@ class CliController:
|
|
|
226
239
|
context_type=parsed_args.context_type,
|
|
227
240
|
export_probabilities=parsed_args.export_probabilities,
|
|
228
241
|
export_probabilities_per_mutation=parsed_args.export_probabilities_per_mutation,
|
|
229
|
-
sample_reconstruction_plots=
|
|
242
|
+
sample_reconstruction_plots=parsed_args.sample_reconstruction_plots,
|
|
230
243
|
)
|
{sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/decomposition.py
RENAMED
|
@@ -25,7 +25,7 @@ from sigProfilerPlotting import sigProfilerPlotting as sigPlot
|
|
|
25
25
|
import sigProfilerPlotting
|
|
26
26
|
import os, sys
|
|
27
27
|
from pypdf import PdfWriter, PdfReader
|
|
28
|
-
import
|
|
28
|
+
from pdf2image import convert_from_path
|
|
29
29
|
import time
|
|
30
30
|
from pathlib import Path
|
|
31
31
|
|
|
@@ -60,21 +60,32 @@ def get_storage_dir(volume=None):
|
|
|
60
60
|
|
|
61
61
|
|
|
62
62
|
def convert_PDF_to_PNG(input_file_name, output_directory, page_names):
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
"""
|
|
64
|
+
Converts each page of the PDF to a PNG image with names from page_names.
|
|
65
|
+
Requires the 'pdf2image' Python package and the 'poppler' binary.
|
|
66
|
+
|
|
67
|
+
Parameters:
|
|
68
|
+
- input_file_name (str): Path to the input PDF file.
|
|
69
|
+
- output_directory (str): Directory where PNGs will be saved.
|
|
70
|
+
- page_names (List[str]): List of names (without extensions) to name PNGs.
|
|
71
|
+
"""
|
|
72
|
+
if not os.path.exists(output_directory):
|
|
73
|
+
os.makedirs(output_directory)
|
|
74
|
+
|
|
75
|
+
# Convert PDF pages to PIL images
|
|
76
|
+
try:
|
|
77
|
+
images = convert_from_path(input_file_name, dpi=300)
|
|
78
|
+
except Exception as e:
|
|
79
|
+
raise RuntimeError(f"Error converting PDF to images: {e}")
|
|
66
80
|
|
|
67
|
-
if
|
|
81
|
+
if len(images) != len(page_names):
|
|
68
82
|
raise ValueError(
|
|
69
83
|
"Error: The number of samples and number of plots do not match."
|
|
70
84
|
)
|
|
71
|
-
if not os.path.exists(output_directory):
|
|
72
|
-
os.makedirs(output_directory)
|
|
73
85
|
|
|
74
|
-
for
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
pix.save(out_file_name)
|
|
86
|
+
for image, sample_name in zip(images, page_names):
|
|
87
|
+
output_path = os.path.join(output_directory, sample_name + ".png")
|
|
88
|
+
image.save(output_path, "PNG")
|
|
78
89
|
|
|
79
90
|
|
|
80
91
|
# Create sample reconstruction plots
|
|
@@ -263,6 +274,7 @@ def spa_analyze(
|
|
|
263
274
|
genome_build = A string. The reference genome build. List of supported genomes: "GRCh37", "GRCh38", "mm9", "mm10" and "rn6". The default value is "GRCh37". If the selected genome is not in the supported list, the default genome will be used.
|
|
264
275
|
verbose = Boolean. Prints statements. Default value is False.
|
|
265
276
|
exome = Boolean. Defines if the exome renormalized signatures will be used. The default value is False.
|
|
277
|
+
sample_reconstruction_plots (str): Select output format for sample reconstruction plots. Valid options are {'pdf', 'png', 'both', 'none'}. Default is 'none'.
|
|
266
278
|
|
|
267
279
|
Values:
|
|
268
280
|
The files below will be generated in the output folder.
|
|
@@ -1061,7 +1073,8 @@ def spa_analyze(
|
|
|
1061
1073
|
recon_output_types = ["png", "pdf", "both"]
|
|
1062
1074
|
# Generate sample reconstruction plots
|
|
1063
1075
|
if (
|
|
1064
|
-
sample_reconstruction_plots
|
|
1076
|
+
isinstance(sample_reconstruction_plots, str)
|
|
1077
|
+
and sample_reconstruction_plots.lower() in recon_output_types
|
|
1065
1078
|
and mutation_type == "96"
|
|
1066
1079
|
and signature_database is None
|
|
1067
1080
|
):
|
{sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2/SigProfilerAssignment.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: SigProfilerAssignment
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Mutational signatures attribution and decomposition tool
|
|
5
5
|
Home-page: https://github.com/AlexandrovLab/SigProfilerAssignment.git
|
|
6
6
|
Author: Raviteja Vangara
|
|
@@ -17,7 +17,7 @@ Requires-Dist: sigProfilerPlotting>=1.4.0
|
|
|
17
17
|
Requires-Dist: reportlab>=3.5.42
|
|
18
18
|
Requires-Dist: pypdf>=5.0.0
|
|
19
19
|
Requires-Dist: alive_progress>=2.4.1
|
|
20
|
-
Requires-Dist:
|
|
20
|
+
Requires-Dist: pdf2image>=1.16.0
|
|
21
21
|
Provides-Extra: tests
|
|
22
22
|
Requires-Dist: pytest; extra == "tests"
|
|
23
23
|
Dynamic: author
|
|
@@ -26,6 +26,7 @@ Dynamic: description
|
|
|
26
26
|
Dynamic: description-content-type
|
|
27
27
|
Dynamic: home-page
|
|
28
28
|
Dynamic: license
|
|
29
|
+
Dynamic: license-file
|
|
29
30
|
Dynamic: provides-extra
|
|
30
31
|
Dynamic: requires-dist
|
|
31
32
|
Dynamic: requires-python
|
|
@@ -67,6 +68,12 @@ $ python
|
|
|
67
68
|
from SigProfilerMatrixGenerator import install as genInstall
|
|
68
69
|
genInstall.install('GRCh37')
|
|
69
70
|
```
|
|
71
|
+
|
|
72
|
+
If you plan to use `sample_reconstruction_plots='png'` or `'both'`, the external `poppler` binary is required. You can install it using one of the following commands:
|
|
73
|
+
|
|
74
|
+
- For Conda-based environments:
|
|
75
|
+
`conda install -c conda-forge poppler`
|
|
76
|
+
|
|
70
77
|
## <a name="running"></a> Running
|
|
71
78
|
|
|
72
79
|
Assignment of known mutational signatures to individual samples is performed using the `cosmic_fit` function. Input samples are provided using the `samples` parameter in the form of mutation calling files (VCFs, MAFs, or simple text files), segmentation files or mutational matrices. COSMIC mutational signatures v3.4 are used as the default reference signatures, although previous COSMIC versions and custom signature databases are also supported using the `cosmic_version` and `signature_database` parameters. Results will be found in the folder specified in the `output` parameter.
|
|
@@ -99,7 +106,7 @@ Analyze.cosmic_fit(samples, output, input_type="matrix", context_type="96",
|
|
|
99
106
|
| export_probabilities | Boolean | Defines if the probability matrix per mutational context for all samples is created. The default value is True. |
|
|
100
107
|
| export_probabilities_per_mutation | Boolean | Defines if the probability matrices per mutation for all samples are created. Only available when `input_type` is "vcf". The default value is False. |
|
|
101
108
|
| make_plots | Boolean | Toggle on and off for making and saving plots. The default value is True. |
|
|
102
|
-
| sample_reconstruction_plots | String | Select the output format for sample reconstruction plots. Valid inputs are {'pdf', 'png', 'both',
|
|
109
|
+
| sample_reconstruction_plots | String | Select the output format for sample reconstruction plots. Valid inputs are {'pdf', 'png', 'both', 'none'}. The default value is 'none'. If set to 'png' or 'both', the external binary `poppler` must be installed. Install via `conda install -c conda-forge poppler` or `brew install poppler` on macOS. |
|
|
103
110
|
| verbose | Boolean | Prints detailed statements. The default value is False. |
|
|
104
111
|
| volume | String | Path to SigProfilerAssignment volumes. Used for Docker/Singularity. Environmental variable "SIGPROFILERASSIGNMENT_VOLUME" takes precedence. Default value is None. |
|
|
105
112
|
|
|
@@ -6,7 +6,7 @@ import os
|
|
|
6
6
|
if os.path.exists("dist"):
|
|
7
7
|
shutil.rmtree("dist")
|
|
8
8
|
|
|
9
|
-
VERSION = "0.2.
|
|
9
|
+
VERSION = "0.2.2"
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
def write_version_py(filename="SigProfilerAssignment/version.py"):
|
|
@@ -15,7 +15,7 @@ def write_version_py(filename="SigProfilerAssignment/version.py"):
|
|
|
15
15
|
# THIS FILE IS GENERATED FROM SigProfilerAssignment SETUP.PY
|
|
16
16
|
short_version = '%(version)s'
|
|
17
17
|
version = '%(version)s'
|
|
18
|
-
Update = 'v0.2.
|
|
18
|
+
Update = 'v0.2.2: Fix bug in CLI returning non-zero exit code'
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
"""
|
|
@@ -41,7 +41,8 @@ requirements = [
|
|
|
41
41
|
"reportlab>=3.5.42",
|
|
42
42
|
"pypdf>=5.0.0",
|
|
43
43
|
"alive_progress>=2.4.1",
|
|
44
|
-
"
|
|
44
|
+
"pdf2image>=1.16.0", # replacing PyMuPDF
|
|
45
|
+
# Note: 'poppler' is required as a system dependency for pdf2image
|
|
45
46
|
]
|
|
46
47
|
|
|
47
48
|
write_version_py()
|
|
@@ -42,6 +42,8 @@ def test_argument_parsing():
|
|
|
42
42
|
"True",
|
|
43
43
|
"--exome",
|
|
44
44
|
"True",
|
|
45
|
+
"--sample_reconstruction_plots",
|
|
46
|
+
"png",
|
|
45
47
|
],
|
|
46
48
|
"Test argument parsing",
|
|
47
49
|
)
|
|
@@ -56,6 +58,7 @@ def test_argument_parsing():
|
|
|
56
58
|
assert args.export_probabilities == False
|
|
57
59
|
assert args.export_probabilities_per_mutation == True
|
|
58
60
|
assert args.exome == True
|
|
61
|
+
assert args.sample_reconstruction_plots == "png"
|
|
59
62
|
|
|
60
63
|
|
|
61
64
|
def test_boolean_conversion():
|
|
File without changes
|
|
File without changes
|
{sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/Analyzer.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/data/Samples.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sigprofilerassignment-0.2.0 → sigprofilerassignment-0.2.2}/SigProfilerAssignment/single_sample.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|