sample problems for bioinformatics class
This example presents a set of JavaScript practice problems for a bioinformatics class, using D3.js v4 inside an HTML page. The code defines a `count_purine()` function that counts purine bases (A or G) in a DNA sequence string and logs the result to the browser’s developer console. No SVG graphics are rendered; instead, the page instructs students to debug and observe output in the console. The code includes commented-out stubs for additional functions, such as `percent_purine()` and `find_purine_rich()`, which are not yet implemented.
AI-generated descriptionBuilt with blockbuilder.org
forked from <a href='http://bl.ocks.org/scresawn/'>scresawn</a>'s block: <a href='http://bl.ocks.org/scresawn/57eaa85e71aa571f2cda2afb57b47966'>sample problems for bioinformatics class</a>