Create objects to store data and metadata for each sample. Also, perform necessary file manipulations

def objectprep(self):
        """Create objects to store data and metadata for each sample. Also, perform necessary file manipulations"""
        # Move the files to subfolders and create objects
        self.runmetadata = createobject.ObjectCreation(self)
        if self.extension == 'fastq':
            # To streamline the CLARK process, decompress and combine .gz and paired end files as required
            logging.info('Decompressing and combining .fastq files for CLARK analysis')
            fileprep.Fileprep(self)
        else:
            logging.info('Using .fasta files for CLARK analysis')
            for sample in self.runmetadata.samples:
                sample.general.combined = sample.general.fastqfiles[0]