A mass spectrometric method for sequencing nucleic acids using RNA polymerases, including DNA-dependent and RNA-dependent RNA polymerases, is provided. The methods use a modified Sanger sequencing strategy in which RNA polymerase is used to generate a set of nested RNA transcripts obtained by base-specific chain termination. These are analyzed by mass spectrometry. A method of identifying transcriptional terminator sequences or attenuator sequences is also provided.