def runner(self):
        """
        Run the necessary methods in the correct order
        """
        sero_report = os.path.join(self.reportpath, 'serosippr.csv')
        if os.path.isfile(sero_report):
            self.report_parse(sero_report)
        else:
            logging.info('Starting {} analysis pipeline'.format(self.analysistype))
            # Run the analyses
            ShortKSippingMethods(self, self.cutoff)
            self.serotype_escherichia()
            self.serotype_salmonella()
            # Create the reports
            self.reporter()
            # Print the metadata
            MetadataPrinter(self)
def runner ( self ) : sero_report = os . path . join ( self . reportpath , 'serosippr.csv' ) if os . path . isfile ( sero_report ) : self . report_parse ( sero_report ) else : logging . info ( 'Starting {} analysis pipeline' . format ( self . analysistype ) ) ShortKSippingMethods ( self , self . cutoff ) self . serotype_escherichia ( ) self . serotype_salmonella ( ) self . reporter ( ) MetadataPrinter ( self )
Run the necessary methods in the correct order