What is a tool to get the genome build of a VCF?
It shouldn't be too hard to create one, but if one exists already that's even better. I need it to be automatable / non-web based (assume no relevant info exists in the header).
bcftools
vcf
• 1,318 views
•
link
updated
by
Ram
•
written
by
a5864557 •
0 answers
No answers yet.
Log in to answer this question.
More posts like this
-
Non-zero expression counts from deleted genes
written by loughraeHi all, I've been looking at the RNA-seq data (STAR counts) for homozygously deleted genes (ASCAT copy number = 0) in TCGA and don't understand …
-
How do I put the color scales on heatmap.2?
written by Bioinf_Questions •Hello. I'm making a heatmap of my data using heatmap.2, but once the plot is done there is no color scale. Shouldn't it be done …
-
Error: mysql table already exists! Is it safe to delete the tables in mysql manually?
written by mthm •I have tried to run `CreateGFF3sForClassifFeatures.py` in REPET pipeline once before. then,for some reason I removed the whole directory and tried to re-run the script, …
-
Better place to download dbSNP than official ftp site?
written by MatthewPI need to download dbSNP of VCF format. If I download the last release b154 from https://ftp.ncbi.nih.gov/snp/latest_release/VCF/GCF_000001405.38.gz The problem is the contig name is not …
-
How to calculate VAF from BAM or SAM(+pileups) files using pysam?
written by askif4 •I assume pysam is a tool for BAM, SAM file. But since the official document is a bit hard to understand. I am having difficulties …
-
Combine multiple hard drives into one big volume in linux
written by ASid •I am just a very basic level programmer and not a system administrator. And I have to set up a linux box in which there …
-
Is there an easier way to collect information from Cantatadb target interacting transcripts?
written by Arsenal •Dear coleagues, I got a list of ~1000 alphanumeric IDs and I need to input them one by one to recover information from a web …
-
visulaization of several strings
written by LearnerLets assume that i have 4 complexes (each line below presents one complex) Q13439 Q9NV70 Q9UPN3 P21980 P12277 O43318 O15111 Q13748 P21980 P51178 I want …
-
Integrating Genome Tracks Inside A Web Page
written by Abhi<p>Hi Guys</p> <p>I am searching for a slick solution (if there is one) to display genomics data as tracks inside a web page/browser. The one …
-
Plotting Selection On Structures
written by Arjen Ten Have<p>Similar to Evolutionary Trace, it should be possible to plot levels of selection (omega or a related number) on existing structures. But all I can …
I don't think you can get genome build unless it's written in VCF header. Maybe you can guess according to some contig IDs.
First, I would never guess on an analysis. If there is no code and documentation available for a file then I'd never use it. But if you are absolutely forced to, you might get positions for common variants, dbSNP for example with high AF, for hg18, hg19, hg38, and then intersect these files with your VCF. The correct build should have the best overlap with the VCF on these sites.
@MatthewP ATpoint It is definitely possible to deterministically determine the build, by cross-referencing dbSNP (e.g) as ATpoint mentioned. If you do this for a large number of both b37 and b38 matches and you get 1000 matches on b38 and none on b37, we can assign the build to b38. Unless I'm missing something?