Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • akramdi
    replied
    Originally posted by fkrueger View Post
    Hi Amira,

    For C in CpG context you need to use only the Cs methylated and unmethylated in CpG context, and not all Cs found in total. So here it would be:

    Total methylated C's in CpG context = (43871230/106252080)*100 = 29.2%.

    Cheers, Felix
    Thank you for the quick reply!

    Okay, so it's relative to the context. In your illustration, I think you meant:

    Total methylated C's in CpG context = (43871230/ (106252080+ 43871230) )*100 = 29.2%.

    Thanks again,
    Amira

    Leave a comment:


  • fkrueger
    replied
    Hi Amira,

    For C in CpG context you need to use only the Cs methylated and unmethylated in CpG context, and not all Cs found in total. So here it would be:

    Total methylated C's in CpG context = (43871230/106252080)*100 = 29.2%.

    Cheers, Felix

    Leave a comment:


  • akramdi
    replied
    Hi Felix,

    I have recently started using Bismark. While going through the detailed log, I could not get the same pourcentages of methylated cytosines (before and after extraction) as the one shown in the report. Here's my cytosine methylation report before extraction to illustrate:

    Final Cytosine Methylation Report
    =================================
    Total number of C's analysed: 928829076

    Total methylated C's in CpG context: 43871230
    Total methylated C's in CHG context: 16835845
    Total methylated C's in CHH context: 25330412
    Total methylated C's in Unknown context: 58

    Total unmethylated C's in CpG context: 106252080
    Total unmethylated C's in CHG context: 136818631
    Total unmethylated C's in CHH context: 599720878
    Total unmethylated C's in Unknown context: 408

    C methylated in CpG context: 29.2%
    C methylated in CHG context: 11.0%
    C methylated in CHH context: 4.1%
    C methylated in Unknown context (CN or CHN): 12.4%

    For me, Total methylated C's in CpG context = (43871230/928829076)*100 = 4.72% (in the report, I see 29.2%)

    What am I missing??

    Cheers,

    Amira

    Leave a comment:


  • fkrueger
    replied
    Originally posted by bbm View Post
    Hi Felix,

    I have four lanes of data for each biological sample. Should I add them together before trimming and Bismark? Or is it better to do the trimming and Bismark run on the individual lane of reads? Thanks.

    Regards,
    BBM
    For me personally merging them before mapping is the preferred way because this enables you to do the deduplication a single sample and it is just more convenient overall. If time is of the essence you could also align them separately and merge them before the deduplication, but that is really a matter of taste (also if you have paired-end sequences and use samtools merge for merging BAM files you need to make sure to use samtools sort -n before trying to deduplicate because samtools sort does not guarantee to keep mates together).

    Leave a comment:


  • bbm
    replied
    Hi Felix,

    I have four lanes of data for each biological sample. Should I add them together before trimming and Bismark? Or is it better to do the trimming and Bismark run on the individual lane of reads? Thanks.

    Regards,
    BBM

    Leave a comment:


  • fkrueger
    replied
    Originally posted by chxu02 View Post
    Hi Felix,
    I'm having a special need. I indexed each alignment in my BAM file as an extra column. Is it feasible to also print this information into the .txt file when I run bismark_methylation_extractor? Basically I want to know which alignment each cytosine is from, and group the cytosines from the same alignment together.

    Cheers,
    Youyou
    Hi Youyou. The methylation extractor output still has the read ID printed in each line, so at this stage it is still possible to tell which C came from which read. If you proceed to the bedGraph stage or beyond this information will be lost unfortunately.

    Leave a comment:


  • chxu02
    replied
    Hi Felix,
    I'm having a special need. I indexed each alignment in my BAM file as an extra column. Is it feasible to also print this information into the .txt file when I run bismark_methylation_extractor? Basically I want to know which alignment each cytosine is from, and group the cytosines from the same alignment together.

    Cheers,
    Youyou

    Leave a comment:


  • bbm
    replied
    Originally posted by fkrueger View Post
    Hmm, when you type:

    Code:
    /usr/local/apps/bowtie2/bowtie2-build
    on the command line you need to see the bowtie2 indexing options. Does that that happen? If not you need to supply the exact path to where the executable is...
    I see, let me try

    Leave a comment:


  • fkrueger
    replied
    Hmm, when you type:

    Code:
    /usr/local/apps/bowtie2/bowtie2-build
    on the command line you need to see the bowtie2 indexing options. Does that that happen? If not you need to supply the exact path to where the executable is...

    Leave a comment:


  • bbm
    replied
    I'm trying to do the genome conversion with this line:

    bismark_genome_preparation --bowtie2 --verbose /gpfs_share/hlibyar/hlibyar/genome_files/ --path_to_bowtie /usr/local/apps/bowtie2/



    "...
    Step II - Genome bisulfite conversions - completed


    Bismark Genome Preparation - Step III: Launching the Bowtie 2 indexer
    Please be aware that this process can - depending on genome size - take several hours!

    Preparing indexing of CT converted genome in /gpfs_share/hlibyar/hlibyar/genome_files/Bisulfite_Genome/CT_conversion/
    Parent process: Starting to index C->T converted genome with the following command:

    /usr/local/apps/bowtie2/bowtie2-build -f genome_mfa.CT_conversion.fa BS_CT

    Can't exec "/usr/local/apps/bowtie2/bowtie2-build": No such file or directory at /usr/local/apps/bismark/v0.14.5/bismark_genome_preparation line 163, <IN> line 3352281.
    Preparing indexing of GA converted genome in /gpfs_share/hlibyar/hlibyar/genome_files/Bisulfite_Genome/GA_conversion/
    Child process: Starting to index G->A converted genome with the following command:

    /usr/local/apps/bowtie2/bowtie2-build -f genome_mfa.GA_conversion.fa BS_GA

    (starting in 10 seconds)
    Can't exec "/usr/local/apps/bowtie2/bowtie2-build": No such file or directory at /usr/local/apps/bismark/v0.14.5/bismark_genome_preparation line 178, <IN> line 3352281."

    Is there sth wrong with my bowtie path?
    Thanks.

    Leave a comment:


  • VC87
    replied
    Hi!Can anyone explain to me the differences between bisulfite-seq, WGBS, RRBS and COBRA library reads?thanks in advance!

    Leave a comment:


  • fkrueger
    replied
    Right, I believe it is now fixed, the latest version can be downloaded here: https://github.com/FelixKrueger/Bismark/issues/18

    Leave a comment:


  • biocomputer
    replied
    I'm using 0.14.4:

    $ bismark2bedGraph --version


    Bismark Methylation Extractor Module -
    bismark2bedGraph

    Bismark Extractor Version: v0.14.4
    Copyright 2010-15 Felix Krueger, Babraham Bioinformatics

    Leave a comment:


  • fkrueger
    replied
    Originally posted by biocomputer View Post
    When I try to run bismark2bedGraph from a directory that doesn't directly contain the input file it fails to find the input file, even though I've specified the path to the input file. For example, if I'm in the directory that contains the input file and use this command it works properly (note that I've taken the output from the methylation extractor and split it by chromosome for batch processing but the same thing happens if I use the original unsplit file):



    If I move up a directory and run this command it doesn't work:



    The programs ends with:
    I have just been looking into this and can't reproduce the error. I then went back to the Release Notes and found this one for version 0.14.0:

    bismark2bedGraph: Fixed path handling for cases where the input files were given with path information and an output directory had been specified as well

    Did you by any chance run an older version than that?

    Leave a comment:


  • MagdalenaZ
    replied
    Hi,

    yep, when I benchmarked that code I get same results if I include the SE or not.

    I'm a bit keen to also use SE reads, as I after adapter trimming get improved mapping results, but some 3% of reads are after adapter trimming unpaired. I guess I could chuck them away, but I'll have a go with your suggestion:
    to merge them in bismark2bedGraph.

    Every little helps ..... :-)

    Many thanks for your rapid reply!

    Leave a comment:

Latest Articles

Collapse

  • 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, detection...
    Today, 06:46 AM
  • 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

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, 10-28-2026, 09:57 AM
0 responses
22 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-28-2026, 09:51 AM
0 responses
15 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 11:13 AM
0 responses
68 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 10:48 AM
0 responses
48 views
0 reactions
Last Post SEQadmin2  
Working...