# How to understand the output file?

**URL:** <https://forum.biobakery.org/t/how-to-understand-the-output-file/186>\
**Category:** KneadData\
**Created:** [February 5, 2020, 2:51pm UTC](https://forum.biobakery.org/t/how-to-understand-the-output-file/186 "2020-02-05T14:51:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mukil](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/mukil/32/345_2.png) [@mukil](https://forum.biobakery.org/u/mukil)\
**Post date:** [February 5, 2020, 2:51pm UTC](https://forum.biobakery.org/t/how-to-understand-the-output-file/186/1 "2020-02-05T14:51:01Z")

</div>

![Output_file](https://canada1.discourse-cdn.com/flex027/uploads/biobakery/original/1X/75e89fe6cdf8bdf6beef5867840b1eb3b9fc7143.jpeg)

---

<div class="post-metadata">

**Author:** ![lauren.j.mciver](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@lauren.j.mciver](https://forum.biobakery.org/u/lauren.j.mciver)\
**Post date:** [April 7, 2020, 9:37pm UTC](https://forum.biobakery.org/t/how-to-understand-the-output-file/186/2 "2020-04-07T21:37:16Z")

</div>

Hello, The first file in your list is the final fastq output file (after qc and decontamination filtering). The second file is the contaminate reads found when using the demo\_db bowtie2 database. The third file is the log of all kneaddata steps including read counts for each qc task. The final file in your list are the reads after running through trimmomatic. For more information on the output files please see the kneaddata user manual: [http://huttenhower.sph.harvard.edu/kneaddata](http://huttenhower.sph.harvard.edu/kneaddata) .

Thank you,  
Lauren

---

<div class="post-metadata">

**Author:** ![mukil](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/mukil/32/345_2.png) [@mukil](https://forum.biobakery.org/u/mukil)\
**Post date:** [April 16, 2020, 9:50am UTC](https://forum.biobakery.org/t/how-to-understand-the-output-file/186/3 "2020-04-16T09:50:41Z")

</div>

Dear Lauren, Thanks for your reply and its working really good. Actually I am using shotgun seq (PE reads), I did a trail run using this script (kneaddata --input /Users/mukilkavi/Desktop/Metaseq/fq1/bg01b\_350.raw.fq1.gz --input /Users/mukilkavi/Desktop/Metaseq/fq2/bg01b\_350.raw.fq2.gz --reference-db /Users/mukilkavi/Desktop/kneaddata-0.7.3/hg37dec\_v0.1.1.bt2 --trimmomatic /Users/mukilkavi/Desktop/kneaddata-0.7.3/Trimmomatic-0.39 --output trail)  
and it worked well but instead of running each samples I would like to assign the script to find all samples (entire folder) in --input1 & 2… Could you please help me to write the script for running all samples at once.

Thanks in advance  
Regards  
Mukil

---

<div class="post-metadata">

**Author:** ![lauren.j.mciver](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@lauren.j.mciver](https://forum.biobakery.org/u/lauren.j.mciver)\
**Post date:** [April 16, 2020, 3:03pm UTC](https://forum.biobakery.org/t/how-to-understand-the-output-file/186/4 "2020-04-16T15:03:32Z")

</div>

Hi Mukil, I am glad to hear it is working well. The easiest method to run all samples in a folder through kneaddata is to use biobakery workflows. You would only need to install the base workflows package and you can specify all of your samples with a single input folder.

Thanks,  
Lauren

---

<div class="post-metadata">

**Author:** ![mukil](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/mukil/32/345_2.png) [@mukil](https://forum.biobakery.org/u/mukil)\
**Post date:** [April 16, 2020, 3:29pm UTC](https://forum.biobakery.org/t/how-to-understand-the-output-file/186/5 "2020-04-16T15:29:02Z")

</div>

Dear Lauren  
Thanks for your prompt response. Is this link ([https://bitbucket.org/biobakery/biobakery\_workflows/wiki/Home](https://bitbucket.org/biobakery/biobakery_workflows/wiki/Home)) for the biobakery workflows?

Regards  
Mukil

---

<div class="post-metadata">

**Author:** ![lauren.j.mciver](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@lauren.j.mciver](https://forum.biobakery.org/u/lauren.j.mciver)\
**Post date:** [April 16, 2020, 6:38pm UTC](https://forum.biobakery.org/t/how-to-understand-the-output-file/186/6 "2020-04-16T18:38:39Z")

</div>

Hi Mukil, Yes we also have the repo in github. We are migrating all our repos from bitbucket to gihub.

Thanks,  
Lauren
