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

U67 #125

Merged
merged 2 commits into from
May 28, 2024
Merged

U67 #125

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include README.md
include SigProfilerAssignment/controllers/*
include SigProfilerAssignment/data/*
include SigProfilerAssignment/data/Reference_Signatures/GRCh37/*
include SigProfilerAssignment/data/Reference_Signatures/GRCh38/*
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ Analyze.cosmic_fit(samples, output, input_type="matrix", context_type="96",
| make_plots | Boolean | Toggle on and off for making and saving plots. The default value is True. |
| sample_reconstruction_plots | String | Select the output format for sample reconstruction plots. Valid inputs are {'pdf', 'png', 'both', None}. The default value is None. |
| verbose | Boolean | Prints detailed statements. The default value is False. |
| volume | String | Path to SigProfilerAssignment volumes. Used for Docker/Singularity. Environmental variable "SIGPROFILERASSIGNMENT_VOLUME" takes precedence. Default value is None. |



Expand Down
6 changes: 6 additions & 0 deletions SigProfilerAssignment/Analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def decompose_fit(
context_type="96",
export_probabilities=True,
export_probabilities_per_mutation=False,
volume=None,
):
decomp.spa_analyze(
samples=samples,
Expand All @@ -49,6 +50,7 @@ def decompose_fit(
context_type=context_type,
export_probabilities=export_probabilities,
export_probabilities_per_mutation=export_probabilities_per_mutation,
volume=volume,
)


Expand All @@ -73,6 +75,7 @@ def denovo_fit(
context_type="96",
export_probabilities=True,
export_probabilities_per_mutation=False,
volume=None,
):
decomp.spa_analyze(
samples=samples,
Expand All @@ -98,6 +101,7 @@ def denovo_fit(
context_type=context_type,
export_probabilities=export_probabilities,
export_probabilities_per_mutation=export_probabilities_per_mutation,
volume=volume,
)


Expand All @@ -123,6 +127,7 @@ def cosmic_fit(
export_probabilities=True,
export_probabilities_per_mutation=False,
sample_reconstruction_plots=False,
volume=None,
):
decomp.spa_analyze(
samples=samples,
Expand All @@ -149,4 +154,5 @@ def cosmic_fit(
export_probabilities=export_probabilities,
export_probabilities_per_mutation=export_probabilities_per_mutation,
sample_reconstruction_plots=sample_reconstruction_plots,
volume=volume,
)
Loading