EAGLE(1)

πŸ’– EAGLE(1) β€” the manual page, but make it cute πŸ’–

okay bestie, so this is the general commands manual page for eagle, and I need you to know right now that this little binary is the moment. no cap. let's get into it ✨


✨ NAME ✨

eagle β€” haplotype phasing within a genotyped cohort or using a phased reference panel πŸ¦‹


🌸 SYNOPSIS 🌸

eagle [options]

that's it. that's the whole synopsis. she's simple, she's elegant, she's literally just vibes and flags πŸ’…


πŸ’« DESCRIPTION πŸ’«

so basically, Eagle estimates haplotype phase either within a genotyped cohort or using a phased reference panel. two paths, one icon πŸ‘‘

the Eagle1 algorithm has a whole thing going on: it harnesses identity-by-descent among distant relatives β€” which, and this is the key part, is pervasive at very large sample sizes but rare among smaller numbers of samples β€” to rapidly call phase using a fast scoring approach. it's giving speed, it's giving efficiency, it's giving "we found our cousins and they're helping" 🫢

meanwhile the Eagle2 algorithm is the main character who does the deep work: it analyzes a full probabilistic model similar to the diploid Li-Stephens model used by previous HMM-based methods. she's thorough. she's modeling. she's not cutting corners 😭


πŸŽ€ OPTIONS πŸŽ€

here we go, the flag buffet. no skipping, we're reading all of them, that's the rule ✨

  • -h, --help β€” print this help πŸ’–
  • --geneticMapFile arg β€” the HapMap genetic map that comes with the download: tables/genetic_map_hg##.txt.gz
  • --outPrefix arg β€” prefix for output files
  • --numThreads arg (=1) β€” number of computational threads (default is 1, so if you want her to multi-task you gotta say so)

🧬 Input options for phasing without a reference

no reference panel? no problem, she's got options:

  • --bfile arg β€” prefix of PLINK .fam, .bim, .bed files
  • --bfilegz arg β€” prefix of PLINK .fam.gz, .bim.gz, .bed.gz files
  • --fam arg β€” PLINK .fam file (note: file names ending in .gz are auto-decompressed β€” she does it for you, no manual unzipping required 🧚)
  • --bim arg β€” PLINK .bim file
  • --bed arg β€” PLINK .bed file
  • --vcf arg β€” [compressed] VCF/BCF file containing input genotypes
  • --remove arg β€” file(s) listing individuals to ignore (no header; FID IID must be first two columns) β€” bye bestie πŸ‘‹
  • --exclude arg β€” file(s) listing SNPs to ignore (no header; SNP ID must be first column) β€” also bye πŸ‘‹
  • --maxMissingPerSnp arg (=0.1) β€” QC filter: max missing rate per SNP (default 0.1)
  • --maxMissingPerIndiv arg (=0.1) β€” QC filter: max missing rate per person (default 0.1)

πŸ“š Input/output options for phasing using a reference panel

now with a reference panel in the mix, things get fancy:

  • --vcfRef arg β€” tabix-indexed [compressed] VCF/BCF file for reference haplotypes
  • --vcfTarget arg β€” tabix-indexed [compressed] VCF/BCF file for target genotypes
  • --vcfOutFormat arg (=z) β€” b|u|z|v: compressed BCF (b), uncomp BCF (u), compressed VCF (z), uncomp VCF (v) β€” default is z, the compressed VCF, classic πŸ’…
  • --noImpMissing β€” disable imputation of missing ./. target genotypes
  • --allowRefAltSwap β€” allow swapping of REF/ALT in target vs. ref VCF

πŸ—ΊοΈ Region selection options

pick your little window of the genome, bestie:

  • --chrom arg (=0) β€” chromosome to analyze (if input has many) β€” default 0
  • --bpStart arg (=0) β€” minimum base pair position to analyze β€” default 0
  • --bpEnd arg (=1e9) β€” maximum base pair position to analyze β€” default 1e9, so basically the whole thing unless you say otherwise
  • --bpFlanking arg (=0) β€” (ref-mode only) flanking region to use during phasing but discard in output β€” default 0

🧠 Algorithm options

the brainy section. the iykyk section. let's go:

  • --Kpbwt arg (=10000) β€” number of conditioning haplotypes β€” default 10000
  • --pbwtIters arg (=0) β€” number of PBWT phasing iterations (0=auto) β€” default 0
  • --expectIBDcM arg (=2.0) β€” expected length of haplotype copying (cM) β€” default 2.0
  • --histFactor arg (=0) β€” history length multiplier (0=auto) β€” default 0
  • --genoErrProb arg (=0.003) β€” estimated genotype error probability β€” default 0.003
  • --pbwtOnly β€” in non-ref mode, use only PBWT iters (automatic for sequence data)
  • --v1 β€” use Eagle1 phasing algorithm (instead of default Eagle2 algorithm) β€” the throwback option, nostalgic fr fr

πŸ” SEE ALSO πŸ”

go read more, she's online:


Copyright Β© 2015-2016 Harvard University. Distributed under the GNU GPLv3+ open source license.

like, respect the license bestie, it's the law 🫢


⚠️ heads up: everything above is the whole page, nothing skipped, nothing invented. all the defaults, all the flags, all the args and all the = signs are exactly where they should be πŸ’–

and that's the whole page, bestie!! βœ¨πŸ¦‹πŸ’… this is version 2.3, dated September 2016, from the General Commands Manual β€” she's been iconic since 2016 and she's still serving. periodt. πŸ’œπŸ‘‘