yukiteruono / pbsim2

PBSIM2: a simulator for long read sequencers with a novel generative model of quality scores
GNU General Public License v2.0
69 stars 15 forks source link

Option for number of reads? #7

Closed ChristosMatzoros closed 3 years ago

ChristosMatzoros commented 3 years ago

Hello,

Is there any option to select the number of created reads as a whole? I use a multi-fasta file as a reference and it seems that pbsim creates an arbitrary number of reads for each FASTA.

Thanks, Chris

yukiteruono commented 3 years ago

Thank you for your using PBSIM2. PBSIM2 does not have an option to select the number of create reads as a whole. You cannot specify the number of reads, but you can use the --depth option to specify the total amount of reads. Simulated reads are randomly sampled from a reference sequence. If the reference is multi-fasta file, the number of reads generated from each reference sequence is roughly proportional to its sequence size.

ChristosMatzoros commented 3 years ago

Thank you