Sentence:  Usually the manga comes first, though it may be an offshoot of a novel, and an <WSD>anime</WSD> may be inspired by a video game. 
Meaning of the word marked with <WSD> tags:  An animated work that originated in Japan, regardless of the artistic style.