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
                    Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
                    by SEQadmin2



                    CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

                    Despite this, “CRISPR helped turn genome editing from a specialized technique into
                    ...
                    07-31-2026, 11:01 AM
                  • SEQadmin2
                    Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                    by SEQadmin2


                    Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                    The systematic characterization of the human proteome has
                    ...
                    07-20-2026, 11:48 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by SEQadmin2, 08-06-2026, 07:41 AM
                  0 responses
                  23 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 08-03-2026, 10:13 AM
                  0 responses
                  37 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-31-2026, 02:55 AM
                  0 responses
                  43 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-24-2026, 12:17 PM
                  0 responses
                  26 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...