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
The immune system’s power comes from its genetic diversity, allowing myriad threats to be neutralized through first recognizing foreign antigens. That diversity is also what makes the immune system so difficult to study. Recent advances in sequencing technology and computational biology, however, are giving researchers new tools to understand immune responses and immune-related diseases in greater detail.
This convergence of genetics, immunology, and computation...-
Channel: Articles
09-01-2026, 05:41 AM -
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, Yesterday, 10:22 AM
|
0 responses
5 views
0 reactions
|
Last Post
by SEQadmin2
Yesterday, 10:22 AM
|
||
|
Started by SEQadmin2, 09-02-2026, 12:32 PM
|
0 responses
10 views
0 reactions
|
Last Post
by SEQadmin2
09-02-2026, 12:32 PM
|
||
|
Started by SEQadmin2, 08-24-2026, 10:32 AM
|
0 responses
49 views
0 reactions
|
Last Post
by SEQadmin2
08-24-2026, 10:32 AM
|
||
|
Started by SEQadmin2, 08-20-2026, 11:17 AM
|
0 responses
51 views
0 reactions
|
Last Post
by SEQadmin2
08-20-2026, 11:17 AM
|
Comment