I estimate that your code would take about a day and a half to process that. My code handles it in just over a second.$sequence = 'ATG' x 1e6;
The human genome is around 3e9 base-pairs long. That's small enough to fit it all in memory, but large enough that you need to use efficient algorithms on it.
In reply to Re^6: finding open reading frames
by Anonymous Monk
in thread finding open reading frames
by ic23oluk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |