This is a test version of Biostars. For the public version, visit https://www.biostars.org.
separate meta-population data from VCF

Hi everyone,

I have a meta-population data in vcf file. Is there a way to separate them according to their population/country and the outcome would be countryname.vcf?

Thanks, Paolo

vcf

Can you provide an example of the VCF?

Hi Iraun -- Here's an example of my vcf. I'm trying to separate VCF based on their countries (Brazil, Colombia, etc):

fileformat=

fileDate=

source=

ALT=<ID=NON_REF,Description=

contig=<ID=CHR1,length=1021664>

INFO=<ID=AC,Number=A,Type=Integer,Description="

FILTER=<ID=PASS,Description="All filters passed">

FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype">

GATKCommandLine=""

CHROM POS ID REF ALT QUAL FILTER INFO FORMAT Brazil01 Colombia01 ...

CHR1 1459366 . A G 634.58 PASS

0 answers

No answers yet.

Log in to answer this question.