Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vishwesh
    Member
    • Nov 2013
    • 39

    #1

    Alignment based on 1 mismatch.

    Hi
    I have a requirement where on aligning reads to reference the mapping is based only on one mismatch with the reference. I need a tool which can map the reads with the reference genome with max of one mismatch. Can some one suggest one.
    Thanks in advance.

    Regards
    Vishwesh
  • gringer
    David Eccles (gringer)
    • May 2011
    • 845

    #2
    Bowtie2 will do this fine in end-to-end mode. Just set the minimum score to -1 (--score-min C,-1,0) and maximum/minimum mismatch penalties to both -1 (--mp -1,-1).

    Comment

    • vishwesh
      Member
      • Nov 2013
      • 39

      #3
      Thanks David Eccles.. Is it possible to do this in bwa aln... if so what parameters should be given...

      Comment

      • gringer
        David Eccles (gringer)
        • May 2011
        • 845

        #4
        From the bwa manual it looks like the edit distance option is what you want (-n 1), coupled with zero extensions allowed (-o 0). I have no experience with BWA, so can only do my best to interpret the specifications.

        Comment

        • vishwesh
          Member
          • Nov 2013
          • 39

          #5
          Thanks David Eccles.. I am new to bowtie.. the options are bit confusing.. can you please help me the command.. The files I use are not paired ends..

          Comment

          • gringer
            David Eccles (gringer)
            • May 2011
            • 845

            #6
            What have you tried? Give me an example, together with the error message, and we'll be better able to solve this problem.

            Comment

            • vishwesh
              Member
              • Nov 2013
              • 39

              #7
              I tried this..
              bowtie -S all_other_rna -score-min C,-1,0 -mp -1,-1 /home/vishwesh/soft/TLL28_GTAGAG_L004_R1_001_c2.fastaq test.sam

              Comment

              • gringer
                David Eccles (gringer)
                • May 2011
                • 845

                #8
                please use bowtie2 for doing this:



                Options for bowtie are quite different from bowtie2.

                Comment

                • vishwesh
                  Member
                  • Nov 2013
                  • 39

                  #9
                  I tried using bowtie2..
                  here is the error i get..

                  Error: Encountered internal Bowtie 2 exception (#1)
                  Command: /data/apps/bowtie2-2.1.0/bin/bowtie2-align --wrapper basic-0 -S all_other_rna -score-min C,-1,0 -mp /home/vishwesh/soft/TLL28_GTAGAG_L004_R1_001_c2.fastaq test.sam
                  bowtie2-align exited with value 1

                  command is
                  bowtie2 -S all_other_rna -score-min C,-1,0 -mp -1,-1 /home/vishwesh/soft/TLL28_GTAGAG_L004_R1_001_c2.fastaq test.sam

                  let me know if anything is wrong in this command..

                  Comment

                  • gringer
                    David Eccles (gringer)
                    • May 2011
                    • 845

                    #10
                    your bowtie2 command should look something like this:
                    Code:
                    bowtie2 [options]* -x <bt2-idx> {-1 <m1> -2 <m2> | -U <r>} -S [<hit>]
                    [taken verbatim from the manual]

                    It looks like you haven't specified an index file on the command line, or the index is attached to the wrong arguments. Perhaps something like this would work better (assuming all_other_rna is your bowtie2 index generated with bowtie2-build):

                    Code:
                    bowtie2 --score-min C,-1,0 --mp -1,-1 -x all_other_rna -S /home/vishwesh/soft/TLL28_GTAGAG_L004_R1_001_c2.fastaq > test.sam

                    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-13-2026, 12:22 PM
                    0 responses
                    18 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 08-11-2026, 10:35 AM
                    0 responses
                    16 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 08-06-2026, 07:41 AM
                    0 responses
                    32 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 08-03-2026, 10:13 AM
                    0 responses
                    50 views
                    0 reactions
                    Last Post SEQadmin2  
                    Working...