tfclass_predict.io_interface

Classes

IOInterface

Module Contents

class tfclass_predict.io_interface.IOInterface(bed_file: str, genome_file: str, res_dir: str)
bed_file
file_name
genome_file
res_dir
read_atac_seq_data()

Reads ATAC-seq regions from BED file that was given in the initalizer. :return: BED file input as pd.DataFrame.

write_predictions(counts_vec, pred_dict, bed_data)

Writes predictions and count vectors to output files. :param counts_vec: Count vectors from Predictor.predict function. :param pred_dict: Dictionary from Predictor.predict function. :param bed_data: Dataframe from BED file. :return: