~/talk

Genetics in PureScript Without Knowing Genetics

Talkat LambdaConf 2019 · 2019-06-05..06-07· [data-visualization]
links:none on file
slides:none on file

Built a genetics browser in PureScript that maps mouse genome (19 autosomes, 60–200M base pairs each) onto an HTML5 canvas, links points to external resources like gene network.org and UniProt, and renders tens of thousands of snps interactively. Coordinate system settles on pixel-segment mapping instead of squashing chromosomes, annotations group into peaks by visible radius, and interactivity returns hotspot search functions. Performance drops from ~30s/frame to fluid by using off-screen glyph caching, switching arrays to lists for a 1000% speed-up, and async batch rendering.

AI-written summary · about

  1. 0:00Start
  2. 1:15About me
  3. 1:57Project background
  4. 3:36Scale of the problem
  5. 4:24Demo
  6. 7:10Table of Contents
  7. 7:47Rendering SNPs
  8. 8:27Genome and screen
  9. 9:24The transformation
  10. 15:03The solution
  11. 15:43Canvas intervals
  12. 17:05Putting it together
  13. 19:08Summary
  14. 20:17Annotated SNPs
  15. 21:01Annotation pipeline
  16. 21:37Adding height to annotations
  17. 23:01Problems
  18. 24:18A better way
  19. 25:26Constructing peaks
  20. 27:56User interaction
  21. 28:24The naive solution
  22. 29:08The better solution
  23. 29:51Code
  24. 31:05Optimization
  25. 31:30Batched rendering
  26. 32:16PureScript bits
  27. 34:09Use better data structures
  28. 35:59Async rendering
  29. 36:39Conclusion
  30. 38:30Questions?
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.