Announcement

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

  • building a consensus FASTA from BAM(s)

    Building a FASTA consensus sequence from a single BAM file is straightforward. However, if I had several BAM files representing a number of genomes in a population, and I wanted to build a single consensus of all of these BAM files, would I simply get the consensus of all the reads in all the BAMs for each position?

    Also, how are positions where equal numbers of reads support a different base resolved?
    Last edited by adaptivegenome; 11-30-2011, 03:31 PM. Reason: typo

  • #2
    Hi adaptivegenome. Could you help me out with building a consensus FASTA from a single BAM file? Thank you.

    Comment


    • #3
      Or anyone else.. Thanks!

      Comment


      • #4
        see http://samtools.sourceforge.net/mpileup.shtml

        Code:
        samtools mpileup -uf ref.fa aln.bam | bcftools view -cg - | vcfutils.pl vcf2fq > cns.fq

        Comment

        Latest Articles

        Collapse

        • seqadmin
          Advanced Methods for the Detection of Infectious Disease
          by seqadmin




          The recent pandemic caused worldwide health, economic, and social disruptions with its reverberations still felt today. A key takeaway from this event is the need for accurate and accessible tools for detecting and tracking infectious diseases. Timely identification is essential for early intervention, managing outbreaks, and preventing their spread. This article reviews several valuable tools employed in the detection and surveillance of infectious diseases.
          ...
          11-27-2023, 01:15 PM
        • seqadmin
          Strategies for Investigating the Microbiome
          by seqadmin




          Microbiome research has led to the discovery of important connections to human and environmental health. Sequencing has become a core investigational tool in microbiome research, a subject that we covered during a recent webinar. Our expert speakers shared a number of advancements including improved experimental workflows, research involving transmission dynamics, and invaluable analysis resources. This article recaps their informative presentations, offering insights...
          11-09-2023, 07:02 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, Yesterday, 02:24 PM
        0 responses
        11 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, Yesterday, 07:37 AM
        0 responses
        21 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 12-04-2023, 08:23 AM
        0 responses
        8 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 12-01-2023, 09:55 AM
        0 responses
        24 views
        0 likes
        Last Post seqadmin  
        Working...
        X