how to import a 1000 genome project vcf file (chromosome file) into a mysql database
0
0
Entering edit mode
8.9 years ago
pinikoma • 0

Hi All

I would like to import / upload a 1000 genome project vcf file (chromosome file) into a mysql database using sql.

If there are existing mysql dumps, please tell where I can find them.

Also if there is an official way-script I would love to see it

Thanks, pini.

vcf mysql 1000genome • 3.3k views
ADD COMMENT
1
Entering edit mode

See Do People Import Vcf Files Into Databases?, Vcf Database Table Structure. But inserting a VCF into a database is a bad idea unless you want to expose your data. Tabix/Tribble indexes should do the job.

ADD REPLY
1
Entering edit mode

Meanwhile, Ensembl has stopped putting a lot of variation data into MySQL and instead are storing everything in VCFs (much more compact).

ADD REPLY
0
Entering edit mode
How would you import anything to a database? See programming forums for a batch insert command.
ADD REPLY

Login before adding your answer.

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