# Kneaddata final pair1 : Total reads after merging results from multiple databases

**URL:** <https://forum.biobakery.org/t/kneaddata-final-pair1-total-reads-after-merging-results-from-multiple-databases/5793>\
**Category:** KneadData\
**Created:** [August 22, 2023, 9:11am UTC](https://forum.biobakery.org/t/kneaddata-final-pair1-total-reads-after-merging-results-from-multiple-databases/5793 "2023-08-22T09:11:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Banseok212](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/banseok212/32/2358_2.png) [@Banseok212](https://forum.biobakery.org/u/Banseok212)\
**Post date:** [August 22, 2023, 9:11am UTC](https://forum.biobakery.org/t/kneaddata-final-pair1-total-reads-after-merging-results-from-multiple-databases/5793/1 "2023-08-22T09:11:03Z")

</div>

Hi I have preprocessed rawdata with kneaddata for whole meta transcriptome analysis. After that, I browsed the log file to see the read counts at each step.

Here’s where I found something I don’t understand. The description of the resulting final pair file read “Total reads after merging results from multiple databases”.

Does this mean that only Reads that can be merged in the results from both databases have been sorted?

For example, in the table below, with 24801812 reads from the human mRNA DB and 840881 reads from the rRNA DB, would the overlapping read count be 840505?

Below are the files I identified and their read counts.:

| | FileName | ReadCount |
| --- | --- | --- |
| raw pair1 | Initial number of reads | 34378835 |
| trimmed pair1 | Total reads after trimming (meta\_test\_R1\_kneaddata.trimmed.1.fastq ) | 28814562 |
| decontaminated human\_hg38\_refMrna pair1 | Total reads after removing those found in reference database (meta\_test\_R1\_kneaddata\_human\_hg38\_refMrna\_bowtie2\_paired\_clean\_1.fastq ) | 24801812 |
| decontaminated SILVA\_128\_LSUParc\_SSUParc\_ribosomal\_RNA pair1 | Total reads after removing those found in reference database (meta\_test\_R1\_kneaddata\_SILVA\_128\_LSUParc\_SSUParc\_ribosomal\_RNA\_bowtie2\_paired\_clean\_1.fastq ) | 840881 |
| final pair1 | Total reads after merging results from multiple databases (meta\_test\_R1\_kneaddata\_paired\_1.fastq ) | 840505 |

I used a total of two databases, which are shown below:  
06/20/2023 02:23:37 PM - kneaddata.knead\_data - INFO: Running kneaddata v0.10.0  
06/20/2023 02:23:37 PM - kneaddata.knead\_data - INFO: Output files will be written to: /data/test/bstest/metatrans\_test/kneaddata  
06/20/2023 02:23:37 PM - kneaddata.knead\_data - DEBUG: Running with the following arguments:  
verbose = False  
input = /data/test/bstest/metatrans\_test/meta\_test\_R1.fastq.gz /data/test/bstest/metatrans\_test/meta\_test\_R2.fastq.gz  
output\_dir = /data/test/bstest/metatrans\_test/kneaddata  
reference\_db = /data/References/bowtie\_human\_transcriptome/human\_hg38\_refMrna /data/References/kneaddata\_db\_ribosomal\_RNA/SILVA\_128\_LSUParc\_SSUParc\_ribosomal\_RNA
