Script for estimating influence of sample size in a germplasm/seeds bank (BAG) using allele frequency and genetic diversity of a wild species/population
Ipomoaea in three steps:
-
Calculate Allele Frequency in a wild Species/Population using VCF
-
Calculate Allele Frequency in Resampled Datasets using a wild species/population as model using VCF.
-
Calculate Genetic Diversity in Resampled Datasets using a wild species/population as model using GENIND.
Pilocarupus in five steps:
-
Calculate Allele Frequency using GENIND objects (Null Alleles and Alleles > 50 copies) in natural populations and resampled populations with different sample size.
-
Calculate Genetic Diversity (HE) using GENIND objects in natural populations and resampled populations with different sample size.
-
Calculate Allele Richness (AR) using GENIND objects in natural populations and resampled populations with different sample size.
-
Calculate Nucleotide Diversity (PI) using VCF in natural populations and resampled populations with different sample size.
-
Calculate Effective Population Sizes (Ne) using GENIND objects in natural populations and resampled populations with different sample size.