Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • staylor
    Member
    • Feb 2009
    • 17

    #1

    maq with no mismatches

    Hello,

    Is it possible to run maq to allow no mismatches in the alignment? I tried using -n but that doesn't seem to allow 0 as a value. I get the error:

    [ma_match] please use 1, 2 or 3 with option -n. Abort!

    Thanks for any help,

    Steve
  • Torst
    Senior Member
    • Apr 2008
    • 275

    #2
    I agree it is odd that maq fails with -n 0 but I guess that is the special case of an exact match which doesn't really need special software like maq.

    Standard substring matching will do this quite fast for you, you just have to remember to check the revcom strand as well.

    eg. substr() in C, substr() in Perl and so on.

    Comment

    • zee
      NGS specialist
      • Apr 2008
      • 249

      #3
      You could get good performance with novoalign with FASTQ reads as input:

      novolaign -f <reads.fastq | reads.fasta > -d <db> -t 10 > output.

      This would work on very long reads e.g. 50bp, 75bp ?

      You could then use the novo2maq (in www.novocraft.com distribution) to do convert to MAQ's .map format and then carry on as per usual with your analysis.

      Comment

      • staylor
        Member
        • Feb 2009
        • 17

        #4
        I will certainly install novoalign, looks interesting.

        In answer to Torst's response I need something that takes into account paired ends which would be a bit more involved if I wrote my own simple matcher...

        I'd still be interested to know in maq what would be sensible cut off values to filter the existing output to get an idea of ones that are unlikely to have mapped. perhaps based on mapping quality (col 7 of mapview) and/or number of 0-mismatch hits of the first 24bp (col 12 of mapview).

        Any ideas?

        Comment

        • zee
          NGS specialist
          • Apr 2008
          • 249

          #5
          I usually filter out alignments with MAQ mapping quality scores <= 10. Other criteria do come into play e.g. with paired-ends you might remove unpaired reads, incorrect orientation,etc.
          Novoalign does do paired-end in case you were wondering about this.

          Comment

          • bioinfosm
            Senior Member
            • Jan 2008
            • 483

            #6
            zee, probably not the best thread for this question.. what support would novoalign have for paired-end reads as regards Structural variant detection.

            I am having a hard time moving ahead with the MAQ SV results..
            --
            bioinfosm

            Comment

            • aadey
              Junior Member
              • Jan 2009
              • 1

              #7
              I was able to run Maq with 0 mis, however I believe this is only in the first 24 bases of the read. The way I have found works best for sorting it all out is just by filtering your output file from maq mapview by the total mismatches column to assure the stringency level you are going for.

              Comment

              • zee
                NGS specialist
                • Apr 2008
                • 249

                #8
                Bioinfosm,

                Maq has an SV detector although some of my collaborators have complained that it falls short in some ways.
                Remember that with `maq.pl sv` there is some SV detection.

                With novoalign, the tail end of the output file contains information on the fragment length distribution based on aligned pairs. I wrote a simple perl program to reformat the alignment output into BED format where each different call (long insert, delete, incorrect orientation,etc) was split into a different BED track.
                I can share this script.

                Comment

                • bioinfosm
                  Senior Member
                  • Jan 2008
                  • 483

                  #9
                  Thanks Zee!
                  --
                  bioinfosm

                  Comment

                  Latest Articles

                  Collapse

                  • 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
                  • SEQadmin2
                    New Genomics Technologies Take Aim at Long-Standing Limits
                    by SEQadmin2


                    Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                    We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                    ...
                    09-28-2026, 10:25 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by SEQadmin2, 10-22-2026, 11:13 AM
                  0 responses
                  42 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-22-2026, 10:48 AM
                  0 responses
                  32 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-15-2026, 10:52 AM
                  0 responses
                  44 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-14-2026, 05:39 AM
                  0 responses
                  45 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...