schicluster.__main__
#
CLI defined here
When adding new function: 1. add a func_register_subparser function to register the subparser 2. add a condition in main func about this new func name, import the real func as func in main
Module Contents#
- DESCRIPTION = Multiline-String[source]#
Show Value
""" scHiCluster is a toolkit for single-cell HiC data preprocessing, imputation, and clustering analysis. Current Tool List in scHiCluster: """
- class NiceFormatter(fmt=None, datefmt=None, style='%', validate=True)[source]#
Bases:
logging.Formatter
From Cutadapt marcelm/cutadapt Do not prefix “INFO:” to info-level log messages (but do it for all other levels). Based on http://stackoverflow.com/a/9218261/715090 .
- format(record)[source]#
Format the specified record as text.
The record’s attribute dictionary is used as the operand to a string formatting operation which yields the returned string. Before formatting the dictionary, a couple of preparatory steps are carried out. The message attribute of the record is computed using LogRecord.getMessage(). If the formatting string uses the time (as determined by a call to usesTime(), formatTime() is called to format the event time. If there is exception information, it is formatted using formatException() and appended to the message.
- setup_logging(stdout=False, quiet=False, debug=False)[source]#
From Cutadapt marcelm/cutadapt Attach handler to the global logger object