PBSIM(1)
π PBSIM(1) π
okay bestie, welcome to the pbsim manual page β section 1, the real one, the iconic one. pull up a chair, grab a boba, we're simulating PacBio reads together π§β¨
πΈ NAME πΈ
pbsim β a simulator for PacBio sequencing reads. yes she's a simulator. yes she's serving. π
π¦ SYNOPSIS π¦
pbsim [options] <reference.fasta>
β¨ DESCRIPTION β¨
so the pbsim command makes simulated PacBio reads for a reference FASTA sequence, which is the <reference.fasta> you hand her. that's the whole gig. she ate. π
Model files (aka the parameters for the --model-qc option) live in the /usr/share/pbsim/models directory. they're just sitting there. waiting for you. π«Ά
π OPTIONS π
the options for pbsim split into three little friend groups: general, sampling-based, and model-based simulation options. let's meet them all, no one gets left out, periodt.
π General options
--prefixβ prefix of output files (sd).--data-typeβ data type.CLRorCCS(CLR).--depthβ depth of coverage (CLR:20.0, CCS:50.0).--length-minβ minimum length (100).--length-maxβ maximum length (CLR:25000, CCS:2500).--accuracy-minβ minimum accuracy (CLR:0.75, CCS: fixed as0.75). heads up bestie, this option can be used only in case of CLR. π¨--accuracy-maxβ maximum accuracy (CLR:1.00, CCS: fixed as1.00). again, this option can be used only in case of CLR.--difference-ratioβ ratio of differences, in the order substitution:insertion:deletion. each value goes up to1000(CLR:10:60:30, CCS:6:21:73).--seedβ for a pseudorandom number generator (Unix time).
π Options for sampling-based simulation
--sample-fastqβ FASTQ format file to sample.--sample-profile-idβ sample-fastq (filtered) profile ID. when you use--sample-fastq, the profile gets stored, andsample_profile_<ID>.fastqandsample_profile_<ID>_.statsare created. when you're not using--sample-fastq, the profile is re-used instead. and lowkey important: when the profile is used,--length-min,maxand--accuracy-min,maxwould be the same as the profile. so don't fight it, the profile wins. π
π§ Options for model-based simulation
--model_qcβ model of quality code.--length-meanβ mean of length model (CLR:3000.0, CCS:450.0).--length-sdβ standard deviation of length model (CLR:2300.0, CCS:170.0).--accuracy-meanβ mean of accuracy model (CLR:0.78, CCS: fixed as0.98). this option can be used only in case of CLR. π--accuracy-sdβ standard deviation of accuracy model (CLR:0.02, CCS: fixed as0.02). also only in case of CLR.
π₯ EXAMPLES π₯
to run model-based simulation:
pbsim --data-type CLR \
--depth 20 \
--model_qc /usr/share/pbsim/models/model_qc_clr \
reference.fasta
in the example above, simulated read sequences are randomly sampled from a reference sequence (reference.fasta) and differences (errors) of the sampled reads are introduced. the data type is CLR, and the coverage depth is 20. if the reference sequence is a multi-FASTA file, the simulated data is created for each FASTA. three output files are created for each FASTA, bestie, three:
sd_0001.refis a single-FASTA file which is copied from the reference sequence.sd_0001.fastqis a simulated read dataset in the FASTQ format.sd_0001.mafis a list of alignments between the reference sequence and the simulated reads in the MAF format.
the length and accuracy of reads are simulated based on our model of PacBio read. β¨
to run sampling-based simulation:
pbsim --data-type CLR \
--depth 20 \
--sample-fastq sample.fastq \
reference.fastaq
in the sampling-based simulation, read length and quality score are the same as those of a read taken randomly in the sample PacBio dataset (sample.fastq). like, she literally borrowed it. π
π LICENSE π
pbsim is available under the terms of the GNU General Public License, version 2 (GPL-2). slay, legally. βοΈ
π AUTHORS π
Michiaki Hamada (mhamada@k.u-tokyo.ac.jp), Yukiteru Ono β the icons who built this. π
and that's the whole page, bestie!! this was the pbsim manual, section 1, and the footer says PBSIM(1) β so if you ever forget where you read this, it's the PBSIM(1) page, mwah π go simulate something gorgeous π¦π
π¦ where this page comes from
- debian bookworm: pbsim 1.0.3+git20180330.e014b1d+dfsg-3 Β· GPL-2.0-only
- debian trixie: pbsim 1.0.3+git20180330.e014b1d+dfsg-3 Β· GPL-2.0-only
- ubuntu noble: pbsim 1.0.3+git20180330.e014b1d+dfsg-3 Β· GPL-2.0-only
- ubuntu questing: pbsim 1.0.3+git20180330.e014b1d+dfsg-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms