A 10-month-old infant was born to a mother with a known chronic hepatitis C virus infection. The pediatrician wants to determine the infant’s infection status, as maternal antibodies can complicate interpretation. Which of the following is the most reliable method for establishing a diagnosis of hepatitis C virus infection in this infant?