'\" t .\" Title: pbsim .\" Author: [see the "AUTHOR(S)" section] .\" Generator: Asciidoctor 2.0.18 .\" Date: .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" .TH "PBSIM" "1" "" "\ \&" "\ \&" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 .nh .ad l .de URL \fI\\$2\fP <\\$1>\\$3 .. .als MTO URL .if \n[.g] \{\ . mso www.tmac . am URL . ad l . . . am MTO . ad l . . . LINKSTYLE blue R < > .\} .SH "NAME" pbsim \- simulator for PacBio sequencing reads .SH "SYNOPSIS" .sp \fBpbsim\fP [options] .SH "DESCRIPTION" .sp The \f(CRpbsim\fP command produces simulated PacBio reads for reference FASTA sequence . .sp Model files (parameters for the \f(CR\-\-model\-qc\fP option) can be found in the /usr/share/pbsim/models directory. .SH "OPTIONS" .sp The options for pbsim can be divided into general, sampling\-based and model\-based simulation options. .SS "General options" .sp \fB\-\-prefix\fP .RS 4 prefix of output files (sd). .RE .sp \fB\-\-data\-type\fP .RS 4 data type. CLR or CCS (CLR). .RE .sp \fB\-\-depth\fP .RS 4 depth of coverage (CLR: 20.0, CCS: 50.0). .RE .sp \fB\-\-length\-min\fP .RS 4 minimum length (100). .RE .sp \fB\-\-length\-max\fP .RS 4 maximum length (CLR: 25000, CCS: 2500). .RE .sp \fB\-\-accuracy\-min\fP .RS 4 minimum accuracy (CLR: 0.75, CCS: fixed as 0.75). This option can be used only in case of CLR. .RE .sp \fB\-\-accuracy\-max\fP .RS 4 maximum accuracy (CLR: 1.00, CCS: fixed as 1.00). This option can be used only in case of CLR. .RE .sp \fB\-\-difference\-ratio\fP .RS 4 ratio of differences. substitution:insertion:deletion. Each value up to 1000 (CLR: 10:60:30, CCS:6:21:73). .RE .sp \fB\-\-seed\fP .RS 4 for a pseudorandom number generator (Unix time). .RE .SS "Options for sampling\-based simulation" .sp \fB\-\-sample\-fastq\fP .RS 4 FASTQ format file to sample. .RE .sp \fB\-\-sample\-profile\-id\fP .RS 4 sample\-fastq (filtered) profile ID. When using \fB\-\-sample\-fastq\fP, profile is stored. \f(CRsample_profile_.fastq\fP, and \f(CRsample_profile__.stats\fP are created. When not using \fB\-\-sample\-fastq\fP, profile is re\-used. Note that when profile is used, \fB\-\-length\-min,max\fP, \fB\-\-accuracy\-min,max\fP would be the same as the profile. .RE .SS "Options for model\-based simulation" .sp \fB\-\-model_qc\fP .RS 4 model of quality code. .RE .sp \fB\-\-length\-mean\fP .RS 4 mean of length model (CLR: 3000.0, CCS:450.0). .RE .sp \fB\-\-length\-sd\fP .RS 4 standard deviation of length model (CLR: 2300.0, CCS: 170.0). .RE .sp \fB\-\-accuracy\-mean\fP .RS 4 mean of accuracy model (CLR: 0.78, CCS: fixed as 0.98). This option can be used only in case of CLR. .RE .sp \fB\-\-accuracy\-sd\fP .RS 4 standard deviation of accuracy model (CLR: 0.02, CCS: fixed as 0.02). This option can be used only in case of CLR. .RE .SH "EXAMPLES" .sp To run model\-based simulation: .sp .if n .RS 4 .nf .fam C pbsim \-\-data\-type CLR \(rs \-\-depth 20 \(rs \-\-model_qc /usr/share/pbsim/models/model_qc_clr \(rs reference.fasta .fam .fi .if n .RE .sp 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. Data type is CLR, and coverage depth is 20. If the reference sequence is multi\-FASTA file, the simulated data is created for each FASTA. Three output files are created for each FASTA. "sd_0001.ref" is a single\-FASTA file which is copied from the reference sequence. "sd_0001.fastq" is a simulated read dataset in the FASTQ format. "sd_0001.maf" is a list of alignments between reference sequence and simulated reads in the MAF format. The length and accuracy of reads are simulated based on our model of PacBio read. .sp To run sampling\-based simulation: .sp .if n .RS 4 .nf .fam C pbsim \-\-data\-type CLR \(rs \-\-depth 20 \(rs \-\-sample\-fastq sample.fastq \(rs reference.fastaq .fam .fi .if n .RE .sp 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"). .SH "LICENSE" .sp pbsim is available under the terms of the GNU General Public License, version 2 (GPL\-2). .SH "AUTHORS" .sp Michiaki Hamada (\c .MTO "mhamada\(atk.u\-tokyo.ac.jp" "" ")," Yukiteru Ono