How to use the comparem.lgt_codon.LgtCodon function in comparem

To help you get started, we’ve selected a few comparem examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github dparks1134 / CompareM / comparem / main.py View on Github external
def lgt_codon(self, options):
        """LGT dinucleotide usage command"""

        gene_files = self._input_files(options.nucleotide_gene_files, options.file_ext)

        lgt_codon = LgtCodon(options.cpus)
        lgt_codon.run(gene_files, options.output_dir)

        self.logger.info('Codon usage written to directory: %s' % options.output_dir)