main module

mavis.main.check_completion(target_dir)[source]
Parameters:target_dir (str) – path to the main pipeline output directory
mavis.main.check_library_dir(library_dir, verbose=False)[source]

checks the completion of library directory and its clustering, validation and annotation subdirectories

mavis.main.check_single_job(directory)[source]
mavis.main.generate_config(parser, required, optional)[source]
Parameters:
  • parser (argparse.ArgumentParser) – the main parser
  • required – the argparse required arguments group
  • optional – the argparse optional arguments group
mavis.main.main()[source]
mavis.main.main_pipeline(args, configs, convert_config)[source]
mavis.main.parse_runtime_from_log(log_file)[source]
mavis.main.print_incomplete_log_details(log_file)[source]
mavis.main.time_diff(start, end)[source]
>>> time_diff('2017-04-02 15:10:48.607195', '2017-04-03 17:00:32.671809')
25.83
>>> time_diff('2017-04-03 15:10:48.607195', '2017-04-03 17:00:32.671809')
1.83
mavis.main.unique_exists(pattern, allow_none=False)[source]