Skip to main content

Extracts mutational signatures from mutational catalogues

Project description

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

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sigproextractor-0.0.5.65.tar.gz (553.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sigproextractor-0.0.5.65-py3-none-any.whl (551.2 kB view details)

Uploaded Python 3

File details

Details for the file sigproextractor-0.0.5.65.tar.gz.

File metadata

  • Download URL: sigproextractor-0.0.5.65.tar.gz
  • Upload date:
  • Size: 553.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for sigproextractor-0.0.5.65.tar.gz
Algorithm Hash digest
SHA256 8c668f97d1dafb6100cda4ba2bfdb576146f1cbb2be5d3b0d323a3089b9e580a
MD5 01d6cdcb88cda3773773b4558a6d33ed
BLAKE2b-256 edc219cf7c45e1e9b8f99982f98df7c2ef7fd28a80f247a3f23955162c4450be

See more details on using hashes here.

File details

Details for the file sigproextractor-0.0.5.65-py3-none-any.whl.

File metadata

  • Download URL: sigproextractor-0.0.5.65-py3-none-any.whl
  • Upload date:
  • Size: 551.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for sigproextractor-0.0.5.65-py3-none-any.whl
Algorithm Hash digest
SHA256 9d6e2a7a4b341278321132a53a16339883899b04829cb70009470d9857b3da0a
MD5 be05cc6ce1c96b614c1de31fc25d8785
BLAKE2b-256 cd8abf14f7396e842ee7788e0b9c589d2b13199776e21a5404154cfc9a39e235

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page