Genetic analysis of influenza virus