I think it is essential to view the various conflicts spanning from North Africa to Afghanistan as a series of interrelated struggles given that the various combatants are essentially allied to a greater or lesser extent.
From West to East;-
Libya - Assorted groups, 'governments' and militias supported variously by IS, AQ, Saudi, Turkey, Qatar, Egypt, the US, EU, Algeria, Tunisia & Morocco
Mali - Loosely tied to Libyan conflict, this involves IS, AQ, Libyan factions, France, the EU, C