From fe7095af61a8ddfbca62b0d2c0c0e7a9a2247997 Mon Sep 17 00:00:00 2001 From: Michael Zimmermann <michael.zimmermann@unibas.ch> Date: Mon, 21 Nov 2022 17:30:12 +0100 Subject: [PATCH] Corrections from Larissa --- tsg/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tsg/main.py b/tsg/main.py index f50eb80..e7bd9db 100644 --- a/tsg/main.py +++ b/tsg/main.py @@ -11,7 +11,7 @@ LOG = logging.getLogger(__name__) def read_abundances(transcripts_file: str) -> pd.DataFrame: - """Read file of abundance of transcripts into dataframe. + """Read transcript-abundance file into dataframe. Args: transcripts_file (str): Input filename @@ -32,7 +32,7 @@ def read_abundances(transcripts_file: str) -> pd.DataFrame: def filter_df(df: pd.DataFrame, transcripts: list = []) -> pd.DataFrame: - """Filter annotations to include only exons with the highest transcript support level, i.e. (TSL1). + """Filter annotations to include only exons with the highest transcript support level, i.e. TSL1. `feature` column is filtered on value "exon" and `free_text` column is filtered to include the string denoting the highest transcript support level -- GitLab