Skip to main content

yasim_sctcr -- Yet Another SIMulator for Single-Cell T-Cell Receptor Sequencing (scTCR-Seq)

Markdown compatibility guide This file is written in Myst-flavored Markdown, and may show errors on the default landing page of PYPI or Git Hostings. You can correctly preview it on generated Sphinx documentation or Visual Studio Code with ExecutableBookProject.myst-highlight plugin.


Workflow

Introduction

Single-Cel T-Cell Receptor (TCR) Sequencing (scTCR-Seq) is an important method in studying the diversity and dynamics of T-cell populations in organisms. However, since the number of publicly available scTCR-Seq datasets is limited, researchers often need to reconstruct TCR contigs from scRNA-Seq data, and a benchmark of such tools is required.

This software provides an easy way to simulate Next-Generation Sequencing (NGS)-based scTCR-Seq using Illumina sequencer simulator. With realistic TCR contig constructed from statistics of 1.08 million human TCR V/J CDR3 sequences from hUARdb, it supports simulation of TCR contigs from arbitrary cell number, sequencing depth, read length with Paired/Single End support. It also supports mixing scTCR-Seq data with simulated scRNA-Seq data, which allows calculation of both precision and sensitivity.

Installation

Using the Pre-Built Version from PYPI

You need a working Python interpreter (CPython implementation) >= 3.8 (recommended 3.9) and the latest pip to install this software from PYPI. Command:

pip install yasim-sctcr==1.0.0

You are recommended to use this application inside a virtual environment like venv, virtualenv, pipenv, conda, or poetry.

Build from Source

Before building from the source, get a copy of the latest source code from https://github.com/WanluLiuLab/yasim-sctcr using Git:

git clone https://github.com/WanluLiuLab/yasim-sctcr

Or, if you prefer to use GNU Wget.

wget -o yasim-master.zip https://github.com/WanluLiuLab/yasim-sctcr/archive/refs/heads/master.zip
unzip yasim-master.zip

You need Python interpreter (CPython implementation) >= 3.8, latest PYPA build, and setuptools to build this software. You are recommended to build the software in a virtual environment provided by virtualenv, etc.

Build and install the simulator using:

cd yasim-sctcr
python3 -m build
pip install dist/yasim-sctcr-1.0.0-py3-none-any.whl

Apart from the above instructions, you should also install ART which is a general-purpose NGS DNA-Seq simulator and is available from Conda and APT. Tested versions are 2.5.8 (June 6, 2016).

News

The initial release version is 0.1.0 at 2023/08/06.

  • 1.0.0 (2024/06/12): Addressed several problems proposed by the reviewers:
    • Simulation for TRC gene added to generate_tcr_cache and rearrange_tcr.
    • Support the simulation of non-productive TCRs on a fixed ratio.
    • The scRNA-Seq simulator accepts outputs from other scNRA-Seq simulators.
    • Supported the distribution of TCR repertoire created by clonal expansion.
    • scTCR-Seq-specific fragment length and bias.
    • Supported V/J usage bias.

Metadata

Release files for yasim-sctcr 1.0.0

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

Source distribution (sdist)

Source distribution for yasim-sctcr 1.0.0
File Size Uploaded Provenance
yasim_sctcr-1.0.0.tar.gz 29.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for yasim-sctcr 1.0.0
File Interpreter ABI Platform
yasim_sctcr-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 56.9 kB

Release files / yasim_sctcr-1.0.0.tar.gz

Download URL yasim_sctcr-1.0.0.tar.gz
Size 29.0 kB
Tags Source
SHA-256 checksum
How to use checksums
75bfcac6e6b0fd0236ae38b0d98211b0abdd42b852c5c75658d80db158c8a2de
BLAKE2b-256 checksum
How to use checksums
ff0ed2b643abb74827060bf46c0b3914c5797d955945fa3c93e7dc9107ae0f0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.19

Release files / yasim_sctcr-1.0.0-py3-none-any.whl

Download URL yasim_sctcr-1.0.0-py3-none-any.whl
Size 27.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
215cabd114431d01f64b39af8aa327d811b3e351f82a8e4af560415caf79020f
BLAKE2b-256 checksum
How to use checksums
68c37763018a41a988779216a77d6dccd3acad742bbbc611c0370d9972f0cc69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.19

Security for yasim-sctcr 1.0.0

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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