Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chenyao
    Member
    • Jul 2011
    • 74

    #1

    meaning of every column of accepted_hit.bam from tophat

    Dear all,

    I got the results accepted_hit.bam from tophat:

    SRR039211RIP-seq2.1012865 0 chr1 3040608 255 36M * 0 0 TCTTCTTCTTCTTCTCTATCTCCCTGTAACCCCCTC IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII NM:i:0 NH:i:1
    SRR039211RIP-seq2.1976722 0 chr1 3043067 255 36M * 0 0 GCCCCCCATTTGGTTATTAGGAGGAGGTCCCCCCAG IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII NM:i:2 NH:i:1

    ----
    what's the meaning of every colum
  • iansealy
    Member
    • Oct 2010
    • 15

    #2
    http://samtools.sourceforge.net/SAM1.pdf should help.

    Cheers,
    Ian

    Comment

    • chenyao
      Member
      • Jul 2011
      • 74

      #3
      Originally posted by iansealy View Post
      Thank you. Another question, I don't find the count of read number in this file.

      Comment

      • thurisaz
        Member
        • Jun 2011
        • 24

        #4
        Each line represents an aligned read. Samtools can provide a summary of the file, but if you've allowed multiple alignments in tophat that will be a count of the number of alignments, rather than the number of unique reads aligned. To get the latter, you can use unix tools like awk, sort, uniq, wc...
        Last edited by thurisaz; 08-03-2011, 03:44 AM.

        Comment

        • DZhang
          Senior Member
          • Jun 2010
          • 177

          #5
          samtools view provides a read count function and you can specify MAPQ value. I believe the options are -c (count the reads) and -q INT (MAPQ value, choose 1 for "unique" reads.

          Comment

          • chenyao
            Member
            • Jul 2011
            • 74

            #6
            Originally posted by DZhang View Post
            samtools view provides a read count function and you can specify MAPQ value. I believe the options are -c (count the reads) and -q INT (MAPQ value, choose 1 for "unique" reads.
            Dear Zhang,

            I think the samtools view -c is cout the reads, for example, if an alignment may be given multiple times if it is overlapping several regions. But I want to now the reads number or you can call it the copy number of reads, and I don't see this in the output from Tophat.

            Comment

            • DZhang
              Senior Member
              • Jun 2010
              • 177

              #7
              Hi Chenyao,

              Do you want to know how many times a particular read sequence is present in the data? If that's the case, you may use FastQC or any data QC program to get the information. I believe FastQC does not sample every reads but a small portion of them to give you a sense of duplication. If you know perl, it should take a few minutes to write up a script to count that.

              Comment

              • chenyao
                Member
                • Jul 2011
                • 74

                #8
                Originally posted by DZhang View Post
                Hi Chenyao,

                Do you want to know how many times a particular read sequence is present in the data? If that's the case, you may use FastQC or any data QC program to get the information. I believe FastQC does not sample every reads but a small portion of them to give you a sense of duplication. If you know perl, it should take a few minutes to write up a script to count that.
                Yes, that's what I mean. I am confused, if the output of tophat didn't contain this information, how can we use the accept_hit.bam to calculate the RPKM or FPKM value.
                I may get wrong about the RNA-seq. I thought I didn't want to find duplication. I want to know the number of some transcript. So if some transcript were transcripted many times, which I think is quite often, then a particular read from this transcript should have large numbers. Suppose read A was only mapped to gene B and gene B only has this only read. If there are 200 read A, so roughly, not normalized, the expression of gene B is 200. That's what we get expression value from RNA-seq, isn't it?

                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-15-2026, 10:52 AM
                0 responses
                22 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 10-14-2026, 05:39 AM
                0 responses
                27 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 10-13-2026, 09:56 AM
                0 responses
                22 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 10-09-2026, 11:14 AM
                0 responses
                28 views
                0 reactions
                Last Post SEQadmin2  
                Working...