Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • kevlim83
    Junior Member
    • Jan 2010
    • 9

    Bowtie output format

    Hi,

    I am currently working on aligning paired-end short reads to a reference transcriptome. I am quite puzzled by the output which I am receiving from bowtie.

    Currently the bowtie manual specifies that the 7th column of the output gives us the "number of other possible alignments that can be found on the reference as it was with the current alignment".

    The following is a sample output from bowtie, i used the command -a to output all possible alignments (i am displaying only columns 1,3,7):
    HWUSI-EAS645:1:1:4:2033#0/2 | NM_001317 | 5
    HWUSI-EAS645:1:1:4:2033#0/1 | NM_001317 | 5
    HWUSI-EAS645:1:1:4:2033#0/2 | NM_022640 | 5
    HWUSI-EAS645:1:1:4:2033#0/1 | NM_022640 | 5
    HWUSI-EAS645:1:1:4:2033#0/2 | NM_020991 | 5
    HWUSI-EAS645:1:1:4:2033#0/1 | NM_020991 | 5
    HWUSI-EAS645:1:1:4:2033#0/2 | NM_022644 | 5
    HWUSI-EAS645:1:1:4:2033#0/1 | NM_022644 | 5
    HWUSI-EAS645:1:1:4:2033#0/2 | NM_022579 | 1
    HWUSI-EAS645:1:1:4:2033#0/1 | NM_022579 | 1
    Please note this is paired-end alignment, so every two row represents the same alignment.

    Look at the 7th column (3rd column in this case), the first line says we have 5 other similar alignments but there are only 4 other alignments from the same read and the last read says there is one other alignment, but where? Shouldn't bowtie print all other possible alignments with the -a command?

    Does anyone know how to interpret this data?

    Please help.

    Thank you,
    Kevin
  • Ben Langmead
    Senior Member
    • Sep 2008
    • 200

    #2
    Originally posted by kevlim83 View Post
    Currently the bowtie manual specifies that the 7th column of the output gives us the "number of other possible alignments that can be found on the reference as it was with the current alignment".
    Hi Kevin,

    This is my fault for not updating the 7th-column description with the paired-end case - sorry.

    For paired-end alignments, one mate is the "anchor" and the other is discovered by scanning within the window dictated by -I and -X. For the *anchor* mate, the 7th column is exactly as it would be for the unpaired case - it's the # of other possible alignments for that mate having the same set of edits. For the other mate, the number reported is equal to the number for the anchor mate.

    Thanks,
    Ben

    Comment

    • kevlim83
      Junior Member
      • Jan 2010
      • 9

      #3
      Originally posted by Ben Langmead View Post
      Hi Kevin,

      This is my fault for not updating the 7th-column description with the paired-end case - sorry.

      For paired-end alignments, one mate is the "anchor" and the other is discovered by scanning within the window dictated by -I and -X. For the *anchor* mate, the 7th column is exactly as it would be for the unpaired case - it's the # of other possible alignments for that mate having the same set of edits. For the other mate, the number reported is equal to the number for the anchor mate.

      Thanks,
      Ben
      Hi Ben,

      Thanks for the prompt reply.

      According to what you say, we should look at the output by considering the "anchor". So column 7 tells us how many other alignments with the same edits. I can understand this fairly well.

      However, I think I need to rephrase my question to clarify my doubts. Please refer to the sample output in my previous post. Let us assume rows 1,3,5,7,9 represent the "anchor" pair. Then the 7th col says for rows 1,3,5 and 7, they each have 5 other possible alignments. And using the -a option, I hope to recover all of these alignments. I am assuming that rows 3,5 and 7 are the "other possible alignments" for row 1, since they have similar mismatches. But lets count them, "rows 3,5,7" only make up 3 other alignment, which makes me wonder where did the other two go? Similarly, for row 9, col 7 tells us there is one other alignment but it is not reported. Shouldn't all possible alignments be reported using the -a option? But it seems like it is not happening here. Have I specified the parameters wrongly?

      Please help.

      Thanks,
      Kevin

      Comment

      • Ben Langmead
        Senior Member
        • Sep 2008
        • 200

        #4
        Hi Kevin,

        Not all anchors lead to alignments, so the behavior you see is expected.

        Hope that helps,
        Ben

        Comment

        • kevlim83
          Junior Member
          • Jan 2010
          • 9

          #5
          Originally posted by Ben Langmead View Post
          Hi Kevin,

          Not all anchors lead to alignments, so the behavior you see is expected.

          Hope that helps,
          Ben
          Hi Ben,

          Oh, yes. I didnt think of that. Yes, it answered my question.

          Thanks very much.

          Kevin

          Comment

          • kevlim83
            Junior Member
            • Jan 2010
            • 9

            #6
            Just one more question though, is it possible to force bowtie to ignore the counts which cannot be align in the "mate" pair?

            For example, in our example, rows 1-7 will display 3 in col7 and rows 7-9 will display 0 in col7.

            Regards,
            Kevin

            Comment

            Latest Articles

            Collapse

            • GATTACAT
              Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
              by GATTACAT
              Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
              07-01-2026, 11:43 AM
            • SEQadmin2
              Nine Things a Sample Prep Scientist Thinks About Before Sequencing
              by SEQadmin2


              I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

              Here are nine questions we think about, in roughly the order they matter, before...
              06-18-2026, 07:11 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 07-02-2026, 11:08 AM
            0 responses
            25 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-30-2026, 05:37 AM
            0 responses
            23 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-26-2026, 11:10 AM
            0 responses
            23 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-17-2026, 06:09 AM
            0 responses
            55 views
            0 reactions
            Last Post SEQadmin2  
            Working...