Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • mhmckm
    Junior Member
    • Aug 2009
    • 1

    parallelizing MAQ & BWA

    I'm a guy who involved in Bio-informatics.
    Theses days, we have a lot of intesests in genome sequencing
    and consider some mapping programs, especially MAQ & BWA.

    We are trying to run MAQ & BWA in parallel way,
    having a some questions.

    1. How to divide & distribute the data?
    We have two possible options for this.
    - divide the reads.
    - divide the reference. (1 chromosome per machine)
    For example, ABi Corona recommends us to divide the genome.
    What is the option MAQ & BWA recommend?

    2. Does MAQ processs color-space data efficiently?
    We cannnot find any text about how to process CS data with MAQ.
    Could you give us some tutorial about processing CS data?

    We are looking forward to your valuable advice.
  • nilshomer
    Nils Homer
    • Nov 2008
    • 1283

    #2
    Originally posted by mhmckm View Post
    I'm a guy who involved in Bio-informatics.
    Theses days, we have a lot of intesests in genome sequencing
    and consider some mapping programs, especially MAQ & BWA.

    We are trying to run MAQ & BWA in parallel way,
    having a some questions.

    1. How to divide & distribute the data?
    We have two possible options for this.
    - divide the reads.
    - divide the reference. (1 chromosome per machine)
    For example, ABi Corona recommends us to divide the genome.
    What is the option MAQ & BWA recommend?
    Divide the reads definitely. With each slide of a SOLiD machine generating 200M-500M of paired end reads this is a must. As for the reference (say human), given enough memory (~4Gb), for BWA and MAQ, you do not need to divide the reference. Other programs you may need to given RAM requirements (please let me know your RAM availability).

    2. Does MAQ processs color-space data efficiently?
    We cannnot find any text about how to process CS data with MAQ.
    Could you give us some tutorial about processing CS data?

    We are looking forward to your valuable advice.
    MAQ and BWA are written by the same author, so they work similarly. BWA can find small indels (1-3bp) whereas MAQ cannot. Both are meant for low-error data (<%2 error rates) and so you may to either tune them for intrinsic higher error-rate SOLiD data (use the -n option), which will dramatically reduce the running times. For longer indels and higher sensitivity, consider BFAST, which is admittedly my own software.

    What genomes do you plan to sequence (human)?

    Comment

    • henry
      Member
      • Sep 2009
      • 36

      #3
      Originally posted by mhmckm View Post
      I'm a guy who involved in Bio-informatics.
      Theses days, we have a lot of intesests in genome sequencing
      and consider some mapping programs, especially MAQ & BWA.

      We are trying to run MAQ & BWA in parallel way,
      having a some questions.

      1. How to divide & distribute the data?
      We have two possible options for this.
      - divide the reads.
      - divide the reference. (1 chromosome per machine)
      For example, ABi Corona recommends us to divide the genome.
      What is the option MAQ & BWA recommend?

      2. Does MAQ processs color-space data efficiently?
      We cannnot find any text about how to process CS data with MAQ.
      Could you give us some tutorial about processing CS data?

      We are looking forward to your valuable advice.
      divide reads, after mapping to the reference, MAQ can merge diferent bach of reads together.

      As for the second question, I'm also searching for open source tools that can be applied to process ABI Solid data. BFAST may deserve a try, if you concern about higher sensitivity.

      Best

      Comment

      • dawe
        Senior Member
        • Apr 2009
        • 258

        #4
        Originally posted by mhmckm View Post
        We are trying to run MAQ & BWA in parallel way,
        having a some questions.

        1. How to divide & distribute the data?
        We have two possible options for this.
        - divide the reads.
        - divide the reference. (1 chromosome per machine)
        For example, ABi Corona recommends us to divide the genome.
        What is the option MAQ & BWA recommend?
        Hi, if you are using BWA and speed is your concern you may try to align with the "-t" option, which enables multithread analysis (i.e. you don't need to split the data).
        About splitting the data... One should ask to the algorithm developer to understand how it scales on the size of the genome and on the size of the input (and length of reads...). Suppose it scales O(log(n)) with the genome and O(n) with the input, I think you should split the data, but in the end you will test both, just to see what's better (and results may differ for differently sized genomes...).
        On the other side, splitting the genome in a "persistent" way is less flexible, as you will need always a certain machine for a certain chromosome (unless you don't split each time).
        HTH
        d

        Comment

        • henry
          Member
          • Sep 2009
          • 36

          #5
          btw, I also used ABI corona lite. to my experience, it's a disaster. it is not a good tool. it should be worst option, for your consideration,

          Comment

          • der_eiskern
            Member
            • Jul 2009
            • 46

            #6
            i get the impression that corona lite and maq can map the same amount of sequence for you usually but maq is easier to use. there are differences in the # of reads mapped independently to a given location though. i still haven't figured out how corona lite really works compared to bfast and maq.

            changing -n with maq .map function doesn't affect the total % mappable sequence on the data that i've ran when colorspace is used.

            Comment

            • jperin
              Member
              • Feb 2009
              • 10

              #7
              I'm sure you've found a solution by now, but we split fastq files using either maq's built in tool for doing this, which makes it quite easy to split your reads, or by simply executing the split command in linux and creating batch jobs for bwa. With BWA its also nice to use the -t multi threading option. I tend to stick to about 2 million reads per input. Splitting the reference is not a good idea, and may result in somewhat inaccurate results IMO. Merging the results its also quite easy. In MAQ you can do this automatically with merge, with BWA it's best to use samtools to merge your results once you've sorted your bam file.

              Comment

              • KevinLam
                Senior Member
                • Nov 2009
                • 204

                #8
                I have a question as well. admittedly its more bwa related.
                for bwa
                how does the -t (multithread) option differ from splitting the reads fasta itself and running on a single core?
                i.e. should i
                a) split reads into 20 and run bwa as a single thread in a PBS cluster
                or
                b) split reads into 5 nodes and run bwa as -t 4 in the same PBS cluster
                http://kevin-gattaca.blogspot.com/

                Comment

                • jperin
                  Member
                  • Feb 2009
                  • 10

                  #9
                  I've found that a combination of both works best. Split -t #cores on your node, and split your input reads in about 2million reads per file chunks, more if you have plenty of memory.

                  Comment

                  • KevinLam
                    Senior Member
                    • Nov 2009
                    • 204

                    #10
                    Originally posted by jperin View Post
                    I've found that a combination of both works best. Split -t #cores on your node, and split your input reads in about 2million reads per file chunks, more if you have plenty of memory.
                    ic.
                    if I have 2 GB ram per core is that enough for 2 million reads?
                    http://kevin-gattaca.blogspot.com/

                    Comment

                    • jperin
                      Member
                      • Feb 2009
                      • 10

                      #11
                      yes, but i probably wouldn't thread more than 2-4 on a node with 2GB.

                      Comment

                      • geschickten
                        Member
                        • Jul 2009
                        • 31

                        #12
                        Well all I can say is if you want to use MAQ on many cores or on a cluster ( built using commodity machines) then please try our version at http://www.geschickten.com/PaCGeE.html

                        Your suggestions and feedback are always appreciated. Thank you.

                        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.
                          ...
                          Today, 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...
                          Yesterday, 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, Today, 10:04 AM
                        0 responses
                        7 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, Yesterday, 10:08 AM
                        0 responses
                        6 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 07-07-2026, 11:05 AM
                        0 responses
                        9 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 07-02-2026, 11:08 AM
                        0 responses
                        31 views
                        0 reactions
                        Last Post SEQadmin2  
                        Working...