Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • analog900
    Member
    • Oct 2014
    • 13

    #1

    Newbie question regarding mapping of RNA-seq data

    Hi all,
    I'm stuck with a total newbie problem here. I'm analyzing RNA-seq data from mouse, I mapped the (paired-end) sequences using TopHat against mm9 (using bowtie1) but when I look at the SAM output files, the hits list chromosomes as map targets, when instead I'm interested in gene IDs. I'm assuming I missed something trivial?
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Since you did the mapping against genome you need to summarize the alignments using a program like featureCounts or HTSeq-count along with an annotation file that will translate the alignments you have into counts per gene/exon (any features included in the annotation file).

    You could have also provided that annotation file to TopHat (when you ran it) if you only wanted to look at the transcriptome (instead of the whole genome).

    Comment

    • dpryan
      Devon Ryan
      • Jul 2011
      • 3478

      #3
      That's what should happen. Your next step is to get counts of aligned fragments per gene, for which you can use featureCounts or htseq-count. Both of those expect exactly what you have as input.

      Edit: Genomax beat me by a minute. I should note that mapping against the transcriptome with tophat still produces alignments in genomic coordinates.

      Comment

      • analog900
        Member
        • Oct 2014
        • 13

        #4
        Thanks guys!! Appreciate it! I'll give it a try.
        Thanks again!

        Comment

        • analog900
          Member
          • Oct 2014
          • 13

          #5
          Using featureCounts gives me nice summary and counts text files. However, my SAM and BAM files still contain the original, genomic, annotations (obviously). Ideally, I would like to convert the annotations in the BAM/SAM files so that I can further process them.

          This leads me to a more broader question: what reference (for mouse rna-seq) do people use when they want gene_ids instead of genomic targets?. I noticed that reference files such as mRNA.fa or refMrna.fa only contain accession numbers, but not gene ids.
          Thanks in advance

          Comment

          • Brian Bushnell
            Super Moderator
            • Jan 2014
            • 2709

            #6
            Gene IDs, names, and numbers vary depending on the database in question. You can either get a translation table, or try find a fasta file already named with the identifiers you want to use.

            Comment

            • GenoMax
              Senior Member
              • Feb 2008
              • 7142

              #7
              Originally posted by analog900 View Post
              Using featureCounts gives me nice summary and counts text files. However, my SAM and BAM files still contain the original, genomic, annotations (obviously). Ideally, I would like to convert the annotations in the BAM/SAM files so that I can further process them.
              What is "further processing" referring to here? Most downstream analysis is going to use the counts files (unless you are going to call SNPs from this data) and will always refer to the gene names contained in that file.

              Comment

              • analog900
                Member
                • Oct 2014
                • 13

                #8
                Originally posted by GenoMax View Post
                What is "further processing" referring to here? Most downstream analysis is going to use the counts files (unless you are going to call SNPs from this data) and will always refer to the gene names contained in that file.
                I've been loosely following the "simple fool's guide for rna seq" by the group of Stephen Palumbi (http://sfg.stanford.edu/guide.html). They parse their SAM output files with a series of python scripts to obtain similar summary statistics like the ones I can now get with featureCounts. Then, they use DESeq for functional enrichment (which I would really like to do in order to compare my different samples).

                Comment

                • dpryan
                  Devon Ryan
                  • Jul 2011
                  • 3478

                  #9
                  I would recommend ignoring that guide. If you want to use DESeq (use DESeq2), just directly use the counts from featureCounts. This would be the standard and accepted pipeline and there's no reason to use any kludgy scripts.

                  Comment

                  • analog900
                    Member
                    • Oct 2014
                    • 13

                    #10
                    Originally posted by dpryan View Post
                    I would recommend ignoring that guide. If you want to use DESeq (use DESeq2), just directly use the counts from featureCounts. This would be the standard and accepted pipeline and there's no reason to use any kludgy scripts.
                    Thank you. Really appreciate it! Can you recommend any other standard/accepted pipelines downstream of featureCounts?

                    Comment

                    • shi
                      Wei Shi
                      • Feb 2010
                      • 236

                      #11
                      We use limma/voom and edgeR in downstream analyses to discover differentially expressed genes. The link below is a short tutorial for using our pipeline for analyzing RNA-seq data which you might find helpful:

                      Comment

                      • Michael Love
                        Senior Member
                        • Jul 2013
                        • 333

                        #12
                        for DESeq2 you would use the DESeqDataSetFromMatrix function to start the analysis, using the counts matrix returned by featureCounts. Example of starting from count matrix is in the DESeq2 vignette.

                        Comment

                        • analog900
                          Member
                          • Oct 2014
                          • 13

                          #13
                          Thanks so much guys!
                          Working through the DESeq2 vignette now and learning new stuff... really excited!
                          Thanks again!

                          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
                          27 views
                          0 reactions
                          Last Post SEQadmin2  
                          Started by SEQadmin2, 10-22-2026, 10:48 AM
                          0 responses
                          20 views
                          0 reactions
                          Last Post SEQadmin2  
                          Started by SEQadmin2, 10-15-2026, 10:52 AM
                          0 responses
                          36 views
                          0 reactions
                          Last Post SEQadmin2  
                          Started by SEQadmin2, 10-14-2026, 05:39 AM
                          0 responses
                          43 views
                          0 reactions
                          Last Post SEQadmin2  
                          Working...