Skip to content

adding new samples to already generated vcf files of SNPs #165

@BioInf2305

Description

@BioInf2305

Dear Developer,

First of all, thank you for providing and maintaining this useful tool.

I have a question regarding the recommended approach for adding new samples to an existing set of VCF files. I currently have filtered VCFs generated from 629 samples, and I would like to add 5 additional samples. My current workflow is:

1).  Used graphtyper genotype to call variant sites from the 5 new samples.

2).  Used --vcf=<sites_629_samples>.vcf.gz to genotype the 5 new samples at the existing variant sites.

3). Then used --vcf=<sites_5_samples>.vcf.gz to genotype the 629 existing samples at the new variant sites found in step 1.

4). Finally, I removed duplicates and merged the resulting VCFs.

Is this the correct approach for updating the existing VCF with additional samples and novel variant sites?

Thank you in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions