Detecting and phasing minor single-nucleotide variants from long-read sequencing data