A non•transitory, computer-readable storage medium, storing a program for screening the nucleic acids by acquiring a secondary structure of a nucleic acid molecule that contains a region that binds to a target substance, said program executing the steps of:
- (1) extracting data of a single•stranded region, by excluding bases capable of forming a stem structure from the sequence of the nucleic acid molecule;
- (2) searching a motif sequence from the single-stranded region, by weighing the appearance frequency of a specific sequence in the extracted data with an evaluated value of the affinity of the nucleic acid molecule for the target substance;
- and
- (3) acquiring a general structure from a secondary structure of the nucleic acid molecule, based on the single•stranded region that accords with the motifsequence and based on bases forming the stem structure positioned at both ends of the single-stranded region.