Detection of reciprocal inter-chromosomal rearrangements from single-cell Strand-seq data.
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.
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)
- Reciprocal support: reads on chrA→chrB AND reads on chrB→chrA, ≥ 2 each
- Strand orientation consistency: ≥ 65% majority strand on each side
- 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.
- Python ≥ 3.10
- pysam ≥ 0.23
- numpy
- pandas
- Indexed BAM files (.bam + .bai)
Install dependencies:
pip install -r requirements.txt
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
- 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)
DATA_ROOT/
├── condition1/
│ ├── cell1/
│ │ └── bam/
│ │ └── cell1_R1.sort.mdup.bam (.bai required)
│ └── cell2/
└── condition2/
If you use this pipeline, please cite: [your paper citation here]
MIT