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#

log[source]#
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:

"""
EPILOG = ''[source]#
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.

validate_environment()[source]#
setup_logging(stdout=False, quiet=False, debug=False)[source]#

From Cutadapt marcelm/cutadapt Attach handler to the global logger object

_str_to_bool(v: str) bool[source]#
comp_cpg_cell_register_subparser(subparser)[source]#
comp_concatcell_chr_register_subparser(subparser)[source]#
domain_insulation_cell_register_subparser(subparser)[source]#
domain_concatcell_chr_register_subparser(subparser)[source]#
embed_concatcell_chr_register_subparser(subparser)[source]#
embed_mergechr_register_subparser(subparser)[source]#
generatematrix_cell_register_subparser(subparser)[source]#
impute_cell_register_subparser(subparser)[source]#
loop_bkg_cell_register_subparser(subparser)[source]#
loop_sumcell_chr_register_subparser(subparser)[source]#
loop_mergechr_register_subparser(subparser)[source]#
generate_scool_register_subparser(subparser)[source]#
prepare_imputation_register_subparser(subparser)[source]#
call_domain_register_subparser(subparser)[source]#
call_compartment_register_subparser(subparser)[source]#
cpg_ratio_register_subparser(subparser)[source]#
embedding_register_subparser(subparser)[source]#
gene_score_register_subparser(subparser)[source]#
merge_cell_raw_register_subparser(subparser)[source]#
merge_cool_register_subparser(subparser)[source]#
filter_contacts_register_subparser(subparser)[source]#
contact_distance_register_subparser(subparser)[source]#
main()[source]#