Skip to main content

Installation

You can install from this GitHub repository for latest (often development) version by following command line

pip install -U git+https://github.com/StatBiomed/scTSS

In either case, add --user if you don’t have the write permission for your Python environment.

Quick start

scTSS-count

STEP1: Processing

scTSS mainly deal with the output from cellranger (a common alignment tool for 10x data).

The preprocessing procedure based on the output file of cellranger.

1. cd /cellranger_out/outs
2. samtools view  possorted_genome_bam.bam | LC_ALL=C grep "xf:i:25" > body_filtered_sam
3. samtools view -H possorted_genome_bam.bam > header_filted_sam
4. cat header_filted_sam body_filtered_sam > possorted_genome_bam_filterd.sam
5. samtools view -b possorted_genome_bam_filterd.sam > possorted_genome_bam_filterd.bam
6. samtools index possorted_genome_bam_filterd.bam possorted_genome_bam_filterd.bam.bai

STEP2: Run scTSS-count

scTSS-count --gtf $gtfFile --refFastq $fastFile --bam $possorted_genome_bam_filterd.bam -c $cluster_toscTSS.tsv  -o $output_fileFold --mode Unannotation

Want to learn about more parameter, you can use scTSS-count --help to check.

You can find out the example file in the test folder. Please make sure you also have the same column name.

Here, you can select one of the mode from annotation and unannotation.

Unannotation means that you can detect novel TSS. The distance between different TSS may be wide.

Annotation means that you can detect TSS based on the annotation. The distance between different TSS may be narrow.

You can check our paper to learn more detail.

scTSS-quant

scTSS-quant -g $filtered_feature_bc_matrix -c $cluster_toscTSS.tsv --countOut $scTSS_count_folder -m cluster -o $scTSS_quant_folder

Please use scTSS-quant --help to check more parameter.

Here, you can select one of the mode from cluster and disease.

Cluster means that you can detect cell type-specific TSS. Any multiple groups detection can use this mode.

Disease mode help you select disease-specific TSS. Any two groups detection can use this mode.

Metadata

Release files for scTSS 0.0.4

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

Source distribution (sdist)

Source distribution for scTSS 0.0.4
File Size Uploaded
scTSS-0.0.4.tar.gz 4.7 MB Details

Release files / scTSS-0.0.4.tar.gz

Download URL scTSS-0.0.4.tar.gz
Size 4.7 MB
Tags Source
SHA-256 checksum
How to use checksums
8836c78b2146fd05415fad2070628a13e02c5f1fb96af7f788a066ee1b15371e
BLAKE2b-256 checksum
How to use checksums
a72403bbdd9c999336ffa836e29fda05506c5aa63dc51d9b5e0ba54f68c6bd51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.12

Release history Release notifications | RSS feed

This release

0.0.4 This release

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

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