Relative Content

Tag Archive for reactjsbufferdna-sequence

React : create a DNA viewer for very long sequence

I would like to create my own dna sequence viewer in a react ts app (to learn and practice coding).
I get the sequence from my flask server as a long string, very well.
but in the case of the sequence is very large (more than 4 millions), my app crash.
Because it is not simply to display text, but also a rule under the letter and give for each letter (A,C,G, or T) a different color – the rule is mandatory, the different colors displaying not, if it’s make the app to slow – (see the picture)