Detects long stretches of homozygous genotypes (autozygous segments) in the genome. These arise when both copies of a chromosomal region are inherited from a common ancestor.
ROH analysis screens for consanguinity and uniparental disomy (UPD). Long ROH segments increase the risk of autosomal recessive disease by unmasking deleterious variants. ROH patterns also provide population-level ancestry information.
staphb/bcftools:1.21
SAMPLE=your_sample
GENOME_DIR=/path/to/your/data
docker run --rm \
-v ${GENOME_DIR}/${SAMPLE}/vcf:/data \
staphb/bcftools:1.21 \
bcftools roh \
--AF-dflt 0.4 \
-o /data/${SAMPLE}_roh.txt \
/data/${SAMPLE}.vcf.gz
# Output: ${GENOME_DIR}/${SAMPLE}/vcf/${SAMPLE}_roh.txt (tab-delimited ROH segments)
| Total ROH | Interpretation | |—|—| | <100 MB | Normal outbred population | | 100-300 MB | Possible distant consanguinity or population isolate | | >300 MB | Suggests close consanguinity (e.g., second cousins or closer) |
| Individual ROH Segment | Interpretation |
|---|---|
| <1 MB | Common, population-level background |
| 1-10 MB | Distant shared ancestry |
| >10 MB | Recent identity-by-descent (IBD), possible UPD if single chromosome |
-G30 for genotype-only mode--AF-dflt 0.4 sets a default allele frequency when population AF data is unavailable — suitable for single-sample WGS