Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • masylichu
    Member
    • Oct 2010
    • 30

    #1

    bowtie -M

    I wanna map the small RNA reads to the reference C. elegans genome.

    for example:
    >test.fa
    GGGAATCCTGGATGTTGTAAGCTT

    which has 15 copies in the genome.


    BLAT Search Results

    ACTIONS QUERY SCORE START END QSIZE IDENTITY CHRO STRAND START END SPAN
    ---------------------------------------------------------------------------------------------------
    browser details YourSeq 24 1 24 24 100.0% V - 17115871 17115894 24
    browser details YourSeq 24 1 24 24 100.0% V - 17117831 17117854 24
    browser details YourSeq 24 1 24 24 100.0% V - 17118805 17118828 24
    browser details YourSeq 24 1 24 24 100.0% V + 17122985 17123008 24
    browser details YourSeq 24 1 24 24 100.0% V + 17123961 17123984 24
    browser details YourSeq 24 1 24 24 100.0% V + 17124937 17124960 24
    browser details YourSeq 24 1 24 24 100.0% V + 17125913 17125936 24
    browser details YourSeq 24 1 24 24 100.0% V + 17128469 17128492 24
    browser details YourSeq 24 1 24 24 100.0% V + 17129441 17129464 24
    browser details YourSeq 24 1 24 24 100.0% V + 17130427 17130450 24
    browser details YourSeq 24 1 24 24 100.0% V + 17131403 17131426 24
    browser details YourSeq 24 1 24 24 100.0% V + 17428943 17428966 24
    browser details YourSeq 24 1 24 24 100.0% V + 17122009 17122032 24
    browser details YourSeq 24 1 24 24 100.0% V + 17121033 17121056 24
    browser details YourSeq 24 1 24 24 100.0% V + 17120058 17120081 24

    i use the command line:
    Code:
    bowtie -t -v 0 ~/WormBase190/WS190/genome.ws190 -M 25 -f test.fa test_map
    M option means that but reports 1 random hit if no more than <int>.

    However, every times, i run the command, it always reports
    test - V 17118804 AAGCTTACAACATCCAGGATTCCC IIIIIIIIIIIIIIIIIIIIIIII 2

    Why, the M options doesnot report random-selected one hit ?
  • mgogol
    Senior Member
    • Mar 2008
    • 197

    #2
    It's not possible you're using bowtie 2, is it?

    Comment

    • sdriscoll
      I like code
      • Sep 2009
      • 436

      #3
      if you switch to -m and also use -a do you get all of the same alignment locations that BLAST reported?
      Last edited by sdriscoll; 04-30-2012, 01:28 PM.
      /* Shawn Driscoll, Gene Expression Laboratory, Pfaff
      Salk Institute for Biological Studies, La Jolla, CA, USA */

      Comment

      • sdriscoll
        I like code
        • Sep 2009
        • 436

        #4
        Wait...I've got it. Try using -M 1 instead of -M 25. The bowtie manual says that if the read can be aligned more than <int> times then one alignment can be reported at random. You say your sequence can align in 15 locations but you used -M 25 meaning the limit has not been reached to where it will report the single random alignment for that read. So if you had also specified -k 25 then you would probably see all 15 alignments of your sequence.
        /* Shawn Driscoll, Gene Expression Laboratory, Pfaff
        Salk Institute for Biological Studies, La Jolla, CA, USA */

        Comment

        • masylichu
          Member
          • Oct 2010
          • 30

          #5
          YES. so -a options should not be used under this condition.

          Comment

          • masylichu
            Member
            • Oct 2010
            • 30

            #6
            The bowite manual says "-M <int> like -m, but reports 1 random hit (MAPQ=0); requires --best "

            This is to say if the read align more than <int>, then it will suppress all the alignments.

            As what you said, -M 1 here will reports no alignment.

            Originally posted by sdriscoll View Post
            Wait...I've got it. Try using -M 1 instead of -M 25. The bowtie manual says that if the read can be aligned more than <int> times then one alignment can be reported at random. You say your sequence can align in 15 locations but you used -M 25 meaning the limit has not been reached to where it will report the single random alignment for that read. So if you had also specified -k 25 then you would probably see all 15 alignments of your sequence.

            Comment

            • masylichu
              Member
              • Oct 2010
              • 30

              #7
              Originally posted by mgogol View Post
              It's not possible you're using bowtie 2, is it?
              The bowtie2 is particularly good at aligning reads of about 50 up to 100s or 1,000s of characters. Here, i used bowtie to map the small reads.

              Comment

              • mgogol
                Senior Member
                • Mar 2008
                • 197

                #8
                I just asked, because the -M in bowtie 2 has a different meaning. I don't really know what's going on, sorry. You could try bwa?

                Comment

                • mgogol
                  Senior Member
                  • Mar 2008
                  • 197

                  #9
                  Oh, I just read this, I guess you need to set the seed differently to get a different read.

                  From the manual:
                  "This randomness flows from a simple seeded pseudo-random number generator and is deterministic in the sense that Bowtie will always produce the same results for the same read when run with the same initial "seed" value (see --seed option)."

                  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
                  • 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

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by SEQadmin2, Yesterday, 10:13 AM
                  0 responses
                  14 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-31-2026, 02:55 AM
                  0 responses
                  29 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-24-2026, 12:17 PM
                  0 responses
                  23 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-23-2026, 11:41 AM
                  0 responses
                  21 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...