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
        Strategies for Sequencing Challenging Samples
        by seqadmin


        Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
        03-22-2024, 06:39 AM
      • seqadmin
        Techniques and Challenges in Conservation Genomics
        by seqadmin



        The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

        Avian Conservation
        Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
        03-08-2024, 10:41 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Yesterday, 06:37 PM
      0 responses
      11 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, Yesterday, 06:07 PM
      0 responses
      10 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 03-22-2024, 10:03 AM
      0 responses
      51 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 03-21-2024, 07:32 AM
      0 responses
      67 views
      0 likes
      Last Post seqadmin  
      Working...
      X