FILE FORMATS

FASTA (seqinr)

These square blocks are the two species that we have replicates for, and they show up because the replicates of individuals within the same species are more similar to each other than to the replicates of the other species.

Data filtering

Questions

75

506

No

The other markers had too much missing data, which would suggest they are null alleles, and they were excluded in the first lines of the code.

Challenge

write a code that takes one SNP per RAD locus randomly

Principal Component Analysis

Projected inertia (%): Ax1 Ax2 Ax3 Ax4 Ax5 26.841 2.779 1.302 1.166 1.043

Hardy Weinberg equilibrium

Questions:

Because we have too much missing data:

We had selected for the first 100 SNPs, but those contain multiple SNPs per marker. Since Hardy Weinberg is calculated per marker, and not per SNP, we only get 43 loci. See also the header of the table above; L0001 has 3 SNPs (L0001.02, L0001.00, L0001.01).

THE END