DNA viruses use DNA for their genome . Single-stranded DNA is usually expanded to double-stranded in infected cells . Although Group VII viruses such as hepatitis B contain a DNA genome , they are not considered DNA viruses according to the Baltimore classification , but rather reverse transcribing viruses because they replicate through an RNA intermediate .