What happens

If a DNA sample is wanted from someone who is already incarcerated how is this handled? Shouldn’t all of this be taken care of in the facility they r in