Efficient real-time selective genome sequencing on resource-constrained devices