Population information

17 views
Skip to first unread message

RN Sarma

unread,
Jan 27, 2022, 5:32:18 AM1/27/22
to poppr
Can we put population information yo a genind file obtained from VCF format?

Zhian Kamvar

unread,
Jan 27, 2022, 10:18:59 AM1/27/22
to RN Sarma, poppr
Yes, this is possible. Javier Tabima and Brian Knaus wrote good tutorial on this: https://grunwaldlab.github.io/Population_Genetics_in_R/gbs_analysis.html


On Thu, Jan 27, 2022 at 2:32 AM 'RN Sarma' via poppr <po...@googlegroups.com> wrote:
Can we put population information yo a genind file obtained from VCF format?

--
You received this message because you are subscribed to the Google Groups "poppr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to poppr+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/poppr/509bdc37-e8a6-4f9b-8c5e-f2ae8fc4d87an%40googlegroups.com.

Brian Knaus

unread,
Jan 27, 2022, 12:19:37 PM1/27/22
to Zhian Kamvar, RN Sarma, poppr
My interpretation of the VCF specification


is that there is no 'concept' of population in VCF data. This means that there is no possible way to incorporate population data directly into the VCF data. This is why it needs to be added from some other source, as suggested in the link provided by Zhian.

HTH!
Brian



--
Brian J. Knaus, Ph.D.
he/him/his
Corvallis, Oregon, USA
brianknaus.com
Reply all
Reply to author
Forward
0 new messages