SigProfilerAssignment
SigProfilerAssignment enables assignment of previously known mutational signatures to individual samples and individual somatic mutations. The tool refits different types of reference mutational signatures, including COSMIC signatures, as well as custom signature databases. SigProfilerAssignment makes use of SigProfilerMatrixGenerator and SigProfilerPlotting, seamlessly integrating with other in SigProfilerSuite.
Documentation
Detailed documentation can be found at https://sigprofilersuite.github.io/SigProfilerAssignment.
Quick Start Guide
Installation
Install the current stable PyPi version of SigProfilerAssignment:
$ pip install SigProfilerAssignment
If mutation calling files (MAF, VCF, or simple text files) are used as input, please install your desired reference genome as follows (available reference genomes are: GRCh37, GRCh38, mm9, mm10, mm39, rn6, and rn7):
$ python
from SigProfilerMatrixGenerator import install as genInstall
genInstall.install('GRCh37')
Running
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.6 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.
from SigProfilerAssignment import Analyzer as Analyze
Analyze.cosmic_fit(samples, output, input_type="matrix", context_type="96")
You can also run SigProfilerAssignment cosmic_fit function from command line:
$ SigProfilerAssignment cosmic_fit samples output --input_type "matrix" --context_type "96"
Reference
Díaz-Gay M, Vangara R, Barnes M, et al., Alexandrov LB. Assigning mutational signatures to individual samples and individual somatic mutations with SigProfilerAssignment. Bioinformatics. 2023;39(12):btad756. https://doi.org/10.1093/bioinformatics/btad756
Contact
For questions, support requests, or bug reports, please contact the SigProfilerSuite team via GitHub issues or by email at contact@sigprofilersuite.org.
Metadata
Release files for SigProfilerAssignment 1.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sigprofilerassignment-1.1.5.tar.gz | 9.7 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sigprofilerassignment-1.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.7 MB
Release files / sigprofilerassignment-1.1.5.tar.gz
| Download URL | sigprofilerassignment-1.1.5.tar.gz |
|---|---|
| Size | 9.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
89d054ba7c3fa2b5d3fc401b7c8569fe746c257c97c7889fb8ce5ba5f40e7c2d
|
|
BLAKE2b-256 checksum How to use checksums |
2fb769c25885a38456812b53b68c33fca6ea9fc03ad4335dc529d004b2ffb0c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / sigprofilerassignment-1.1.5-py3-none-any.whl
| Download URL | sigprofilerassignment-1.1.5-py3-none-any.whl |
|---|---|
| Size | 10.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4773a69acabf49ee023c2468d3ff86473aa521c68a70843b6f28364182529d7c
|
|
BLAKE2b-256 checksum How to use checksums |
b66546199e075fc7cbd2477022744b5ce73845239ebea5025fbbd8c73dfdbb05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|