<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_gafvals(self, line):
 """Convert fields from string to preferred format for GAF ver 2.1 and 2.0."""

        flds = line.split('\t')

        flds[3] = self._get_qualifier(flds[3])  # 3  Qualifier
        flds[5] = self._get_set(flds[5])     # 5  DB_Reference
        flds[7] = self._get_set(flds[7])     # 7  With_From
        flds[8] = self.aspect2ns[flds[8]]    # 8 GAF Aspect field converted to BP, MF, or CC
        flds[9] = self._get_set(flds[9])     # 9  DB_Name
        flds[10] = self._get_set(flds[10])   # 10 DB_Synonym
        flds[12] = self._do_taxons(flds[12])  # 12 Taxon
        flds[13] = GET_DATE_YYYYMMDD(flds[13]) # self.strptime(flds[13], '%Y%m%d').date(),  # 13 Date   20190406

        # Version 2.x has these additional fields not found in v1.0
        if self.is_long:
            flds[15] = get_extensions(flds[15])  # Extensions (or Annotation_Extension)
            flds[16] = self._get_set(flds[16].rstrip())
        else:
            flds[14] = self._get_set(flds[14].rstrip())
        return flds