Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • rebrendi
    ng
    • May 2008
    • 78

    Paired-end Solexa data mapping wit Bowtie

    Hello,

    I am mapping paired-end reads from two files per lane, with the following Bowtie command line:

    ./bowtie -t -v 2 -p 8 -m 1 --solexa-quals mm9 -1 filename1.fastq -2 filename2.fastq outputfilename.map

    The program processed 200 million reads in 9 hours, but as a result only about 1% of them mapped. (I expect ~80% reads to be mapped for this experiment). It is very time-consuming to play with the Bowtie parameters for such large files, so I ask for your help.

    Any ideas what goes wrong?

    Thank you!
  • Bukowski
    Senior Member
    • Jan 2010
    • 388

    #2
    If only 1% map, then I'm sure taking the first 100,000 reads would give you plenty of sample data with which to tune your parameters without running the entire dataset through.

    Comment

    • rebrendi
      ng
      • May 2008
      • 78

      #3
      Still can't get them mapped. It's a good idea to use truncated files. I created test files with just 1000 first reads from the two paired-end files. Now I can play with Bowtie parameters.

      The question is which parameters should I change? I already tried changing --fr/--rf/--ff, no help. What are the other possible options?
      Last edited by rebrendi; 11-09-2011, 06:16 AM.

      Comment

      • ERG
        Junior Member
        • Sep 2011
        • 1

        #4
        I'm not sure of the reason why this has worked for me, but try switching the sequence in which you order the fastq files. So basically you'd put "-1 filename2.fastq -2 filename1.fastq"

        Good luck!

        Comment

        • rebrendi
          ng
          • May 2008
          • 78

          #5
          Originally posted by ERG View Post
          I'm not sure of the reason why this has worked for me, but try switching the sequence in which you order the fastq files. So basically you'd put "-1 filename2.fastq -2 filename1.fastq"

          Good luck!
          I tried this, no help

          Comment

          • kmcarr
            Senior Member
            • May 2008
            • 1181

            #6
            Originally posted by rebrendi View Post
            Hello,

            I am mapping paired-end reads from two files per lane, with the following Bowtie command line:

            ./bowtie -t -v 2 -p 8 -m 1 --solexa-quals mm9 -1 filename1.fastq -2 filename2.fastq outputfilename.map

            The program processed 200 million reads in 9 hours, but as a result only about 1% of them mapped. (I expect ~80% reads to be mapped for this experiment). It is very time-consuming to play with the Bowtie parameters for such large files, so I ask for your help.

            Any ideas what goes wrong?

            Thank you!
            "--solexa-quals" indicates the reads have Q-scores encoded from a version of the GA Pipeline prior to 1.3. This version is ancient (in NGS terms), are you sure about this? (Though this may be irrelevant since you are aligning in -v mode which nominally ignores Q-scores.)

            Increase -m to something > 1.

            Comment

            • cjp
              Member
              • Jun 2011
              • 58

              #7
              Can you map them as single end? Also try setting a larger value for -X depending on the insert size of the library.

              -X/--maxins <int> maximum insert size for paired-end alignment (default: 250)

              Chris

              Comment

              • fkrueger
                Senior Member
                • Sep 2009
                • 627

                #8
                It is probably indeed a matter of using the wrong quality settings and/or the -X paramter. The alignment summary in the end will tell you whether most reads got removed by the -m 1 parameter, but reducing alignments to 1% seems rather unrealistic.

                Another reason for this behavior might be processing the paired-end files with adapter/quality trimmers which remove sequences altogether. Sequence files need to be of the exact same length (same number of lines) and sequences need to correspond perfectly to each other in file 1 and file 2. Otherwise you might just try to align sequences from anywhere in the genome as sequence pairs and only a tiny subset will produce valid alignments.

                Comment

                • rebrendi
                  ng
                  • May 2008
                  • 78

                  #9
                  Originally posted by kmcarr View Post
                  "--solexa-quals" indicates the reads have Q-scores encoded from a version of the GA Pipeline prior to 1.3. This version is ancient (in NGS terms), are you sure about this? (Though this may be irrelevant since you are aligning in -v mode which nominally ignores Q-scores.)

                  Increase -m to something > 1.
                  I tried mapping without "--solexa-quals". The same result
                  I tried Increase -m to 3 and to 10, This increased the number of mapped reads to 2% and 4% correspondingly. Still not too much help.

                  Comment

                  • rebrendi
                    ng
                    • May 2008
                    • 78

                    #10
                    Originally posted by cjp View Post
                    Can you map them as single end? Also try setting a larger value for -X depending on the insert size of the library.

                    -X/--maxins <int> maximum insert size for paired-end alignment (default: 250)

                    Chris
                    I tried changing -X/--maxins <int> , The same result.
                    I tried mapping the two files independently in the single-read mode: 75% and 71% mapped for each of the file. So the data seems OK, but the paired-end mapping still does not work.

                    Comment

                    • rebrendi
                      ng
                      • May 2008
                      • 78

                      #11
                      Originally posted by fkrueger View Post
                      Another reason for this behavior might be processing the paired-end files with adapter/quality trimmers which remove sequences altogether. Sequence files need to be of the exact same length (same number of lines) and sequences need to correspond perfectly to each other in file 1 and file 2. Otherwise you might just try to align sequences from anywhere in the genome as sequence pairs and only a tiny subset will produce valid alignments.
                      I have checked: the two files have exactly the same length.

                      Comment

                      • fkrueger
                        Senior Member
                        • Sep 2009
                        • 627

                        #12
                        Could you post the first say 20 lines of each file? Do the reads have similar names or belong to the same cluster?

                        Comment

                        • cjp
                          Member
                          • Jun 2011
                          • 58

                          #13
                          Did you try other aligners such as BWA or Bowtie2. They are much better at pairing reads. Bowtie2 is easy to run and pretty quick too, but you'll need to reindex your genome.

                          example command:

                          bowtie2 -x /path/to/ref/hg19 -X 650 -p4 -1 r1.fq -2 r2.fq -S r12.bowtie2.sam

                          Chris

                          Comment

                          • rebrendi
                            ng
                            • May 2008
                            • 78

                            #14
                            Originally posted by fkrueger View Post
                            Could you post the first say 20 lines of each file? Do the reads have similar names or belong to the same cluster?
                            Here are the first 4 lines of the first file:

                            @HWI-ST841:93099JACXX:8:1101:1134:1866 1:N:0:
                            NGGTAAGTGAGAAAATCCCCCAAAGGAGACCAAGACNCTGTTTCCTGATGC
                            +
                            #1:ABBDDFCBDBEHHHHIGIIGEGEECFFGEC?BH#00B?D?BDFFEHG>
                            @HWI-ST841:93099JACXX:8:1101:1117:1870 1:N:0:
                            NGACGCTGAGAGTTGTCATGCCTCGGTGNNNNNNNNNNNNNNNNNNNTGGC
                            +
                            #4:BBBDD?DDD+A@EIEIIIIIEFI;E#######################
                            @HWI-ST841:93099JACXX:8:1101:1196:1879 1:N:0:
                            NGAAGGTCAACTTGATCCTGATTCAACTTTGGTACCTGGTATCTGTCCAGA
                            +
                            #1=DFFFFHHHHHJIJJJJJJJJJIJJJJJJJIIJJJJJJIIIJJJJJJHI
                            @HWI-ST841:93099JACXX:8:1101:1236:1882 1:N:0:
                            NGGCAGGCAAGCTAACTGCTGCTGTGATGTTCAAGGCATGTGTTACCCATC
                            Here are the first 4 lines of the second file:
                            @HWI-ST841:93099JACXX:8:1101:1134:1866 2:N:0:
                            AGCATCTGCGTCTCTGTTACTATTTTTCAGAATGAGGGAGGAATGGGATGG
                            +
                            @@@FDDADH?D<<CF+<A,A4,:AFHG########################
                            @HWI-ST841:93099JACXX:8:1101:1117:1870 2:N:0:
                            AAGGGAGGAAGGTGTGTCACCAGCCTAAGTGAATGTGGACTGTGCTGTTTA
                            +
                            @?@FFBDDFFFHFHHIJBHIIGIDGH3:C?DGHDGGGIGEHGHGDGGFHG@
                            @HWI-ST841:93099JACXX:8:1101:1196:1879 2:N:0:
                            AGATCCTGAAGAAATCCAAAACACCATCAGATCCTTCTACAAAAGGCTATA
                            +
                            CCCFFFFFHHHHGJJJJJJJJJJJJJJJJJIJJJJJJJJJIJJIIIJJJJI
                            @HWI-ST841:93099JACXX:8:1101:1236:1882 2:N:0:
                            AGGAGGAAGAAAGATTATAAAAGCTTTACAAAAGGTTCCGCCGTTGGAAGC

                            Comment

                            • rebrendi
                              ng
                              • May 2008
                              • 78

                              #15
                              Originally posted by cjp View Post
                              Did you try other aligners such as BWA or Bowtie2.
                              I tried Eland, there were also the same problems. I did not try BWA or Bowtie2.

                              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
                              27 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-09-2026, 10:04 AM
                              0 responses
                              37 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-08-2026, 10:08 AM
                              0 responses
                              24 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...