Uncompress The 1001 Genome vcf.gz
1
0
Entering edit mode
7.5 years ago
sarah.k • 0

Hi everybody. Is there any Linux command to uncompress .vcf.gz format. I ma using windows winrar at the moment but it's too slow. Many thanks.

vcf • 7.6k views
ADD COMMENT
0
Entering edit mode

What would you do knowing linux command, if you are using windows? What are you planning to do with the file? You may not need to uncompress it.

ADD REPLY
0
Entering edit mode

I want to import it to a NoSQL database such as Apache Cassandra on my Linux machine. But I can't find a way to uncompress it. So, I've decided to uncompress it in windows then move the .vcf file on my Linux machine.

ADD REPLY
0
Entering edit mode

I want to import it to a NoSQL database such as Apache Cassandra on my Linux machine.

curious ; why ?

But I can't find a way to uncompress it

why don't you move the *.vcf.gz on linux before uncompressing it with gunzip ?

ADD REPLY
0
Entering edit mode

for your first question: looking for new database generation for restore and retrieval genomic data and its data modeling. for your second question: I have my data on Linux machine too. what is gunzip? Do you have an example of using it to decompress .vcf.gz file?

ADD REPLY
2
Entering edit mode

what is gunzip?

https://linux.die.net/man/1/gzip

gunzip file.vcf.gz
ADD REPLY
0
Entering edit mode

I've also used your vcf2sql script. But it didn't work for my data.

ADD REPLY
1
Entering edit mode

it didn't work for my data

Without the command used, the exact error message, and / or a sample of the data, no one can possibly help you.

ADD REPLY
0
Entering edit mode

which dataset do you use? There are many vcf files. I do not know which one is used for gwas analysis. Thanks.

ADD REPLY
3
Entering edit mode
7.5 years ago

gunzip

most commands in linux have gzip compressed file support versions. For example zcat, zmore, zgrep... Most bioinformatics tools support gzip-compressed files, for example: vcftools --gzvcf your.vcf.gz

ADD COMMENT

Login before adding your answer.

Traffic: 2543 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