Skip to content

Again on vcf format #80

Description

@linsson

Dear @singing-scientist,

Thank you for developing and sharing SNPGenie.

I would like to ask for some clarification regarding the appropriate input format, and I apologize if this has already been discussed in the past.

We are studying the domestication of a diploid plant species. Specifically, we are interested in the genetic basis of certain fruit traits that vary across groups of plants cultivated in different geographic regions. After performing association studies, we identified a set of candidate genes, and we are now aiming to calculate Ka/Ks ratios for these genes within each group.

For genotyping, we used GATK on sequencing data from N separate individuals, so we do not have pooled sequencing data. Instead, we generated a multi-sample VCF with individual-level genotypes.

Our plan was to split the main VCF by group using bcftools, recalculating AF and AN using fill-tags, and then run SNPGenie with --vcfformat=1 on each group-specific VCF. Each input vcf has N_i individuals (SUM(N_i)=N).

We are using the product_results.txt file and calculating Ka/Ks as mean_dN_vs_ref/mean_dS_vs_ref

Could you please confirm whether this is the correct approach for computing Ka/Ks with SNPGenie in our case?

Thank you very much

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions