Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • 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!

  • #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


    • #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


      • #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

        • seqadmin
          Essential Discoveries and Tools in Epitranscriptomics
          by seqadmin




          The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
          Yesterday, 07:01 AM
        • seqadmin
          Current Approaches to Protein Sequencing
          by seqadmin


          Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
          04-04-2024, 04:25 PM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, 04-11-2024, 12:08 PM
        0 responses
        55 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 10:19 PM
        0 responses
        52 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 09:21 AM
        0 responses
        45 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-04-2024, 09:00 AM
        0 responses
        55 views
        0 likes
        Last Post seqadmin  
        Working...
        X