Header Leaderboard Ad

Collapse

Single stranded coverage from sam/bam

Collapse

Announcement

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

  • Single stranded coverage from sam/bam

    Hi all,

    Does anyone know of a fast, handy way to calculate coverage of the forward and reverse strands in a genome independently?

    I have a (really hacky) script that works on my data but was hoping someone has a more elegant solution. At the moment, I've been sorting my sam file into a fwd.reads.sam and rev.reads.sam, converting to bam files and then using Aaron Quinlan's bedTools (which is fantastic), like so...

    genomeCoverageBed -d -ibam FWD.READS.EXAMPLE.bam -g MY_genome_file.txt > SINGLE_STRAND_COVERAGE.tsv`;

    Any hope there's a way to do this single strand coverage calculation directly on the bam files and avoid all the icky sorting I've been doing?

    Thanks!!!
    Lizzy

  • #2
    genomeCoverageBed has a "-strand" flag

    Comment


    • #3
      doh! missed that, thanks!!

      Comment

      Latest Articles

      Collapse

      • seqadmin
        How RNA-Seq is Transforming Cancer Studies
        by seqadmin



        Cancer research has been transformed through numerous molecular techniques, with RNA sequencing (RNA-seq) playing a crucial role in understanding the complexity of the disease. Maša Ivin, Ph.D., Scientific Writer at Lexogen, and Yvonne Goepel Ph.D., Product Manager at Lexogen, remarked that “The high-throughput nature of RNA-seq allows for rapid profiling and deep exploration of the transcriptome.” They emphasized its indispensable role in cancer research, aiding in biomarker...
        09-07-2023, 11:15 PM
      • seqadmin
        Methods for Investigating the Transcriptome
        by seqadmin




        Ribonucleic acid (RNA) represents a range of diverse molecules that play a crucial role in many cellular processes. From serving as a protein template to regulating genes, the complex processes involving RNA make it a focal point of study for many scientists. This article will spotlight various methods scientists have developed to investigate different RNA subtypes and the broader transcriptome.

        Whole Transcriptome RNA-seq
        Whole transcriptome sequencing...
        08-31-2023, 11:07 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Yesterday, 07:42 AM
      0 responses
      11 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 09-22-2023, 09:05 AM
      0 responses
      23 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 09-21-2023, 06:18 AM
      0 responses
      16 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 09-20-2023, 09:17 AM
      0 responses
      16 views
      0 likes
      Last Post seqadmin  
      Working...
      X