How to extract vcf.gz and vcf.gz.tbi
0
1
Entering edit mode
5.8 years ago

Hi everyone can somone tell me how to extract under terminal this two files

resources_broad_hg38_v0_1000G_phase1.snps.high_confidence.hg38.vcf.gz

and

resources_broad_hg38_v0_1000G_phase1.snps.high_confidence.hg38.vcf.gz.tbi
SNP sequence gene • 28k views
ADD COMMENT
1
Entering edit mode

To extract the gz, see http://www.htslib.org/doc/bgzip.html

To retrieve data from the associated tbi, see http://www.htslib.org/doc/tabix.html

ADD REPLY
0
Entering edit mode

extract what ? the first file is a bgzip file, the second file is its' index.

ADD REPLY
0
Entering edit mode

@OP: There is no point in extracting or viewing or doing any thing with .tbi. It is an index file of vcf.gz. For extracting .gz file, do gzip -d resources_broad_hg38_v0_1000G_phase1.snps.high_confidence.hg38.vcf.gz. This would extract vcf which would be larger. However, do not extract unless there is a valid reason to do so.

ADD REPLY

Login before adding your answer.

Traffic: 3349 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6