Method for sequencing nucleic acids in which the values of the CID
spectrum calculated for an assumed sequence are compared with the
measured spectrum of the nucleic acid and the degree of correspondence is
calculated, at least one position of the assumed sequence is modified and
the degree of correspondence with the measured spectrum is recalculated.