the action of determining the genetic constitution - or gene type - of an individual organism by sequencing the genetic code. In most cases a genotyping assay is performed in order to establish what the sequence is and what mutations are present, which may be associated with drug resistance.