Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Count C versus read length

    Hi,

    I've had a good look through the bioinformatics thread but as far as I can see nobody has asked this question yet. I am using bisulphite sequencing in plants (CpG, CHG & CHH contexts).

    I need to compare different sequencing runs post bisulphite conversion to determine the reproducibility between runs and library preps of the same sample (technical reps). It has been suggested that one way to approach this is to compare the number of C's in a read against the read length post trimming. This can then be graphed and in theory the longer each read is the more C's will be present. If the technical reps are not biased then the trend should be the same for all reps.

    Does anyone have any suggestions of how to output from .fastq or .fasta the number Cs in a read and the read length into a tab-delimited file so it can then be graphed?

    Many thanks,

    Justin

  • #2
    It sounds like you're describing an "M-bias" graph, an example of which is below (this one has bias):


    If you create alignments with either bismark or bison you can make those sorts of graphs easily. With bison, it's the "bison_mbias -pdf something.bam" command, which requires that you have R and the ggplot2 package installed (otherwise, drop the "-pdf" part and it'll just output a tab-separated file that you can use for graphing). Similarly, bismark will produce them but I don't recall off-hand what the command is. I think bismark uses perl GD::Graph.

    There's also a recent paper in Bioinformatics on BSeqQC or something like that that can also produce M-bias graphs.

    I should not that these graphs aren't looking so much at reproducibility as variance in library setup (bisulfite conversion efficiency, etc.). If you really want to look at reproducibility, it would make more sense to directly compare the methylation calls and calculate how many of them are significantly different (it should by approximately whatever alpha level you use, so ~5% of sites for p<0.05 threshold).

    Comment

    Latest Articles

    Collapse

    • seqadmin
      Genetic Variation in Immunogenetics and Antibody Diversity
      by seqadmin



      The field of immunogenetics explores how genetic variations influence immune responses and susceptibility to disease. In a recent SEQanswers webinar, Oscar Rodriguez, Ph.D., Postdoctoral Researcher at the University of Louisville, and Ruben Martínez Barricarte, Ph.D., Assistant Professor of Medicine at Vanderbilt University, shared recent advancements in immunogenetics. This article discusses their research on genetic variation in antibody loci, antibody production processes,...
      11-06-2024, 07:24 PM
    • seqadmin
      Choosing Between NGS and qPCR
      by seqadmin



      Next-generation sequencing (NGS) and quantitative polymerase chain reaction (qPCR) are essential techniques for investigating the genome, transcriptome, and epigenome. In many cases, choosing the appropriate technique is straightforward, but in others, it can be more challenging to determine the most effective option. A simple distinction is that smaller, more focused projects are typically better suited for qPCR, while larger, more complex datasets benefit from NGS. However,...
      10-18-2024, 07:11 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, Today, 11:09 AM
    0 responses
    23 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, Today, 06:13 AM
    0 responses
    20 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 11-01-2024, 06:09 AM
    0 responses
    30 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 10-30-2024, 05:31 AM
    0 responses
    21 views
    0 likes
    Last Post seqadmin  
    Working...
    X