I did run kraken2 and I get two kinds of output How do I generate OTU table from these outputs for phyloseq usage?
1 Answer
$\begingroup$
$\endgroup$
2
You need to run Bracken to the Kraken2 report output to estimate abundance.
-
1$\begingroup$ I have multiple text file as output, and text file contains data like 2 column format with thousands of rows. from these type of outputs how do I generate OTU table $\endgroup$– twinkleCommented Nov 15, 2020 at 14:24
-
1$\begingroup$ you will use the
--report
option output from Kraken2 like the input of Bracken for an abundance quantification of your samples. E.g.kraken2 --db ${KRAKEN_DB} --report ${SAMPLE}.kreport ${SAMPLE}.fq > ${SAMPLE}.kraken
where${SAMPLE}.kreport
will be your input for Bracken. $\endgroup$– zorbaxCommented Nov 16, 2020 at 11:43