Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • allele information from samtools mpileup contents

    Dear all,

    I need help with allele information from samtools mpileup contents

    I have the following workflow for diagnostics:

    samtools view -b whole_exome.sorted.bam chr2:12345678-32345678 > zoom_region.bam
    samtools mpileup -f ref.fa -B -q 1 -Q 30 -SD zoom_region.bam > info.mpileup.txt

    The subsequent info.mpileup.txt has information as described in


    Is there a script or automated method that can parse the allele info: #A, T, G, C .. from the mpileup / pileup information of the original bam file. I need to repeat this for many base positions, hence the need to automate it. Hope you can please help. Would appreciate any help / pointers.

    Thanks in advance,
    Best,
    sarosh

  • #2
    dear Sarosh,

    did you manage to get the per base ACGT count in any way?

    best,

    Dave

    Comment


    • #3
      Why not use bcftools to make a vcf, instead of a pileup file?

      Then if you want, filter the vcf with bedtools and a bedfile of your candidate regions.

      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...
        Yesterday, 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
      55 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      52 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 09:21 AM
      0 responses
      45 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-04-2024, 09:00 AM
      0 responses
      55 views
      0 likes
      Last Post seqadmin  
      Working...
      X