# .bowtie2out.txt file interpretation

**URL:** https://forum.biobakery.org/t/bowtie2out-txt-file-interpretation/3508
**Category:** MetaPhlAn
**Created:** [April 27, 2022, 7:12pm UTC](https://forum.biobakery.org/t/bowtie2out-txt-file-interpretation/3508 "2022-04-27T19:12:37Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jlhaller](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/jlhaller/32/1287_2.png) [@jlhaller](https://forum.biobakery.org/u/jlhaller)
#### Post date: [April 27, 2022, 7:12pm UTC](https://forum.biobakery.org/t/bowtie2out-txt-file-interpretation/3508/1 "2022-04-27T19:12:37Z")

</div>

Hello,

I am trying to find the number of alignments my data has done. I am reading the .bowtie2out.txt and I just want clarification over what each column means. I know that each row is an alignment, but within the row, does it contain the number of times that marker had an alignment? If so, which column is that?

Here is a screenshot of part of my output:

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/biobakery/original/2X/e/e755555be7ac531aeeedc49be4470580b9efbc97.png)

Thank you so much!

Jen

---

<div class="post-metadata">

### Author: ![aitor.blancomiguez](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/aitor.blancomiguez/32/86_2.png) [@aitor.blancomiguez](https://forum.biobakery.org/u/aitor.blancomiguez)
#### Post date: [May 18, 2022, 2:22pm UTC](https://forum.biobakery.org/t/bowtie2out-txt-file-interpretation/3508/2 "2022-05-18T14:22:57Z")

</div>

Hi @jlhaller ,  
Thanks for getting in touch. The bowtie2out file contains, for each row, the name of the read (first element) and the marker in the MetaPhlAn database that read mapped against (second element). If you are interested in the alignment, you can keep the SAM file that Bowtie2 will produce using the parameter `-s` / `--samout`

---

<div class="post-metadata">

### Author: ![jlhaller](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/jlhaller/32/1287_2.png) [@jlhaller](https://forum.biobakery.org/u/jlhaller)
#### Post date: [May 19, 2022, 10:48am UTC](https://forum.biobakery.org/t/bowtie2out-txt-file-interpretation/3508/3 "2022-05-19T10:48:41Z")

</div>

Awesome! Thank you so much!
