Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • serenaliao
    Member
    • Jan 2013
    • 22

    #1

    Question about sam output of Bismark

    I am wondering if anyone has ever encountered similar problem. I used the latest version of Bismark for my data(pair end 100bp). After a closer look at the output sam file, I found there are some reads which is pretty short like this:
    MWR-PRG-0014:95: D1HU8ACXX:6:1101:1417:2210_1:N:0:GCCAAT/1 115 chr5 75301330 255 100M = 75301318 -112 CAACCAAACAAAATACAACTATAAACTAAACTCTACCCATAAAACGCCTATTTACAAACTCCGTCCCCTAACCTAAAAAAACTAAAAAACCATTTCAAAC #B?@ACCBCDCB@AAADDC>>:
    C@CCDA@:C:?>5BACCC=933CEBEEEEEE?HC=(A6DGGEEGIHEDBHCCFIIIIIGIHDC1EA4FHHDDD?D?;@ NM:i:23 XX:Z:2G14G2G1G1G2GG5G6GG6G3G7T7G4GGGG5GGGG10G2
    XM:Z:..x..............x..x.h.h..xh.....x......hh..Z...x...h........X......x....xhhh.....xhhh..........x.. XR:Z:CT XG:Z:G
    A
    MWR-PRG-0014:95: D1HU8ACXX:6:1101:1417:2210_1:N:0:GCCAAT/2 179 chr5 75301318 255 100M = 75301330 -112 TCCCTCTCTCTACAACCAAACAAAATACAACTATAAACTAAACTCTACCCATAAAACGCCTATTTACAAACTCCGTCCCCTAACCTAAAAAAACTAAAAA @C@FFFDFHHFDHEEGIIGIJJ
    JJJ<FGICFGJJIIGJIJJGJ@HIIIJJGGGIJEIBEHHIIIJIHEEEHHDFFFEACDD?CDDDDCD3@BDBDCC>CC NM:i:23 XX:Z:5T8G14G2G1G1G2GG5G6GG6G3G7T7G4GGGG5GGGG1-XM:Z:..............x..............x..x.h.h..xh.....x......hh..Z...x...h........X......x....xhhh.....xhhh. XR:Z:GA XG:Z:GA

    which start at 75301318 and end at 75301330 at chromosome 5. (This is for Mmusculus mm9).
    But if if get the exact sequence with mm9 by library BSgenome in R:

    getSeq(Mmusculus, names= "chr5", start=75301318, end=75301330,as.character=TRUE)
    [1] "TCCCTTTCTCTAC"

    It seems it doesn't overlap with any bases in the read, then why is that map to the position.

    Anyone knows the answer? I am curious to know. Thanks!
  • fkrueger
    Senior Member
    • Sep 2009
    • 627

    #2
    If I am not mistaken then the first mapping position in SAM format is the position where the read starts, and the second one is where the second read starts and not where it ends. Does that make sense?

    Comment

    • serenaliao
      Member
      • Jan 2013
      • 22

      #3
      Originally posted by fkrueger View Post
      If I am not mistaken then the first mapping position in SAM format is the position where the read starts, and the second one is where the second read starts and not where it ends. Does that make sense?
      Ok, so in that case, the sequence between the two start position should still be mapped back to the sequence in the sam file right?

      Comment

      • fkrueger
        Senior Member
        • Sep 2009
        • 627

        #4
        Yes it should, but looking at the 12bp you posted they do agree. You have to keep in mind that Sam format always displays the sequence as the forward stand and your read seems to align to the reverse stand.

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
          by SEQadmin2



          Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

          Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
          ...
          10-14-2026, 09:55 AM
        • SEQadmin2
          New Genomics Technologies Take Aim at Long-Standing Limits
          by SEQadmin2


          Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

          We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
          ...
          09-28-2026, 10:25 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 10-15-2026, 10:52 AM
        0 responses
        23 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-14-2026, 05:39 AM
        0 responses
        27 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-13-2026, 09:56 AM
        0 responses
        24 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-09-2026, 11:14 AM
        0 responses
        28 views
        0 reactions
        Last Post SEQadmin2  
        Working...