Skip to main content

SigProfilerExtractor

SigProfilerExtractor allows de novo extraction of mutational signatures from data generated in a matrix format. The tool identifies the number of operative mutational signatures, their activities in each sample, and the probability for each signature to cause a specific mutation type in a cancer sample. The tool makes use of SigProfilerMatrixGenerator and SigProfilerPlotting.

INSTALLATION

In the commandline, please type the following line:

$pip install sigproextractor

Install your desired reference genome from the command line/terminal as follows (available reference genomes are: GRCh37, GRCh38, mm9, and mm10):

$ python
>> from SigProfilerMatrixGenerator import install as genInstall
>> genInstall.install('GRCh37')

This will install the human 37 assembly as a reference genome. You may install as many genomes as you wish.

open a python interpreter and import the SigProfilerExtractor module. Please see the examples of the functions.

FUNCTIONS

importdata

Imports the path of example data.

importdata(datatype="matobj")

Example: 
-------
>>> from sigproextractor import sigpro as sig
>>> data = sig.importdata("text")
This "data" variable can be used as a parameter of the "project" argument of the sigProfilerExtractor function.

To get help on the parameters and outputs of the "importdata" function, please write down the following line:

>>> help(sig.importdata)

sigProfilerExtractor

Extracts mutational signatures from an array of samples.

sigProfilerExtractor(input_type, out_put, project, refgen="GRCh37", startProcess=1, endProcess=10, totalIterations=8, 
cpu=-1, hierarchy = False, mtype = ["default"],exome = False, indel_extended = False)



Examples
--------

>>> from sigproextractor import sigpro as sig
>>> data = sig.importdata("vcf")
>>> sig.sigProfilerExtractor("vcf", "example_output", data, startProcess=1, endProcess=3)

Wait untill the excecution is finished. The process may a couple of hours based on the size of the data.
Check the current working directory for the "example_output" folder.

To get help on the parameters and outputs of the "sigProfilerExtractor" function, please write down the following line:

>>> help(sig.sigProfilerExtractor)

COPYRIGHT

This software and its documentation are copyright 2018 as a part of the sigProfiler project. The SigProfilerExtractor framework is free software and is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

CONTACT INFORMATION

Please address any queries or bug reports to S M Ashiqul Islam (Mishu) at m0islam.ucsd.edu

Release files for new-sigproextractor 0.0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for new-sigproextractor 0.0.0.1
File Size Uploaded
new_sigproextractor-0.0.0.1.tar.gz 27.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for new-sigproextractor 0.0.0.1
File Interpreter ABI Platform
new_sigproextractor-0.0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 33.1 MB

Release files / new_sigproextractor-0.0.0.1.tar.gz

Download URL new_sigproextractor-0.0.0.1.tar.gz
Size 27.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5fc6e3b0f85552f1d4815cc2c32a57f816d18bf1793d08320867cad8afd9fdeb
BLAKE2b-256 checksum
How to use checksums
062415c5d5f82e2b01f2a1f57b7c772dc20d7360c60a8013ecde5e564ee01eb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release files / new_sigproextractor-0.0.0.1-py3-none-any.whl

Download URL new_sigproextractor-0.0.0.1-py3-none-any.whl
Size 33.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
3be0dd58205e4ac6a3aa1629b5e22df4e6f5d69ef55b3ea0e409b2f9ff56ccda
BLAKE2b-256 checksum
How to use checksums
bd2692b03b7494f84da4f4c1872b0bf9a23e9c0d02849bcae815d88c9f5b2ac7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page