A CRISPR-based genome-wide loss-of-function screen defines a role of host metabolism in regulating hepatitis B virus infection.