A program was designed based on bioperl and applied to mass retrieve spermatophyte 18S rRNA gene sequences successfully.The retrieval of suquence from Genbank,one of the key problems of the construction of spermatophyte's sub-database based on 18S rRNA ge