# Strainphlan error

**URL:** <https://forum.biobakery.org/t/strainphlan-error/5876>\
**Category:** StrainPhlAn\
**Created:** [September 5, 2023, 8:54am UTC](https://forum.biobakery.org/t/strainphlan-error/5876 "2023-09-05T08:54:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![blair.merrick](https://avatars.discourse-cdn.com/v4/letter/b/e19b73/32.png) [@blair.merrick](https://forum.biobakery.org/u/blair.merrick)\
**Post date:** [September 5, 2023, 8:54am UTC](https://forum.biobakery.org/t/strainphlan-error/5876/1 "2023-09-05T08:54:30Z")

</div>

Hi,

Encountering an error when trying to run StrainPhlAn (v.4.0.6).  
Previously been able to run a few hundred markers through this, but now getting the following error:

Tue Sep 5 09:49:24 2023: Start StrainPhlAn 4.0.6 execution  
Tue Sep 5 09:49:24 2023: Creating temporary directory…  
Tue Sep 5 09:49:24 2023: Done.  
Tue Sep 5 09:49:24 2023: Filtering markers and samples…  
Tue Sep 5 09:49:24 2023: Getting markers from main samples…  
Tue Sep 5 09:49:26 2023: [Error] Parallel execution fails: invalid load key, ‘A’.Tue Sep 5 09:49:26 2023: Stop StrainPhlAn execution.

Files all in same folders as previously (when it ran ok).  
Tried running it on single core and multiple cores but no difference, and same error whatever the input db\_marker file is.

Any ideas what might be causing the issue?

Thanks in advance,  
Blair

---

<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:** [September 22, 2023, 2:27pm UTC](https://forum.biobakery.org/t/strainphlan-error/5876/2 "2023-09-22T14:27:33Z")

</div>

Hi @blair.merrick  
Could you paste the exact command you are using?

---

<div class="post-metadata">

**Author:** ![blair.merrick](https://avatars.discourse-cdn.com/v4/letter/b/e19b73/32.png) [@blair.merrick](https://forum.biobakery.org/u/blair.merrick)\
**Post date:** [September 29, 2023, 9:30am UTC](https://forum.biobakery.org/t/strainphlan-error/5876/3 "2023-09-29T09:30:47Z")

</div>

Hi @aitor.blancomiguez,

Thanks.

Issue seemed to be with a few of the .pkl files within the consensus\_markers folder - removing these allowed me to run the command again no problem.

I have noticed that in some of the .pkl file outputs, the list of consensus markers for each SGB does not entirely overlap with the MetaPhlAn output.

e.g. MetaPhlAn has binned into SGB4540\_group for Anerostipes hadrus, but consensus markers file for that sample has SGB102029.

Also noticed it for another SGB - SGB14535\_group (Collinsella aerofaciens).

Can’t find an example for a non “SGB\*\_group” - is it therefore just for these “groups”

Thanks,  
Blair

---

<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:** [October 6, 2023, 8:14am UTC](https://forum.biobakery.org/t/strainphlan-error/5876/4 "2023-10-06T08:14:07Z")

</div>

Hi @blair.merrick  
Could it be that some pkls were generated using the oct22 database and other with the jan21?

---

<div class="post-metadata">

**Author:** ![blair.merrick](https://avatars.discourse-cdn.com/v4/letter/b/e19b73/32.png) [@blair.merrick](https://forum.biobakery.org/u/blair.merrick)\
**Post date:** [October 6, 2023, 12:31pm UTC](https://forum.biobakery.org/t/strainphlan-error/5876/5 "2023-10-06T12:31:25Z")

</div>

Hi @aitor.blancomiguez,

All generated using Oct22 database.

BW  
Blair
