Announcement

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

  • How to get the median of read distribution in a genomic region?

    Hi,

    I have reads aligned on my genome and a file of genomic regions (peaks from peakcalling).
    I have reads falling into each regions according to a certain distribution and I would like to get the median of this distribution for each region, that is the genomic position corresponding to the median.

    Do you know if an existing tool can do this ? Or do you have an idea how to compute this?

    Thanks

  • #2
    There might be a specific tool. Aside from that, assuming you have your alignment in a BAM file then I see two methods.

    1. Use the BedTools package and in particular coverageBed.

    2. Use 'samtools depth' to get read depth along the reference. Put this into Excel or other spreadsheet program in order to do the median calculation.

    Comment


    • #3
      The GenomicRanges package in R/Bioconductor would be well suited to this as well.

      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, 12-05-2023, 02:24 PM
      0 responses
      17 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 12-05-2023, 07:37 AM
      0 responses
      26 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 12-04-2023, 08:23 AM
      0 responses
      12 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 12-01-2023, 09:55 AM
      0 responses
      26 views
      0 likes
      Last Post seqadmin  
      Working...
      X