Open heather340 opened 3 years ago
Have you tried to make the conversion from vcf to structure using PLINK? Something like:
plink --vcf [vcf filename] --recode structure
I had not, but I can keep testing it out to see if I can get it going. PGDSpider is always my fall back but a single line of code is always easier :)
I just heard back from someone who got phyluce_snp_convert_vcf_to_structure working by changing line 94 to:
if sample.data.GT == None or sample.data.GT == “./.“
I was able to reproduce it successfully, so we are good to go! Thanks for the quick response.
Nice - i'll integrate that fix to the code.
Leaving open for now as a reminder to fix.
I'm running into an issue with:
Input was build with vcftools after running through the Erickson et al. SNP calling pipeline.
We think the issue is within my .vcf file, but I can't quite figure out the right combo of things to change within the FORMAT block:
Any thoughts or a file to compare with would be very welcomed!!