Hi all
I'm trying to convert sql data containing headers such as 'CHROM' 'POS' 'REF' 'ALT' 'Zygosity' to the variant call format (vcf) file. Can anybody help me?
My operating system is windows 10.
Did you get the vcf file format from database. I am trying to get output vcf file from psql database.
Or Are there any tools to convert tab delimited file to vcf file. I have a file with CHROM, POS, REF and ALT, can we use any tool to convert it into vcf file. Let me know. Thank you.
bcftools query can extract tab delimited file from vcf/bcf format right, but I need a vcf file from tab delimited file. I found the below lines from bcftools document page.
bcftools query [OPTIONS] file.vcf.gz [file.vcf.gz […]]
Extracts fields from VCF or BCF files and outputs them in user-defined format.
I'm possibly doing something wrong but having problems converting from hg19 to hg38, where my reference call is changed (which changes the user call). I …
I have section called Variant Call Data section, When User views the Variant Call Data section,Then those values should be extracted from the called variant …
what is the database engine ? what is the structure of the table ? what is 'Zygosity' ? How To Ask Good Questions On Technical And Scientific Forums
Hello fmail1221 ,
and what is your problem? Have a look at the specification on how a
vcfmust look like and extract the data from your database to make a validvcf.fin swimmer
Hello finswimmer, I want a converter to convert my data from sql server to the vcf file.
Did you get the vcf file format from database. I am trying to get output vcf file from psql database.
Or Are there any tools to convert tab delimited file to vcf file. I have a file with CHROM, POS, REF and ALT, can we use any tool to convert it into vcf file. Let me know. Thank you.
bcftools query
Pierre, Thanks for quick reply.
bcftools query can extract tab delimited file from vcf/bcf format right, but I need a vcf file from tab delimited file. I found the below lines from bcftools document page.
bcftools query [OPTIONS] file.vcf.gz [file.vcf.gz […]] Extracts fields from VCF or BCF files and outputs them in user-defined format.