Determination of the order of nucleotides (base sequences) in a DNA or RNA molecule or the order of amino acids in a protein..