Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chienlab-TNseq

Snakemake run with conda DOI

Introduction

chienlab-tnseq is a Snakemake pipeline for performing bacterial TNseq alignment and annotation.

Pipeline summary

The pipeline will perform the following steps:

  1. Removes reads that does not contain the static transposon region. (Seqkit)
  2. Removes PCR duplicates using UMIs. (JE)
  3. Align reads to reference genome. (BWA-MEM)
  4. Generates BigWig files for visualization in genome browsers (deeptools)
  5. Assigns 5' position to counts. (bedtools genomecov)
  6. Maps position counts to gene features using either clipped or full sized genes. (bedtools map)
  7. Creates tab-separated count files.

Installation and basic usage

You will need to install Conda package manager.

  1. Clone the repository
git clone https://github.com/baldikacti/chienlab-tnseq.git
  1. Change your working directory to cloned repository
  2. Create and activate the conda environment
conda env create -f envs/environment.yaml
conda activate chienlab-tnseq
  1. Open config/config.yaml in your favorite text editor.

Change the fastq: "data/test/" paramater to the directory that contains your fastq files

Change the results: "results/test/" paramater to the directory that you want the results to be exported to.

It is important to keep the forward slashed at the end of directory paths.

The config file contains parameters for fasta and bed formatted gene feature references. Change those as needed for different organisms.

  1. Run the pipeline with select number of cores.
snakemake --use-conda --cores 8

Outputs

  1. preprocess directory containing filtered fastq files based on the transposon sequence
  2. bwa_aln directory containing BAM files.
  3. bigwig directory containing BigWig files.
  4. mapped directory containing mapped bed formatted files
  5. read_counts directory containing:
    1. totalcounts_mid: total count files that are mapped to clipped gene features.
    2. totalcounts_full: total count files that are mapped to full sized gene features.
    3. uniquecounts_mid: unique count files that are mapped to clipped gene features.
    4. uniquecounts_full: unique count files that are mapped to full sized gene features.

Citation

This software has been used in the following publications. If you use this software in your publication, please cite one of the following.

Sarsani, V., Aldikacti, B., Zhao, T., He, S., Chien, P., & Flaherty, P. (2025). Discovering genetic modulators of the protein homeostasis system through multilevel analysis. PNAS nexus, 4(1), pgae574. https://doi.org/10.1093/pnasnexus/pgae574
Aldikacti, B., Putun, H., Sarsani, V., Zeinert, R., Flaherty, P., & Chien, P. (2026). Stress testing reveals selective vulnerabilities in protein homeostasis. Cell reports, 45(2), 116892. https://doi.org/10.1016/j.celrep.2025.116892

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages