Use when simulating paired-end short reads from a reference FASTA for testing, benchmarking, or pipeline validation
wgsim [options] <in.ref.fa> <out.read1.fq> <out.read2.fq>/home/vimalinx/miniforge3/envs/bio/bin/wgsim# 1) Generate one million paired-end read pairs with a fixed seed
wgsim \
-N 1000000 \
-S 42 \
ref.fa \
sim_R1.fq \
sim_R2.fq
# 2) Simulate 150 bp reads with a 350 bp insert size
wgsim \
-1 150 \
-2 150 \
-d 350 \
-s 30 \
ref.fa \
sim_R1.fq \
sim_R2.fq
# 3) Increase mutation and indel rates for a tougher benchmark
wgsim \
-r 0.005 \
-R 0.20 \
-X 0.50 \
-e 0.01 \
ref.fa \
sim_R1.fq \
sim_R2.fq
-r), indel (-R, -X), and sequencing error (-e) parameters explicitly instead of relying on remembered defaults.-S whenever you need reproducible benchmarks.wgsim requires two FASTQ output paths; it is a paired-end simulator.-h enables haplotype mode, it is not a help flag.--help / --version print usage with invalid-option noise; use references/help.md or a no-argument invocation to inspect usage instead.-A, so reference composition can affect realized output yield.