wgsim(1)
π wgsim(1) β whole-genome sequencing read simulator π
okay bestie, so this is a wgsim manual page β it comes from the Bioinformatics tools corner of the world, and it simulates whole-genome sequencing reads for you. It's giving "pretend sequencer, but make it cute" β¨
π NAME π
wgsim β whole-genome sequencing read simulator. that's the whole vibe. no cap. π
π¦ SYNOPSIS π¦
wgsim [options] <in.ref.fa> <out.read1.fq> <out.read2.fq>
<in.ref.fa>β bestie, this has to be a fasta file containing a reference genome. like, required. it's the blueprint, the main character, the reference genome moment. π§¬<out.read1.fq>and<out.read2.fq>β these two are your first and second read output files. the pair. the duo. the ship that sails together. π«Ά
β¨ OPTIONS β¨
every single flag, coming right up, and yes i listed them all because i'm nothing if not thorough π
-eFLOAT β base error rate, and it's[0.000]by default. so out of the box: zero errors, perfect little reads, flawless queen energy. π-dINT β outer distance between the two ends, default[500]. that's how far apart the two ends of a pair sit β the outer distance, not the insert. iykyk.-sINT β standard deviation, default[50]. the wiggle factor. the spread. the "it's approximately this but life is chaotic" number. πΈ-NINT β number of read pairs, default[1000000]. that's one million pairs, bestie. a million. go big or go home. π₯-1INT β length of the first read, default[70].-2INT β length of the second read, default[70]. two separate flags for two separate reads because they're individuals, they're not the same, respect them. π-rFLOAT β rate of mutations, default[0.0010]. spice level of the genome. lowkey spicy.-RFLOAT β fraction of indels, default[0.15]. what share of the mutations are indels rather than the other kind.-XFLOAT β probability an indel is extended, default[0.30]. the extension probability β the "does this indel keep going" odds.-SINT β seed for the random generator, default[-1]. the reproducibility lever, fr fr. set it and your randomness becomes reliable randomness. iconic.-AFLOAT β discard a read if the fraction of ambiguous bases is higher than FLOAT, default[0.05]. so: too many N's, and it's out. bye. π-hβ haplotype mode. that's it, that's the whole description, it activates haplotype mode.
π reminder from the page itself: Parameter defaults are given in square brackets. so those [...] numbers up there? those are the defaults. i put them in literally every bullet so you'd never have to guess. π«Ά
π AUTHOR π
- Copyright 2008 Genome Research Limited.
- Copyright 2011 Heng Li.
wgsimis part of samtools, over athttps://github.com/samtools/samtoolsβ go say hi, the repo is right there. β
okay that's the whole page, and now the cute little sign-off: this one's from samtools-1.24, dated 9 July 2026 β so go forth, simulate those reads, and remember: the defaults are in the brackets, the fasta is mandatory, and you're doing amazing sweetie ππ§π
π¦ where this page comes from
- epel 10: samtools 1.24-2.el10_3 Β· MIT
- nixpkgs unstable: samtools 1.24
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms