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
          Non-Coding RNA Research and Technologies
          by seqadmin




          Non-coding RNAs (ncRNAs) do not code for proteins but play important roles in numerous cellular processes including gene silencing, developmental pathways, and more. There are numerous types including microRNA (miRNA), long ncRNA (lncRNA), circular RNA (circRNA), and more. In this article, we discuss innovative ncRNA research and explore recent technological advancements that improve the study of ncRNAs.

          Nobel Prize for MicroRNA Discovery
          This week,...
          10-07-2024, 08:07 AM
        • seqadmin
          Recent Developments in Metagenomics
          by seqadmin





          Metagenomics has improved the way researchers study microorganisms across diverse environments. Historically, studying microorganisms relied on culturing them in the lab, a method that limits the investigation of many species since most are unculturable1. Metagenomics overcomes these issues by allowing the study of microorganisms regardless of their ability to be cultured or the environments they inhabit. Over time, the field has evolved, especially with the advent...
          09-23-2024, 06:35 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, Yesterday, 06:35 AM
        0 responses
        7 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 10-14-2024, 02:44 PM
        0 responses
        7 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 10-11-2024, 06:55 AM
        0 responses
        15 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 10-02-2024, 04:51 AM
        0 responses
        112 views
        0 likes
        Last Post seqadmin  
        Working...
        X