Scripts used for all analyses and pipelines described for the realtime surveillance of plant pathogens using the MinION sequencer in Radhakrishnan et al. MARPLE, a point-of-care, strain-level disease diagnostics and surveillance tool for complex fungal pathogens. BMC Biol 17, 65 (2019) doi:10.1186/s12915-019-0684-y