# Phylophlan is running too slow when mapping DNA

**URL:** <https://forum.biobakery.org/t/phylophlan-is-running-too-slow-when-mapping-dna/4152>\
**Category:** PhyloPhlAn\
**Created:** [October 3, 2022, 6:20pm UTC](https://forum.biobakery.org/t/phylophlan-is-running-too-slow-when-mapping-dna/4152 "2022-10-03T18:20:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eperezv](https://avatars.discourse-cdn.com/v4/letter/e/db5fbb/32.png) [@eperezv](https://forum.biobakery.org/u/eperezv)\
**Post date:** [October 3, 2022, 6:20pm UTC](https://forum.biobakery.org/t/phylophlan-is-running-too-slow-when-mapping-dna/4152/1 "2022-10-03T18:20:19Z")

</div>

Hello,

I am interested in using phylophlan to construct a phylogeny of several genomes that belong to one genus (using all isolated genomes, MAGs and some reference genomes).

Phylophlan runs correctly using config from tutorial 05 (it gives bkp files), but the DNA mapping step is particularly slow. I am providing around 100 genomes, and using diversity medium, --fast flags and 24 cores on a modern AMD Threadripper workstation. So far, it only mapped ca. 15 genomes in 3.5 days. I was not expecting it to be that slow according to the documentation.

Do you think something could be wrong or something can be modified?

Thanks a lot

---

<div class="post-metadata">

**Author:** ![saras22](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@saras22](https://forum.biobakery.org/u/saras22)\
**Post date:** [October 10, 2022, 5:13am UTC](https://forum.biobakery.org/t/phylophlan-is-running-too-slow-when-mapping-dna/4152/2 "2022-10-10T05:13:35Z")

</div>

Hey, @eperezv I am facing the same issue. I have more than 2000 MAGs but it is taking a very long time in mapping the DNA.

Please do post if you modify something and it works out!

Thanks  
Saraswati

---

<div class="post-metadata">

**Author:** ![eperezv](https://avatars.discourse-cdn.com/v4/letter/e/db5fbb/32.png) [@eperezv](https://forum.biobakery.org/u/eperezv)\
**Post date:** [October 10, 2022, 8:37am UTC](https://forum.biobakery.org/t/phylophlan-is-running-too-slow-when-mapping-dna/4152/3 "2022-10-10T08:37:19Z")

</div>

Hello. Yes, I will post if I find some workaround.

---

<div class="post-metadata">

**Author:** ![f.asnicar](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/f.asnicar/32/196_2.png) [@f.asnicar](https://forum.biobakery.org/u/f.asnicar)\
**Post date:** [October 12, 2022, 10:55am UTC](https://forum.biobakery.org/t/phylophlan-is-running-too-slow-when-mapping-dna/4152/4 "2022-10-12T10:55:33Z")

</div>

Dear all, thank you for using PhyloPhlAn and reporting this.

I’m afraid I’m experiencing the same issue but this is a bit independent from PhyloPhlAn. In particular if the mapping step is carried out by `diamond`. It is very likely you have installed `diamond` version \>=2 and in comparison to the first version, it is much slower. However, this is likely due also to a bug present in the first version that was recently discovered, you can read more about this here: [Announcing HUMAnN 3.6 (Critical Update)](https://forum.biobakery.org/t/announcing-humann-3-6-critical-update/4155).

Apologies for not being more helpful in this case.

Many thanks,  
Francesco
