GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Fanny-Mei/scReciprocalTransloc: Single-cell pipeline for detecting reciprocal inter-chromosomal rearrangements from paired-end BAM files at ~1× coverage. Developed for CRISPR genome integrity assessment in hematopoietic stem cells. Two-pass filtering: reciprocal support, strand orientation consistency, and positional clustering.

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pipeline_figure.pdf
pipeline_figure.pdf
 
 
requirements.txt
requirements.txt
 
 
transloc_detailed_methods.docx
transloc_detailed_methods.docx
 
 
translocation_strict_v2.py
translocation_strict_v2.py
 
 

Repository files navigation

transloc-strandseq

Detection of reciprocal inter-chromosomal rearrangements from single-cell Strand-seq data.

Background

Standard structural variant callers (Manta, DELLY, GRIDSS) require deep bulk sequencing (≥30×) and are not designed for single-cell data at ~1× coverage. TranslocatR detects recurrent translocations across cell populations but cannot identify events present in only one or a few cells. This pipeline was developed to detect per-cell reciprocal rearrangements from paired-end Strand-seq BAM files, applying four simultaneous filters to distinguish true inter-chromosomal events from mapping noise.

Algorithm

The pipeline uses a two-pass strategy for each cell:

Pass 1 — enumeration All discordant read pairs (mates mapping to different autosomes) are counted per chromosome pair, applying:

  • Minimum mapping quality: MAPQ ≥ 30
  • Exclusion of duplicate, secondary, and supplementary alignments
  • Chromosome pairs with ≥ 2 reads on each side are retained as candidates

Pass 2 — validation (all three filters must pass simultaneously)

  1. Reciprocal support: reads on chrA→chrB AND reads on chrB→chrA, ≥ 2 each
  2. Strand orientation consistency: ≥ 65% majority strand on each side
  3. Positional clustering: ≥ 70% of reads within a 5 Mb window on each side

A chromosome pair in a given cell is classified as a validated rearrangement only if all four criteria are met simultaneously.

Requirements

  • Python ≥ 3.10
  • pysam ≥ 0.23
  • numpy
  • pandas
  • Indexed BAM files (.bam + .bai)

Install dependencies:

pip install -r requirements.txt

Usage

python translocation_strict_v2.py

Edit the Config class at the top of the script to set:

  • DATA_ROOT: path to directory containing condition subfolders
  • OUTPUT_DIR: where results are written
  • CHROMOSOMES: list of chromosomes to analyse (default: chr1-chr22)
  • MIN_MAPQ, MIN_READS_PER_SIDE, STRAND_CONSISTENCY, CLUSTER_WINDOW, MIN_CLUSTER_FRAC

Output

  • validated_events_v2.csv: one row per validated rearrangement per cell
    • cell_id, condition, replicate
    • chrA, chrB: chromosome pair
    • n_A_to_B, n_B_to_A: supporting read counts
    • median_pos_A, median_pos_B: estimated breakpoint positions
    • min/max_pos_A/B: breakpoint range
    • strand_A, strand_B: dominant strand orientation
    • near_srsf2, near_dnmt3a: proximity to CRISPR cut sites (if annotated)

Directory structure expected

DATA_ROOT/
├── condition1/
│   ├── cell1/
│   │   └── bam/
│   │       └── cell1_R1.sort.mdup.bam (.bai required)
│   └── cell2/
└── condition2/

Citation

If you use this pipeline, please cite: [your paper citation here]

License

MIT

About

Single-cell pipeline for detecting reciprocal inter-chromosomal rearrangements from paired-end BAM files at ~1× coverage. Developed for CRISPR genome integrity assessment in hematopoietic stem cells. Two-pass filtering: reciprocal support, strand orientation consistency, and positional clustering.

Topics

crisprsequencingsingle-cellstructural-variantstranslocation

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.