Linking ecosystem and parasite ecology