Skip to main content

scHi-C analysis package

Project description

schic

schic is a Python package for analyzing ONT cDNA sequencing data. It provides a set of modules for identifying new genes and isoforms

Table of Contents

Overview

schic

Requirements

  1. Python 3.10+
  2. cutadapt 2.10+

schic modules

schic provides a set of modules for analyzing sc-hic data. The modules are:

  • whitelist
  • extract
  • cutadapt
  • contacts
  • report

schic whitelist

Usage

bc_pattern='(?P<discard_1>ACATGGCTACGATCCGACTTTCTGCG)(?P<cell_1>.{10})(?P<discard_2>CCTTCC)(?P<cell_2>.{10})(?P<discard_3>TCGTCGGCAGCGTCAGATGTGTATA)(?P<umi_1>.{1}).*'

schic whitelist \
    --bc-pattern=${bc_pattern} \
    --stdin ../input/${i}/${i}_R1.fastq.gz \
    --set-cell-number=5000 \
    --plot-prefix=${i}_whitelist \
    --stdout=${i}_whitelist.txt

schic extract

Usage

bc_pattern='(?P<discard_1>ACATGGCTACGATCCGACTTTCTGCG)(?P<cell_1>.{10})(?P<discard_2>CCTTCC)(?P<cell_2>.{10})(?P<discard_3>TCGTCGGCAGCGTCAGATGTGTATA)(?P<umi_1>.{1}).*'

schic extract \
    --bc-pattern=${bc_pattern} \
    --stdin ../input/${i}/${i}_R1.fastq.gz \
    --stdout ${i}_R1.extracted.fastq.gz \
    --read2-in ../input/${i}/${i}_R2.fastq.gz \
    --read2-out ${i}_R2.extracted.fastq.gz \
    --whitelist=${REF}/barcodes/whitelist.txt

schic cutadapt

Usage

schic cutadapt \
    --read1 ${i}_R1.extracted.fastq.gz \
    --read2 ${i}_R2.extracted.fastq.gz \
    --read1-out ${i}_R1.trimmed.fastq.gz \
    --read2-out ${i}_R2.trimmed.fastq.gz

schic contacts

Usage

schic contacts \
    --read1 ${i}_R1.trimmed.fastq.gz \
    --read2 ${i}_R2.trimmed.fastq.gz \
    --reference ${REF}/genome/genome.fa \
    --genome-size ${REF}/genome/chrom.sizes \
    --prefix ${i} \
    --threads 16 \

Docker

If the user has docker installed, the following command can be used to run the pipeline in a docker container:

docker run -v /path/to/data:/data -it schic/schic:latest /bin/bash

Conda Environment

If the user has conda installed, the following command can be used to create a conda environment for schic:

  1. Install conda
  2. Create a new conda environment: conda create -n schic python=3.10
  3. Activate the environment: conda activate schic
  4. Install the required packages: conda install -c bioconda minimap2 samtools bedtools flair tombo mines
  5. Install the required python packages: pip install pandas numpy scipy sklearn matplotlib seaborn pysam
  6. Clone the schic repository: git clone https://github.com/epibiotek/schic.git

Cite schic

If you use schic in your research, please cite the following paper:

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

schic-0.1.4.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

schic-0.1.4-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file schic-0.1.4.tar.gz.

File metadata

  • Download URL: schic-0.1.4.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.8 Linux/5.15.0-151-generic

File hashes

Hashes for schic-0.1.4.tar.gz
Algorithm Hash digest
SHA256 7fd72f15e6b71d35bb3af698e9552e64a5558b0b18dd2f69e00e84bc29d9d2f8
MD5 847ffbaf90d40844c7c8a932a9b05e26
BLAKE2b-256 be43db1369561f956a153d2aefe7905d938966d5d8bf2f6bfc2ce39809ee263e

See more details on using hashes here.

File details

Details for the file schic-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: schic-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.8 Linux/5.15.0-151-generic

File hashes

Hashes for schic-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3bc519317baaafcfe956d7ae74a423fe558bd553dffdb15f7ace4c7512d96a12
MD5 d1bb6012c8e120324eef8939e92e2c6d
BLAKE2b-256 b53c2596a708d487e4c1748aa0ae7ae8bf81954454e5003d54c9ee59413c838c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page