# xcltk: Toolkit for XClone Preprocessing
[![](https://img.shields.io/pypi/v/xcltk.svg)][pypi]
[![](https://img.shields.io/github/license/hxj5/xcltk)][licence]
[XClone][XClone repo] is a statistical method to detect haplotype-aware
copy number variations (CNVs) and reconstruct tumour clonal substructure from
scRNA-seq data,
by integrating the expression levels (read depth ratio; RDR signals) and
the allelic balance (B-allele frequency; BAF signals).
It takes three matrices as input: the allele-specific *AD* and *DP* matrices
(BAF signals) and the *total read depth* matrix (RDR signals).
The [xcltk][xcltk repo] package implements a preprocessing pipeline to
generate the three matrices from SAM/BAM/CRAM files.
It supports data from multiple single-cell sequencing platforms, including
droplet-based (e.g., 10x Genomics) and well-based (e.g., SMART-seq)
platforms.
## News
You can find the full manual of the xcltk preprocessing pipeline at
[preprocess/README.md][preprocess manual].
All release notes are available at [docs/release.rst][release]
## Installation
xcltk is avaliable through [pypi][pypi].
To install, type the following command line, and add `-U` for upgrading:
```shell
pip install -U xcltk
```
Alternatively, you can install from this GitHub repository for latest (often
development) version by following command line
```shell
pip install -U git+https://github.com/hxj5/xcltk
```
In either case, if you don't have write permission for your current Python
environment, we suggest creating a separate [conda][conda] environment
or add --user for your current one.
## Manual
You can check the full parameters with `xcltk -h`.
```
Program: xcltk (Toolkit for XClone Preprocessing)
Version: 0.3.0
Usage: xcltk <command> [options]
Commands:
-- BAF calculation
allelefc Allele counting for each feature.
baf Preprocessing pipeline for XClone BAF.
fixref Fix REF, ALT and GT.
rpc Reference phasing correction.
-- RDR calculation
basefc Basic feature counting.
-- Tools
convert Convert different region file formats.
-- Others
-h, --help Print this message and exit.
-V, --version Print version and exit.
```
[conda]: https://docs.conda.io/en/latest/
[licence]: https://github.com/hxj5/xcltk
[preprocess manual]: https://github.com/hxj5/xcltk/tree/master/preprocess
[pypi]: https://pypi.org/project/xcltk
[release]: https://github.com/hxj5/xcltk/blob/master/docs/release.rst
[XClone repo]: https://github.com/single-cell-genetics/XClone
[xcltk repo]: https://github.com/hxj5/xcltk
Raw data
{
"_id": null,
"home_page": "https://github.com/hxj5/xcltk",
"name": "xcltk",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "xclone, toolkit",
"author": "Xianjie Huang",
"author_email": "xianjie5@connect.hku.hk",
"download_url": "https://files.pythonhosted.org/packages/4e/1d/01a92e4574731b1d72b93b4f7421c9e2c68382ed925be13cd9c8c7f67b9e/xcltk-0.3.0.tar.gz",
"platform": null,
"description": "# xcltk: Toolkit for XClone Preprocessing\n\n[![](https://img.shields.io/pypi/v/xcltk.svg)][pypi]\n[![](https://img.shields.io/github/license/hxj5/xcltk)][licence]\n\n\n[XClone][XClone repo] is a statistical method to detect haplotype-aware \ncopy number variations (CNVs) and reconstruct tumour clonal substructure from\nscRNA-seq data, \nby integrating the expression levels (read depth ratio; RDR signals) and \nthe allelic balance (B-allele frequency; BAF signals).\nIt takes three matrices as input: the allele-specific *AD* and *DP* matrices\n(BAF signals) and the *total read depth* matrix (RDR signals).\n\nThe [xcltk][xcltk repo] package implements a preprocessing pipeline to \ngenerate the three matrices from SAM/BAM/CRAM files.\nIt supports data from multiple single-cell sequencing platforms, including \ndroplet-based (e.g., 10x Genomics) and well-based (e.g., SMART-seq)\nplatforms.\n\n\n## News\n\nYou can find the full manual of the xcltk preprocessing pipeline at\n[preprocess/README.md][preprocess manual].\n\nAll release notes are available at [docs/release.rst][release]\n\n\n## Installation\n\nxcltk is avaliable through [pypi][pypi].\nTo install, type the following command line, and add `-U` for upgrading:\n\n```shell\npip install -U xcltk\n```\n\nAlternatively, you can install from this GitHub repository for latest (often\ndevelopment) version by following command line\n\n```shell\npip install -U git+https://github.com/hxj5/xcltk\n```\n\nIn either case, if you don't have write permission for your current Python \nenvironment, we suggest creating a separate [conda][conda] environment \nor add --user for your current one.\n\n\n## Manual\n\nYou can check the full parameters with `xcltk -h`.\n\n```\nProgram: xcltk (Toolkit for XClone Preprocessing)\nVersion: 0.3.0\n\nUsage: xcltk <command> [options]\n\nCommands:\n -- BAF calculation\n allelefc Allele counting for each feature.\n baf Preprocessing pipeline for XClone BAF.\n fixref Fix REF, ALT and GT.\n rpc Reference phasing correction.\n\n -- RDR calculation\n basefc Basic feature counting.\n\n -- Tools\n convert Convert different region file formats.\n\n -- Others\n -h, --help Print this message and exit.\n -V, --version Print version and exit.\n```\n\n\n\n[conda]: https://docs.conda.io/en/latest/\n[licence]: https://github.com/hxj5/xcltk\n[preprocess manual]: https://github.com/hxj5/xcltk/tree/master/preprocess\n[pypi]: https://pypi.org/project/xcltk\n[release]: https://github.com/hxj5/xcltk/blob/master/docs/release.rst\n[XClone repo]: https://github.com/single-cell-genetics/XClone\n[xcltk repo]: https://github.com/hxj5/xcltk\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "xcltk - Toolkit for XClone",
"version": "0.3.0",
"project_urls": {
"Homepage": "https://github.com/hxj5/xcltk"
},
"split_keywords": [
"xclone",
" toolkit"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4e1d01a92e4574731b1d72b93b4f7421c9e2c68382ed925be13cd9c8c7f67b9e",
"md5": "44a88a020da8ab8a9d37a795bdd81d6c",
"sha256": "29c0254de063f4cf49650f8a5d2bf3d1123df5e275ba27b690e900ccd637f82f"
},
"downloads": -1,
"filename": "xcltk-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "44a88a020da8ab8a9d37a795bdd81d6c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 56595,
"upload_time": "2024-05-11T03:15:25",
"upload_time_iso_8601": "2024-05-11T03:15:25.475464Z",
"url": "https://files.pythonhosted.org/packages/4e/1d/01a92e4574731b1d72b93b4f7421c9e2c68382ed925be13cd9c8c7f67b9e/xcltk-0.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-11 03:15:25",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "hxj5",
"github_project": "xcltk",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "xcltk"
}