Unconfigured Ad

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

    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
          Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
          by SEQadmin2



          Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
          ...
          07-09-2026, 11:10 AM
        • SEQadmin2
          Cancer Drug Resistance: The Lingering Barrier to Rising Survival
          by SEQadmin2



          Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

          There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
          07-08-2026, 05:17 AM
        • GATTACAT
          Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
          by GATTACAT
          Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
          07-01-2026, 11:43 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 07-13-2026, 10:26 AM
        0 responses
        26 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-09-2026, 10:04 AM
        0 responses
        36 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-08-2026, 10:08 AM
        0 responses
        23 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-07-2026, 11:05 AM
        0 responses
        34 views
        0 reactions
        Last Post SEQadmin2  
        Working...