I have generated a VCF file from a kinome capture experiment after all the filtering steps. I have a 9.5Mb vcf file from GATK and I don't know what to do with it. Basically I would like to generate a file for each chr that has columns such as position, number of reads, how many times allele is called etc. I don't have any idea what program to use. I don't really care about annotating at this point, just want to see allele calls in a readable text file. Please help.
Unconfigured Ad
Collapse
X
-
-
The VCF file is a text file with that information in it (largely separated into columns in fact). You can just open it in your favorite text document view/editor (MS Word, Notepad, gvim, Preview.app). Frankly, the easiest way to split the calls by chromosome is probably just to use grep (assuming you're using Linux or a Mac). So "grep chrX file.vcf > chrX.vcf" for each chromosome. I'm sure someone can think of a short one line command with awk and sed to avoid having to grep for each chromosome, but frankly you probably have a small number of chromosomes so this won't be very labor intensive. Note that the result of the grep command won't really be a valid VCF file, since you'll miss much of the header, but that won't matter if you just want to go through it by hand.
Comment
-
Thanks! I get that this is probably a stupid question, but if I type grep chr1, it pulls chr1, 11, 12, 13 etc. What am I doing wrong?Originally posted by dpryan View PostThe VCF file is a text file with that information in it (largely separated into columns in fact). You can just open it in your favorite text document view/editor (MS Word, Notepad, gvim, Preview.app). Frankly, the easiest way to split the calls by chromosome is probably just to use grep (assuming you're using Linux or a Mac). So "grep chrX file.vcf > chrX.vcf" for each chromosome. I'm sure someone can think of a short one line command with awk and sed to avoid having to grep for each chromosome, but frankly you probably have a small number of chromosomes so this won't be very labor intensive. Note that the result of the grep command won't really be a valid VCF file, since you'll miss much of the header, but that won't matter if you just want to go through it by hand.
Comment
-
-
Nothing, I should have foreseen that! Mea culpa. There's a "word boundary" switch you can give to grep (at least on my computer). So try "grep -w chrX file.vcf > chrX.vcf". That should work better!Originally posted by shawpa View PostThanks! I get that this is probably a stupid question, but if I type grep chr1, it pulls chr1, 11, 12, 13 etc. What am I doing wrong?
Comment
Latest Articles
Collapse
-
by SEQadmin2
NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...-
Channel: Articles
Today, 06:46 AM -
-
by SEQadmin2
Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?
Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating...-
Channel: Articles
10-14-2026, 09:55 AM -
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Genome Sequencing Reveals Large, Repeat-Rich DNA in Trapdoor Spider Named for Stephen Colbert
by SEQadmin2
Started by SEQadmin2, 10-28-2026, 09:57 AM
|
0 responses
23 views
0 reactions
|
Last Post
by SEQadmin2
10-28-2026, 09:57 AM
|
||
|
Started by SEQadmin2, 10-28-2026, 09:51 AM
|
0 responses
15 views
0 reactions
|
Last Post
by SEQadmin2
10-28-2026, 09:51 AM
|
||
|
Started by SEQadmin2, 10-22-2026, 11:13 AM
|
0 responses
68 views
0 reactions
|
Last Post
by SEQadmin2
10-22-2026, 11:13 AM
|
||
|
Started by SEQadmin2, 10-22-2026, 10:48 AM
|
0 responses
48 views
0 reactions
|
Last Post
by SEQadmin2
10-22-2026, 10:48 AM
|
Comment