Skip to main content

xcltk: Toolkit for XClone Preprocessing

XClone is a statistical method to detect allele- and haplotype-specific 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 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.

For details of xcltk and XClone, please checkout our paper:

Huang, R., Huang, X., Tong, Y. et al. Robust analysis of allele-specific copy number alterations from scRNA-seq data with XClone. Nat Commun 15, 6684 (2024). https://doi.org/10.1038/s41467-024-51026-0

News

You can find the full manual of the xcltk preprocessing pipeline at preprocess/README.md.

All release notes are available at docs/release.rst

Installation

Install via pip (latest stable version)

xcltk is avaliable through pypi.

pip install -U xcltk

Install from this Github Repo (latest stable/dev version)

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 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.5.2

Usage:   xcltk <command> [options]

Commands:
  -- BAF calculation
     baf              Preprocessing pipeline for XClone BAF.
     fixref           Fix REF allele mismatches based on reference FASTA.

  -- RDR calculation
     basefc           Basic feature counting.

  -- Tools
     convert          Convert between different formats of genomic features.

  -- Others
     -h, --help       Print this message and exit.
     -V, --version    Print version and exit.

Metadata

Release files for xcltk 0.5.2

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

Source distribution (sdist)

Source distribution for xcltk 0.5.2
File Size Uploaded Provenance Actions
xcltk-0.5.2.tar.gz 65.5 kB Without provenance Details for xcltk-0.5.2.tar.gz

Release files / xcltk-0.5.2.tar.gz

Download URL xcltk-0.5.2.tar.gz
Size 65.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3c49b48839972d7132e2b03a937596e0bbef9e117fbf9079f655b2926031cddf
BLAKE2b-256 checksum
How to use checksums
18025babdd76ebcbeaa17bfe08a60d7f54d4abc6c8f88e48aff9214b4407839e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.26.0 setuptools/49.3.1.post20200810 requests-toolbelt/0.9.1 tqdm/4.66.1 CPython/3.8.5

Security for xcltk 0.5.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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