Molecular genetic markers have been widely used as powerful tools for analyzing the genome. In particular, SSR markers have practical applications in breeding systems because they can be used in high-throughput analyses for genetic mapping, heritable diversity testing, purity analysis, and marker-assisted selection. Currently, due to technical advances in DNA sequencing, large sequence databases are available for large-scale SSR mining and marker development. Here, we describe an automated method, the SSR Finder program, for SSR discovery in the onion sequence database, and primer design for amplifying the detected SSRs. A total of 1,049 SSR primers were obtained for genetic purity testing, and 100 SSR sets were analyzed in 14 bulb onion breeding lines using clustering analysis. A total of 20 selected markers from screening of all 1,049 SSR primers, were finally applied for genetic purity testing in three breeding lines, NW1, NW9, and NW10. The initial tests showed that 15%, 71%, and 97% of individuals within NW1, NW9, and NW10, respectively, were genetically homogeneous. These markers produced using the SSR Finder will be useful for investigating the genetic purity of onion breeding lines. [ABSTRACT FROM AUTHOR]