Code for analysis of nanopore data