From 5f61e237049e0ec4278a41f18cbc0dd1262fa424 Mon Sep 17 00:00:00 2001 From: alapendr <audrey.lapendry@ens-lyon.fr> Date: Wed, 11 Mar 2020 13:19:53 +0100 Subject: [PATCH] src/db_utils/fill_splicing_lore_tables.py: update opening ase_event file --- src/db_utils/fill_splicing_lore_tables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db_utils/fill_splicing_lore_tables.py b/src/db_utils/fill_splicing_lore_tables.py index 63cadbb0..1027dc00 100644 --- a/src/db_utils/fill_splicing_lore_tables.py +++ b/src/db_utils/fill_splicing_lore_tables.py @@ -33,7 +33,7 @@ def load_ase_event() -> pd.DataFrame: :return: The dataframe of splicing lore alternative splicing events """ logging.debug('loading cin_project_splicing_lore') - df = pd.read_csv(Config.ase_event_file, sep="\t") + df = pd.read_csv(Config.ase_event_file, sep="\t", dtype={"chromosome": 'object'}) df.drop(["gene_symbol", "chromosome", "start", "stop", "exons_flanquants"], inplace=True, axis=1) cols = list(df.columns) -- GitLab