A capture probe is an oligonucleotide that comprises a portion capable of hybridizing to a nucleic acid, such as a target nucleic acid or a nonrandom length fragment, and a binding moiety that binds the capture probe to a solid phase, either through covalent binding or affinity binding, or a mixture thereof.