I have a single vcf file with snps from 10 cultivars.
After running snpeff, how could i get summary information such as how many exons, introns, intergenic regions etc do i have for each cultivar?
As far as I know, you need to first split the VCF files, so there is a single VCF file per sample (i.e., cultivar in this case) and eventually merge them after running snpEff. A snpEff-annotated VCF file can give information on things such as SNPEFF_EFFECT=INTRON and SNPEFF_EFFECT=INTERGENIC, exons are little more complicated if I remember correctly. You would probably use grep -c SNPEFF_EFFECT=INTRON, grep -c SNPEFF_EFFECT=INTERGENIC and not sure about exons. I would recommend reading more about snpEff on biostars.org as well as from the developer's website.
As far as I know, you need to first split the VCF files, so there is a single VCF file per sample (i.e., cultivar in this case) and eventually merge them after running snpEff. A snpEff-annotated VCF file can give information on things such as
SNPEFF_EFFECT=INTRON
andSNPEFF_EFFECT=INTERGENIC
, exons are little more complicated if I remember correctly. You would probably usegrep -c SNPEFF_EFFECT=INTRON
,grep -c SNPEFF_EFFECT=INTERGENIC
and not sure about exons. I would recommend reading more aboutsnpEff
on biostars.org as well as from the developer's website.