ppanggolin.info package

Submodules

ppanggolin.info.info module

ppanggolin.info.info.launch(args: Namespace)

Command launcher

Parameters:

args – All arguments provide by user

ppanggolin.info.info.parser_info(parser: ArgumentParser)

Parser for the specific argument of the ‘info’ command.

Parameters:

parser – Parser for the ‘info’ argument.

ppanggolin.info.info.print_info(pangenome: str, status: bool = False, content: bool = False, parameters: bool = False, metadata: bool = False)

Main function to return information about pangenome

Parameters:
  • pangenome – Pangenome file

  • status – Get pangenome status

  • content – Get pangenome content

  • parameters – Get pangenome parameters

ppanggolin.info.info.print_yaml(yaml_dict: dict) None
ppanggolin.info.info.read_metadata_status(h5f: File)

Print which object has metadata and the source of the metadata

Parameters:

h5f – the h5f file object of the pangenome file

ppanggolin.info.info.read_status(h5f: File)

Read status on what have been computed in the pangenome file

Parameters:

h5f – the h5f file object of the pangenome file

ppanggolin.info.info.subparser(sub_parser: _SubParsersAction) ArgumentParser

Subparser to launch PPanGGOLiN in Command line

:param sub_parser : sub_parser for info command

:return : parser arguments for info command

Module contents