Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • fkrueger
    Senior Member
    • Sep 2009
    • 627

    #76
    Hi Zeam,

    you are right that Bismark doesn't dynamically trim reads at the moment, so you would have to run the sequence file through an appropriate trimmer prior to alignments.

    Best,
    Felix

    Comment

    • zee
      NGS specialist
      • Apr 2008
      • 249

      #77
      The bismark_to_SAM_v3.pl script appears to have a small bug where the negative strand alignments are off by 1 base. This can be rectified in the script by adding 1 to the "-" strand alignment start position.

      Comment

      • olivertam
        Member
        • Jun 2010
        • 22

        #78
        Hi Zee,

        Is this in the single-end or paired-end analysis?

        Cheers,
        Oliver

        Comment

        • zee
          NGS specialist
          • Apr 2008
          • 249

          #79
          Hi Oliver,

          We have picked it up in paired-end analysis. However we have seen the same bit of code in the single-end subroutine code so it will probably be the same thing because these are "GA" alignments.

          Z

          Comment

          • olivertam
            Member
            • Jun 2010
            • 22

            #80
            Hi Z,

            I made the changes. Could you test whether it works properly now?

            Thanks heaps for picking it up.

            Cheers,
            Oliver
            Attached Files

            Comment

            • zee
              NGS specialist
              • Apr 2008
              • 249

              #81
              Yep it works fine now. It would be good if you rather created a BAM file with a pipe to "samtools view -t <chr.sizes> -bS -" for space saving. Just a suggestion because I like working with BAM files that take less disk space.

              Comment

              • olivertam
                Member
                • Jun 2010
                • 22

                #82
                Hi Z,

                That's not a bad idea at all. I'll look into that.

                Thanks heaps.

                Cheers,
                Oliver

                Comment

                • zee
                  NGS specialist
                  • Apr 2008
                  • 249

                  #83
                  Hi Oliver,

                  Attached is a version we modified for our work with novoalign-novomethyl and bismark. We output an extra SAM tag ZB:Z:GA or ZB:Z:CT so that we're able to split these out later in our pipeline.
                  Attached Files

                  Comment

                  • fkrueger
                    Senior Member
                    • Sep 2009
                    • 627

                    #84
                    Hi Zee,

                    Would it be OK if I stuck your bismark2bam.pl script up on our website?

                    Felix

                    Comment

                    • zee
                      NGS specialist
                      • Apr 2008
                      • 249

                      #85
                      Sure thing it's open to anybody who wants to use it.

                      Comment

                      • zeam
                        Member
                        • Oct 2010
                        • 43

                        #86
                        Hey guys,
                        Recently ,I was using bismark to process my methyC-seq data, but the efficiency of mapping is not so good.And I know the species I work on is transposon rich which is greter than 60%.In most papers,their mapping efficiency is greater than 70%.But for my methylome data,it's about 40% for single end reads, and 68% for paired ends reads.

                        Does anyone have encounter the similar mapping problem?Or someone can give me some suggestions about the mapping strategy.Half of my reads are single end.

                        Comment

                        • fkrueger
                          Senior Member
                          • Sep 2009
                          • 627

                          #87
                          Hi Zeam,

                          could you give us a few more details about your actual experiment? A paired-end mapping efficiency of 68% for BS-Seq data sounds quite good to me, but 40% for SE is indeed a bit low.

                          What was the read length you used for the single end files, what were the mapping parameters and what did the QC of the FastQ files look like?

                          Also, Bismark should produce the stats:

                          Sequences with no alignments under any condition: 123
                          Sequences did not map uniquely: 73591

                          which should give you a feel whether sequences just fail to align (too many errors, residual adapter sequence or the like) or if they get rejected because they align in too many places (this could be indicative of a high repetitive element content). Another possibility could be that your genome of interest contains something like properly sequenced but unplaced scaffolds which could share a high sequence similarity to other chromosomes. These might also result in a high number of sequences being rejected due to non-unique mapping.

                          If you like you could send me the Bismark mapping report and the FastQC report (the zipped file) to take a look, maybe it tells us more.

                          Best,
                          Felix

                          Comment

                          • zeam
                            Member
                            • Oct 2010
                            • 43

                            #88
                            Report from bismark mapping

                            Hi Felix,
                            The two attachments are bismark mapping report for a PE and SE lane respectively,and the fastqC report will be emailed to you because of its file size.

                            The raw reads' length is 100bp base pair.And after trimmed by q 13,small propotion was less than 100 bp.

                            Thanks for replying!

                            Best wishes,
                            Zeam
                            Attached Files

                            Comment

                            • fkrueger
                              Senior Member
                              • Sep 2009
                              • 627

                              #89
                              Hi Zeam,

                              thanks for the attachments. By just briefly looking at the mapping report you seem to have 45 million alignments which got rejected because of ambiguous mappings. These mismappings do not only mean that the reads map somewhere else, but they map at least twice with the same number of lowest mismatches.

                              To me this looks like you are using a newly assembled plant genome that contains either a lot of smaller scaffolds that could not be placed into the main genome or something like an unmapped_chromosome. The only solution there is for such a problem is re-indexing your genome but removing very small scaffold first. We once had a similar problem with Chlamydomonas, and if I recall it correctly removing unplacable scaffolds worked like a charm.

                              A quick word about your mapping parameters. 100bp reads are really quite long for BS-Seq, using -n 2 -l 28 (which are the default settings) is tolerating quite a lot of errors. If I were you I would be much more stringent about the parameters, maybe even use something like -n 2 -l 70 or so, as sequencing errors can not only allow mismappings but will also lead to false methylation calls. Also with reads this long you are likely to read into the adapter on the other side, so you might want to use an adapter trimmer on the reads as well.

                              Please let me know if I can be of more help,

                              Best,
                              Felix

                              Comment

                              • fkrueger
                                Senior Member
                                • Sep 2009
                                • 627

                                #90
                                I would like to announce that Bismark v0.5.0 has been released today.


                                The 3 main modifications are:

                                - paired-end alignments should now be performed correctly irrespective of the sequence ID format in the FastQ file. This hopefully means that the new format which will be output by the Illumina Casava version 1.8 will no longer cause Bismark to stop.

                                - the alignment output will now also include extra column(s) for sequence basecall quality scores (both for single and paired-end data). This should facilitate filtering on qualities later on if desired.

                                - fixed a bug with paired-end alignments where alignments to the CTOT strand were accidentially assigned to the CTOB strand and vice versa.

                                All associated files can be obtained from:



                                I hope the modifications do not break too many downstream analysis scripts ... If you spot any flaws please let me know.

                                Best,
                                Felix

                                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
                                15 views
                                0 reactions
                                Last Post SEQadmin2  
                                Started by SEQadmin2, 07-09-2026, 10:04 AM
                                0 responses
                                29 views
                                0 reactions
                                Last Post SEQadmin2  
                                Started by SEQadmin2, 07-08-2026, 10:08 AM
                                0 responses
                                16 views
                                0 reactions
                                Last Post SEQadmin2  
                                Started by SEQadmin2, 07-07-2026, 11:05 AM
                                0 responses
                                33 views
                                0 reactions
                                Last Post SEQadmin2  
                                Working...