Migrate with SNPs

36 views
Skip to first unread message

Stephanie Schoeman

unread,
Nov 20, 2024, 1:27:36 PM11/20/24
to migrate-support
Hello Peter, 

I am trying to do a small-scale migration analysis using SNP data but have no luck. I am working on a regional scale, and for the global scale, I managed to do the vcf2mirate conversion, but regionally it won't work: I get the following error when trying to use vcf2migrate to convert my file.:
Error in x@gt[i, j, drop = FALSE] :
(subscript) logical subscript too long"
when trying to use vcf2migrate to convert my file.
Code: vcfR2migrate(vcf = dacicallKK , pop = pop2, in_pop= c("Ashmead", "Railway","Keurbooms","BollardBay", "LakeBrenton", "ThePoint", "TheHeads", "Harbour"),out_file = "dacickk.txt", method = 'H') 

The vcf and pops are defined. and as mentioned, the code worked on a global scale. 

Then, when I used the converted file in migrate-n on a Linux cluster I had the following error:Screenshot 2024-11-20 191220.png

For context, I have 1619 SNPs for 86 individuals globally and 61 individuals regionally.

I would appreciate any help! 
Stephanie

Reply all
Reply to author
Forward
0 new messages