IHS(1)
πΈ NAME πΈ
iHS β the integrated haplotype score calculator, aka your new fave VCF statistics bestie π
β¨ SYNOPSIS β¨
iHS βtarget 0,1,2,3,4,5,6,7 βfile my.phased.vcf βregion chr1:1-1000 > STDOUT 2> STDERR
π¦ DESCRIPTION π¦
Okay so iHS calculates the integrated haplotype score, which measures the relative decay of extended haplotype homozygosity (EHH) for the reference and alternative alleles at a site. It's giving selection signal realness. See: voight et al. 2006, Spiech & Hernandez 2014. π
π OPTIONS π
Our code is highly concordant with both implementations mentioned above. However, we do not set an upper limit to the allele frequency. No cap, literally.
iHS can be run without a genetic map, in which case the change in EHH is integrated over a constant. Human genetic maps for GRCh36 and GRCh37 (hg18 & hg19) can be found at: http://bochet.gcc.biostat.washington.edu/beagle/genetic_maps/ . iHS by default interpolates SNV positions to genetic position (you don't need a genetic position for every VCF entry in the map file). Slay. β¨
iHS analyses requires normalization by allele frequency. It is important that iHS is calculated over large regions so that the normalization does not down weight real signals. For genome-wide runs it is recommended to run slightly overlapping windows and throwing out values that fail integration (columns 7 & 8 in the output) and then removing duplicates by using the sort and uniq linux commands. Normalization of the output is as simple as running normalize-iHS.
iHS calculates the integrated ratio of haplotype decay between the reference and non-reference allele.
π Output π
It's 4 columns:
seqidposition- target allele frequency
- integrated EHH (alternative)
- integrated EHH (reference)
iHSln(iEHHalt/iEHHref)!= 0integration failure!= 0integration failure
bestie the header says 4 and the list says 8, and we are simply not going to fight about it. moving on π
π Params π
- required:
t,target<STRING>β A zero base comma separated list of target individuals corresponding to VCF columns - required:
r,region<STRING>β A tabix compliant genomic range format:"seqid:start-end"or"seqid" - required:
f,file<STRING>β Proper formatted and phased VCF. - required:
y,type<STRING>β Genotype likelihood format:GT,PL,GL,GP - optional:
a,af<DOUBLE>β Alternative alleles with frquences less than[0.05]are skipped. - optional:
x,threads<INT>β Number of CPUS[1]. - recommended:
g,gen<STRING>β A PLINK formatted map file.
Type: statistics
π EXIT VALUES π
0β Success π- not
0β Failure π
π SEE ALSO π
π OTHER π
π LICENSE π
Copyright 2011-2024 (C) Erik Garrison and vcflib contributors. MIT licensed. Copyright 2020-2024 (C) Pjotr Prins.
π«Ά AUTHORS π«Ά
Erik Garrison and vcflib contributors.
and that's the whole page bestie!! this one came to you from iHS (vcflib), no cap, mwah π
π¦ where this page comes from
- debian trixie: libvcflib-tools 1.0.12+dfsg-1 Β· MIT
- ubuntu questing: libvcflib-tools 1.0.12+dfsg-1
- ubuntu resolute: libvcflib-tools 1.0.12+dfsg-2 Β· MIT
- ubuntu stonking: libvcflib-tools 1.0.12+dfsg-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms