Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • batman
    Member
    • Sep 2009
    • 14

    #1

    How does picard determine reads that map to correct strand?

    Hi,

    I am curios to know how picards CollectRnaSeqMetrics tool determines the correct strand a read maps to. My guess is that it will look at the annotation supplied and determines the correctness of the strand based on that. Can anyone confirm?
  • ak352
    Junior Member
    • Sep 2013
    • 7

    #2
    According to http://picard.sourceforge.net/picard...#RnaSeqMetrics, the input is a SAM (Sequence Alignment Format) file.

    This file contains the annotation related to on which strand and on which location on the reference a read is mapped to.
    Refer to page 4 (0x10 bit of the flag field) of SAM format specification. I suppose the easiest way would be to just read this flag.
    Please answer my unsolved question - http://seqanswers.com/forums/showthread.php?t=33740

    Comment

    • batman
      Member
      • Sep 2009
      • 14

      #3
      Hi ak352,

      Thanks for the reply. But I think I should have rephrased the question. What I needed to know was how can CollectRnaSeqMatrics know the correct strand when it calculates the field INCORRECT_STRAND_READS. i.e. how does it know the specific strand the original read came from, say when doing unstranded rnaseq mapping?

      Comment

      • kmcarr
        Senior Member
        • May 2008
        • 1181

        #4
        Originally posted by batman View Post
        Hi ak352,

        Thanks for the reply. But I think I should have rephrased the question. What I needed to know was how can CollectRnaSeqMatrics know the correct strand when it calculates the field INCORRECT_STRAND_READS. i.e. how does it know the specific strand the original read came from, say when doing unstranded rnaseq mapping?
        The "(IN)CORRECT_STRAND_READS" is only meaningful and appropriate if your RNA-Seq library was prepared using a strand-specific method and you supplied the correct STRAND_SPECIFICITY parameter when running CollectRnaSeqMatrics.

        If your library was prepared with an non-strand-specific protocol then Picard CollectRnaSeqMatrics can't know whether a read is incorrectly mapped. If your reads are not from a strand-specific library you should specify "STRAND_SPECIFICITY=NONE" when running CollectRnaSeqMatrics and the output will report "0" for both "CORRECT_STRAND_READS" and "INCORRECT_STRAND_READS". See the Picard Metrics Definitions here.

        Comment

        • batman
          Member
          • Sep 2009
          • 14

          #5
          Thanks kmcarr,

          Assuming I correctly specify the STRAND_SPECIFICITY, then does picard verify the correctness of strands against the annotation provided in REF_FLAT option? My current thinking is that it is impossible to verify the correctness of strandedness of any region not in this annotation.

          Comment

          • kmcarr
            Senior Member
            • May 2008
            • 1181

            #6
            Originally posted by batman View Post
            Thanks kmcarr,

            Assuming I correctly specify the STRAND_SPECIFICITY, then does picard verify the correctness of strands against the annotation provided in REF_FLAT option? My current thinking is that it is impossible to verify the correctness of strandedness of any region not in this annotation.
            Sorry, I don't know what it does with reads not overlapping an annotated gene. You could query the developers or run some tests yourself using simulated data where the count of correctly, incorrectly and non-annotated alignments is known to see what the output looks like.

            Comment

            Latest Articles

            Collapse

            • kinpict.com
              Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
              by kinpict.com
              The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
              Today, 06:37 PM
            • SEQadmin2
              16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
              by SEQadmin2





              NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
              10-30-2026, 06:46 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 11-12-2026, 07:59 AM
            0 responses
            27 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 11-05-2026, 09:25 AM
            0 responses
            35 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 11-03-2026, 11:54 AM
            2 responses
            56 views
            0 reactions
            Last Post kinpict.com  
            Started by SEQadmin2, 10-28-2026, 09:57 AM
            0 responses
            175 views
            0 reactions
            Last Post SEQadmin2  
            Working...