Entering edit mode
12.3 years ago
lyz10302012
▴
480
Can anyone tell me how to generate vcf.gz
file and its index file vcf.gz.tbi
in 1000 Genomes Project?
ftp://ftp-trace.ncbi.nih.gov/1000genomes/ftp/release/20110521/
Does the VCF have to be sorted like SAM/BAM does?
Yes, tabix requires sorted input files. I don't think the sorting order matters, but records must be grouped together by rows.
You mean numeric or alphanumeric by chromosome in ascending or descending order plus numeric by position ascending or descending order? I can't think how else sorting order could not matter.
Yes. To clarify, I think you just need your chromosomes grouped together, and then records for each chromosome need to be sorted in ascending coordinate order.