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
        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
      • seqadmin
        Current Approaches to Protein Sequencing
        by seqadmin


        Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
        04-04-2024, 04:25 PM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 04-11-2024, 12:08 PM
      0 responses
      59 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      57 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 09:21 AM
      0 responses
      53 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-04-2024, 09:00 AM
      0 responses
      56 views
      0 likes
      Last Post seqadmin  
      Working...
      X