Add misc NGS code snippets, to be cleaned