code: def object_clean(self):
          
          for sample in self.metadata:
              try:
                  delattr(sample[self.analysistype], 'aaidentity')
                  delattr(sample[self.analysistype], 'aaalign')
                  delattr(sample[self.analysistype], 'aaindex')
                  delattr(sample[self.analysistype], 'ntalign')
                  delattr(sample[self.analysistype], 'ntindex')
                  delattr(sample[self.analysistype], 'dnaseq')
                  delattr(sample[self.analysistype], 'blastresults')
              except AttributeError:
                  pass
docs: Remove large attributes from the metadata objects