Skip to main content

PreKO: Precise KO system

Project description

PreKO: Precise KO system

Analysis pipeline for PreKO project

InDelSearcher: Cas9 nuclease indel analyzer

InDelSearcher는 target sequence에서 indel frequency를 분석하고 계산해주는 파이프라인이다. 특히, high-throughput screening 데이터에서 barcode에 따른 indel frequency를 분석하는 것에 특화되어 있다.

분석을 위해서, 아래와 같이 barcode와 target sequence 정보가 담긴 csv 파일이 필요하다.

Barcode Target_region Reference_sequence
TTTGCTGTGAGCACTGCTG TTGTGAACATAGATCCATTTTTCTTGG CTTGAAAAAGTGGCACCGAGTCGGTGCTTTTTTNNNNNNNNTTTGCTGTGAGCACTGCTGT
TTTGGACGTCATAGTGAGA TCCAGATAGTCATCAACTTTTTGTTGG CTTGAAAAAGTGGCACCGAGTCGGTGCTTTTTTNNNNNNNNTTTGGACGTCATAGTGAGAT
TTTGGCTATCTGCACGTGC GTGGGGGGCCTGGGGCCTGGAGCCTGG CTTGAAAAAGTGGCACCGAGTCGGTGCTTTTTTNNNNNNNNTTTGGCTATCTGCACGTGCG
TTTGATGCGCATCTCTACG CCCAGGCAAAACTGCAGTTTTACCTGG CTTGAAAAAGTGGCACCGAGTCGGTGCTTTTTTNNNNNNNNTTTGATGCGCATCTCTACGC
TTTGACTCGAGTCTCTCAC ACGAGGTGGCCCTGGGGGGCCCCCTGG CTTGAAAAAGTGGCACCGAGTCGGTGCTTTTTTNNNNNNNNTTTGACTCGAGTCTCTCACA

barcode 파일과 분석할 FASTQ 파일이 있다면, InDelSearcher를 이용한 분석을 할 수 있다.

import pandas as pd
from PreKO.indel import InDelSearcher

# Setting: required information
DIR_FASTQ   = f'NGS_data/Cas9_FASTQ_combined/'
barcode     = f'ref_Small_Cas9_KO_Lib.csv'

sample_name = f'HCT_Cas9_R1_Day7'
fastq_file  = f'{DIR_FASTQ}/{sample_name}.fastq'

ids = InDelSearcher()

# Run and show summary
df_summary = ids.run(strFq=fastq_file, barcode=barcode, sample_name=sample_name, thread=25)
df_summary.to_csv(f'InDel_Summary_{sample_name}.csv')

Environments

These codes were tested in Ubuntu 22.04 LTS environments.

Requirements

  • Python >= 3.8
  • biopython
  • pandas
  • numpy
  • pydantic
  • tqdm

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

preko-0.2.1.tar.gz (299.3 kB view details)

Uploaded Source

Built Distribution

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

preko-0.2.1-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file preko-0.2.1.tar.gz.

File metadata

  • Download URL: preko-0.2.1.tar.gz
  • Upload date:
  • Size: 299.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for preko-0.2.1.tar.gz
Algorithm Hash digest
SHA256 d5ae0d144e32a01c198849d981751d590c0184ddc4f48c4c6af891570ba38c70
MD5 7d5d0a1bd6d2da66a31c15ae9743b957
BLAKE2b-256 7b67d6da7a73a890693c4b3e64b55a2a6fa09a0df3178a8440b4161b172b61af

See more details on using hashes here.

File details

Details for the file preko-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: preko-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 22.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for preko-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6ab3faac5ac82213ec7935a01fefecb72e966ae634b8f9242e95e43bbdf48b30
MD5 dc0326fd7ccc8a9d7950691d842f36bc
BLAKE2b-256 b950d97f4fc1495be7b6919f290d37ea9766e224817cb5c2c7e0ad66dc4137eb

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