def _process_all_summary_view(self, limit):
        """
        Here, we get the allele definitions: id, label, description, type
        We also add the id to this source's global idhash for lookup later

        <alleleid> a OWL:NamedIndividual
            rdf:label "allele symbol"
            dc:description "long allele name"

        :param limit:
        :return:

        """
        if self.test_mode:
            graph = self.testgraph
        else:
            graph = self.graph
        model = Model(graph)
        line_counter = 0
        raw = '/'.join((self.rawdir, 'all_summary_view'))
        LOG.info(
            "alleles with labels and descriptions from all_summary_view")
        with open(raw, 'r') as f:
            col_count = f.readline().count('\t')  # read the header row; skip
            # head -1 workspace/build-mgi-ttl/dipper/raw/mgi/all_summary_view|\
            # tr '\t' '\n' | grep -n . | \
            # awk -F':' '{col=$1;$1="";print $0,",\t  #" col}'
            for line in f:
                line = line.rstrip("\n")
                line_counter += 1
                cols = line.count('\t')
                # bail if the row is malformed
                if cols != col_count:
                    LOG.warning('Expected ' + str(col_count) + ' columns.')
                    LOG.warning('Received ' + str(cols) + ' columns.')
                    LOG.warning(line.format())
                    continue
                # no stray tab in the description column
                (object_key, preferred, mgiid, description,
                 short_description) = line.split('\t')
                # NOTE: May want to filter alleles based on the preferred field
                # (preferred = 1) or will get duplicates
                # (24288, to be exact...
                # Reduced to 480 if filtered on preferred = 1)

                if self.test_mode is True:
                    if int(object_key) not in self.test_keys.get('allele'):
                        continue

                # we are setting the allele type to None,
                # so that we can add the type later
                # since we don't actually know
                # if it's a reference or altered allele
                altype = None  # temporary; we'll assign the type later

                # If we want to filter on preferred:
                if preferred == '1':
                    # add the allele key to the hash for later lookup
                    self.idhash['allele'][object_key] = mgiid
                    # TODO consider not adding the individuals in this one
                    model.addIndividualToGraph(
                        mgiid, short_description.strip(),
                        altype, description.strip())
                    self.label_hash[mgiid] = short_description.strip()

                # TODO deal with non-preferreds, are these deprecated?

                if not self.test_mode and limit is not None and line_counter > limit:
                    break

        return
Here, we get the allele definitions: id, label, description, type
        We also add the id to this source's global idhash for lookup later

        <alleleid> a OWL:NamedIndividual
            rdf:label "allele symbol"
            dc:description "long allele name"

        :param limit:
        :return: