# import mpathic
import mpathic as mpa

# load dataset
dataset_df = mpa.io.load_dataset("./mpathic/data/sortseq/full-0/all_data_1E4rows.txt")

# Mutation profiles
# bins will range from 0 to 7
profile_mut = mpa.ProfileMut(dataset_df = dataset_df,bin=0)

# Freq profiles
profile_freq = mpa.ProfileFreq(dataset_df = dataset_df)

# profile counts

counts_df = profile_ct.main(dataset_df, bin=bin, start=start, end=end)


# top is foreground and bottom is background
# learned_model = mpa.LearnModel(df=dataset_df)

# save dataframes to text files
df.to_csv(file_name, sep='\t')