Single molecules of DNA or RNA can be detected as they are driven through an alpha-hemolysin channel by an applied electric field. During translocation, nucleotides within the polynucleotide must pass through the channel pore in sequential, single-file order because the limiting diameter of the pore can accommodate only one strand of DNA or RNA at a time. Here we demonstrate that this nanopore behaves as a detector that can rapidly discriminate between pyrimidine and purine segments along an RNA molecule. Nanopore detection and characterization of single molecules represent a new method for directly reading information encoded in linear polymers, and are critical first steps toward direct sequencing of individual DNA and RNA molecules.