This invention provides methods for attaching a nucleic acid to a solid
surface and for sequencing nucleic acid by detecting the identity of each
nucleotide analogue after the nucleotide analogue is incorporated into a
growing strand of DNA in a polymerase reaction. The invention also
provides nucleotide analogues which comprise unique labels attached to
the nucleotide analogue through a cleavable linker, and a cleavable
chemical group to cap the --OH group at the 3'-position of the
deoxyribose.