Open guojingfang123 opened 4 years ago
Hello,
If you have VCF data, {pegas} can import it with read.vcf: https://www.rdocumentation.org/packages/pegas/versions/0.12/topics/read.vcf, which gets stored as a "loci" object. You can also use {vcfR} with read.vcrR: https://www.rdocumentation.org/packages/vcfR/versions/1.8.0/topics/VCF%20input%20and%20output and then you can use vcfr2genind to import your data to genind format: https://knausb.github.io/vcfR_documentation/export_genind_genclone.html
Hi, I only have VCF files now, how can I change it to the format "master_pinus_data_genotype.txt"? Are there tools or scripts? Thank you.