I am studying the genetic diversity present in a collection of accessions for a few specific genes. I have VCF files as input data, and I am trying to use the R package 'pegas'. It seems really useful and straightforward, but the only issue I am having is because I am starting with VCF files instead of FASTA files. Do you have any advice? Is there any other package in R which would allow to work with VCF easily? Would it be best to generate first the sequences for each individual in FASTA format before starting the phylogenetic analysis?

Any suggestion is welcome. Thank you.

More Lara Pereira's questions See All
Similar questions and discussions