Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • SNPs and file formats

    Hi, I'm looking at some sequence data in order to find mutations. Since I (probably) have to filter the variants with known SNP and indels I would like to have some hint on which file format/tools you are using.
    Once I have a list of candidate mutations, I planned to use BEDTools to perform most of the operations. The only problem is that I have different file formats I can operate and this puzzles me:
    1- I call variants as result of samtools/samtools.pl. The format is samtools pileup
    2- I have snp131 data in BED format (from UCSC genome browser)
    3- I guess I can get SNPs from 1000g in VCF format (although I still have to study which is the file(s) I need).

    BEDtools should support either BED and VCF format. What about samtools pileup? I guess I may try to convert it in one of both formats...

    Puzzle #1 (samtools to BED):
    - single nucleotide variations can be converted as CHR:POS-POS+1 (I guess)
    - How do I convert small insertions? CHR:POS-POS ?
    - How do I convert small deletions?

    Puzzle #2 (samtools to VCF):
    - Simply, is there a way to directly convert samtools pileup to VCF?

    Any suggestion is appreciated :-)
    Thanks

    d

  • #2
    I had a similar problem with SNPs, but did not consider indels from samtools pileup. For the dbSNP BED file, I converted insertions into POS-1-POS, because BEDTools doesn't find an overlap for features with start=end. I did the same for samtools pileup SNPs to make them zero-based BED as well. The VCF format I don't know.

    Comment


    • #3
      Originally posted by epigen View Post
      I had a similar problem with SNPs, but did not consider indels from samtools pileup. For the dbSNP BED file, I converted insertions into POS-1-POS, because BEDTools doesn't find an overlap for features with start=end. I did the same for samtools pileup SNPs to make them zero-based BED as well. The VCF format I don't know.
      In the end I've found that samtools 0.1.8 comes with a handy sam2vcf.pl script (which converts to VCF v3.3, I've used vcf-convert from vcf tools to further convert to v4.0). VCF files can be intersected with BED files using BEDTools and, apparently, it works. I mean, at least I've been able to filter my VCF from entries in dbSNP (as BED) :-)
      BTW, I had to convert VCF to a 0-based bed-like to use some Useq programs (such as Alleler)... I'm afraid we're far from having some standards here :-(

      d

      Comment

      Latest Articles

      Collapse

      • seqadmin
        Recent Advances in Sequencing Analysis Tools
        by seqadmin


        The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
        Yesterday, 07:48 AM
      • seqadmin
        Essential Discoveries and Tools in Epitranscriptomics
        by seqadmin




        The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
        04-22-2024, 07:01 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Yesterday, 07:17 AM
      0 responses
      11 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 05-02-2024, 08:06 AM
      0 responses
      19 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-30-2024, 12:17 PM
      0 responses
      20 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-29-2024, 10:49 AM
      0 responses
      28 views
      0 likes
      Last Post seqadmin  
      Working...
      X