Skip to content

Instantly share code, notes, and snippets.

@fpbarthel
fpbarthel / reproduce_karyoscope_hg002.sh
Last active July 29, 2026 15:15
Reproduce KaryoScope v2.1 karyotyping of the T2T-HG002 v1.1 diploid assembly end to end (macOS / Apple Silicon, ~20 min at 8-10 threads, 16 GB+ RAM)
#!/usr/bin/env bash
# =============================================================================
# Reproduce KaryoScope annotation + karyotype plots on HG002 (T2T-HG002 v1.1)
# -----------------------------------------------------------------------------
# Tested on: MacBook Pro (Apple M1 Max) - 10 cores (8P + 2E), 32 GB RAM
# macOS 26.5.1 | KaryoScope v2.1
#
# Requirements
# - Homebrew https://brew.sh
# - Conda (miniforge) https://docs.conda.io