TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
First encounter with Elixir - Some random things
1. First encounter with Elixir
A few impressions and thoughts
Samuel Lampa
Uppsala University
@smllmp
bionics.it
2. GC ratio calculation
● DNA has four “letters” (“bases”): A, C, G, T
● GC ratio is the:
ratio of Gs and Cs, compared to As and Ts.
● Sequences are stored in ASCII text files, with
around 80 characters per line.
● Header lines in the file start with “>” and should
be skipped.
● Unknown bases are denoted with “N”.
8. Elixir processes vs Go channels
● Elixir processes:
– “Named” mailboxes
– Mailbox and process tied together
● Go channels
– “Anonymous”, no name
– Channels are separate from go routines (can be
sent around, sent to functions etc).
● More?