Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • VCF to pseudo BAM

    I've an odd question.
    I'm working with a set of VCF files from multiple individuals in a population. However, there are a number of tools for population genetic analyses (e.g. popbam) that take BAM files as inputs. I don't suppose anyone has a tool for converting a VCF file into a pseudo-BAM file (e.g. a set of arbitrarily long reads against the reference genome), do they? I admit, this would obviously be a rather silly looking BAM file....however, it would get the job done.

    Alternatively, anyone have a nice pop gen toolkit for VCF files? It looks like the next release of vcftools will have some nice additions along these lines, but it is hard to find much out there that calculates more than pi and, sometimes, Tajima's D.

    Thanks.

  • #2
    Have you had any success converting VCF to pseudo BAM? I would love to find out if there is any tools out there. Thanks.

    Comment


    • #3
      In the end, I went with a hybrid approach of writing a few scripts of my own plus one that translates a vcf to a phylip (or hapmap) file so that the data can be processed by VariScan. In truth this is probably more efficient than converting to BAM format for the sake of using popBam (which is good, but has a few limitations of its own).

      My scripts were built fairly specifically for inbred lines, but I'm happy to pass them along if you like.

      Comment


      • #4
        I would love to try your script that converts vcf to phylip! I've been struggling to do that myself.

        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
        8 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, Yesterday, 06:07 PM
        0 responses
        8 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 03-22-2024, 10:03 AM
        0 responses
        49 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 03-21-2024, 07:32 AM
        0 responses
        66 views
        0 likes
        Last Post seqadmin  
        Working...
        X