Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • uniquely mapped reads

    Hi,

    Is there anyway to report ONLY uniquely mapped reads in bowtie sam output?

  • #2
    Salut Carmen,

    The method will depend on the version of bowtie you are using.

    Are you using bowtie1 or bowtie2 ?

    Mathieu

    Comment


    • #3
      My previous reply is inappropriate.

      I posted a way to filter out multiple alignments from a SAM file, there : http://seqanswers.com/forums/showpos...45&postcount=6

      Hope this will solve your problem,
      Mathieu

      Comment


      • #4
        OK Mathieu,
        I will try your way

        Thanks for your replay

        Comment


        • #5
          Dear Mathieu,
          I used the grep command for the XS tag but in the sam output of bowtie-0.12.7 (the version I used) there isn't this tag

          Any other suggestion??

          Carmen

          Comment


          • #6
            Well, it seems that my initial question (version of bowtie) was in the end appropriate.

            In bowtie1, there is an option to report uniquely mapped reads only. From the bowtie1 manual :

            -m <int>

            Suppress all alignments for a particular read or pair if more than <int> reportable alignments exist for it. Reportable alignments are those that would be reported given the -n, -v, -l, -e, -k, -a, --best, and --strata options. Default: no limit. Bowtie is designed to be very fast for small -m but bowtie can become significantly slower for larger values of -m. If you would like to use Bowtie for larger values of -k, consider building an index with a denser suffix-array sample, i.e. specify a smaller -o/--offrate when invoking bowtie-build for the relevant index (see the Performance tuning section for details).
            Using -m 1 should fill your needs.

            Mathieu

            Comment


            • #7
              I have already used the option -m 1
              with this option the uniquely mapped reads are reported as number in the final report but in the final sam output file there are all the reads
              I'm interested in a file in which are reported only the uniquely mapped reads

              Carmen

              Comment


              • #8
                I would then switch to bowtie2 and use the method mentioned above.

                Mathieu

                Comment


                • #9
                  I will try two strategies
                  alignment with bowtie2
                  extraction of uniquely mapped reads from modified sam file with R

                  Carmen

                  Comment

                  Latest Articles

                  Collapse

                  • seqadmin
                    Recent Advances in Sequencing Analysis Tools
                    by seqadmin


                    The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
                    05-06-2024, 07:48 AM
                  • seqadmin
                    Essential Discoveries and Tools in Epitranscriptomics
                    by seqadmin




                    The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
                    04-22-2024, 07:01 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by seqadmin, Today, 06:35 AM
                  0 responses
                  12 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, Yesterday, 02:46 PM
                  0 responses
                  18 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 05-07-2024, 06:57 AM
                  0 responses
                  17 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 05-06-2024, 07:17 AM
                  0 responses
                  18 views
                  0 likes
                  Last Post seqadmin  
                  Working...
                  X