[adegenet-forum] read.PLINK error message
Ashley A Dickinson
Ashley.Dickinson at humboldt.edu
Tue Dec 5 04:40:39 CET 2023
Hello,
I am trying to use adagenet (v.2.1.10) to do DAPC, but I am receiving an
error message I can't figure out. I used PLINK2 to convert a vcf file to a
.raw file for SNP data obtained on 78 individuals using RADseq. I then
tried to use the read.PLINK function to import into genlight objects
> read.PLINK("myfile.raw", map.file = "myfile.map")
Reading PLINK raw format into a genlight object...
Reading loci information...
Reading and converting genotypes...
.Error in read.PLINK("myfile.raw", map.file = "myfile.map") :
some individuals do not have -5 SNPs.
I have tried again with multiple different vcf output files that I had
created with different parameters and filtering steps just to make sure
that it wasn't that one file, but I get the same error each time. The data
set has >8000 SNPs within 730 loci.
Any ideas or recommendations are appreciated!
-Ashley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20231204/7594c7f1/attachment.htm>
More information about the adegenet-forum
mailing list