Hi all,
I just want to simulate the whole PCR process to calculate the errors.
Suppose that we have 1000 same DNA templates, and we will do 30 loops to amplify the DNA molecules. In each round, we set the 90% of the total DNA molecules will be amplified, and for each site, we suppose that the nucleotide has a 0.1% mismatch.
And after the whole process, we want to take a look at the rate of changes at each site, compare to the original templates.
If there is any one who knows the existed tool, can you please give a hint?
Thanks
yes, your suggestions are very helpful. I meant to write a script to manipulate the PCR process, however, when the total molecules after amplification are larger than 1e8, randomly select the position among the reads becomes very hard.
If there any method to quick index the numbers? such as, if I have 1~1e8 index, i want to randomly choose the position, the code in perl should be int(rand(1e8))+1, however, it seems it will cost large mem and time for this step.