Misc code snippets for Science For Life Laboratory