A computer program was developed for parentage identification and paternity inference based on the single nucleotide polymorphisms (SNPs) of parents and offspring from known livestock population.Furthermore,the approach was tested with a simulated population with 600 000 SNP markers.Results showed that at least 100 SNPs are needed for correct parentage identification and a minimum of 300 SNPs for correct paternity inference.However,using markers with low average minor allele frequency can decrease the accuracy of paternity inference.The time for parentage identification of 1 000 pedigrees with 10% errors genotyped with 50 000 SNPs was 332.87 s,which showed linearly relationship with the number of markers and individuals.In this study,a computer program was developed for parentage identification and paternity inference according to Mendel’s law and testified with markers from known genotypes of parents and their offspring.The program runs fast and simply with higher accuracy,and hence can be implemented potentially in relevant studies of genomics in livestock population.