I have some files in the .sam format which I obtained after I ran Stampy on some Cancer reads. I now have to convert the .sam files to .vcf files to do some analysis and am clueless on how to do the conversion. Any help or hints would be much appreciated.
Unconfigured Ad
Collapse
X
-
-
Use samtools with mpileup and use bcftools command:
samtools and bcftools are part of the samtools collection.
PLEASE DO examine the options to each command and understand them.
samtools mpileup -R -d 1000 -l rangehg18.chr -uf hg18.fa test.bam | bcftools view -g - > test.vcf
additional note: you will want to convert your sam into a sorted bam ("test.bam" in the example above)Last edited by Richard Finney; 06-19-2012, 07:34 AM.
Latest Articles
Collapse
-
by SEQadmin2
When the Human Genome Project declared the human genome finished in 2003, portions of the sequence were still missing, including many of its most repetitive and structurally complex regions.1 Still, for the next two decades, researchers analyzed their sequencing data against the single linear reference that came out of this effort. Released in 2013 as GRCh38, that reference has powered countless discoveries, but it has gaps and cannot capture the genetic diversity of the world’s...-
Channel: Articles
11-24-2026, 07:04 AM -
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, 12-02-2026, 11:10 AM
|
0 responses
16 views
0 reactions
|
Last Post
by SEQadmin2
12-02-2026, 11:10 AM
|
||
|
Single-Nucleus Sequencing Links Type 2 Diabetes Risk Variants to Specific Muscle Cell Types
by SEQadmin2
Started by SEQadmin2, 12-01-2026, 11:06 AM
|
0 responses
24 views
0 reactions
|
Last Post
by SEQadmin2
12-01-2026, 11:06 AM
|
||
|
Started by SEQadmin2, 11-23-2026, 11:11 AM
|
0 responses
62 views
0 reactions
|
Last Post
by SEQadmin2
11-23-2026, 11:11 AM
|
||
|
Started by SEQadmin2, 11-17-2026, 06:27 AM
|
0 responses
60 views
0 reactions
|
Last Post
by SEQadmin2
11-17-2026, 06:27 AM
|
Comment