Process mutation data into standard formats originally developed for the ExploSig family of tools
Project description
ExploSig Data
Helpers for processing mutation data into standard formats originally developed for the ExploSig family of tools.
Installation
pip install explosig-data
Example Usage
>>> import explosig_data as ed
>>> # With chaining
>>> container = (ed
.standardize_ICGC_ssm_file('path/to/ssm.tsv')
.extend_df()
.to_counts_df('SBS_96', ed.categories.SBS_96_category_list())
)
>>> counts_df = container.counts_dfs['SBS_96']
>>> # Without chaining
>>> ssm_df = ed.standardize_ICGC_ssm_file('path/to/ssm.tsv', wrap=False)
>>> # or
>>> ssm_df = ed.standardize_TCGA_maf_file('path/to/maf.tsv', wrap=False)
>>> extended_df = ed.extend_ssm_df(ssm_df)
>>> counts_df = ed.counts_from_extended_ssm_df(
extended_df,
category_colname='SBS_96',
category_values=ed.categories.SBS_96_category_list()
)
Development
Build and install from the current directory.
python setup.py sdist bdist_wheel && pip install .
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
explosig-data-0.0.1.tar.gz
(13.8 kB
view hashes)
Built Distribution
Close
Hashes for explosig_data-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6b26a1f39a05cb1a02a8d8680dbc05757469aff045dda23d97f35bb479ca471 |
|
MD5 | abf718d7d2886876fdc0e5f8ec89b6d8 |
|
BLAKE2b-256 | 9fdde0ddf41d0f544e92151b3d2997c0cd88e12bfe109e1662c3a0e2a69617ac |