From 70857a6c139c355545080d42dc47d44a22423e70 Mon Sep 17 00:00:00 2001 From: Jakob Rien <jakobj.rien@stud.unibas.ch> Date: Thu, 8 Dec 2022 08:03:00 +0000 Subject: [PATCH] Replace transcript_extractor.py --- scripts/transcript_extractor.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/transcript_extractor.py b/scripts/transcript_extractor.py index ff47731..cdc859c 100644 --- a/scripts/transcript_extractor.py +++ b/scripts/transcript_extractor.py @@ -274,7 +274,7 @@ def _transcript_extractor (file_name,source_pathway_name,deposit_pathway_name): def extract_transcript(file_name = "test",source_pathway_name = os.getcwd(),deposit_pathway_name = False,Input_free = False): - """This it the overall exetutable funtion that will execute the transcript extraction process for a given file with all checks. + """ This it the overall exetutable funtion that will execute the transcript extraction process for a given file with all checks. Expected input: file_name: str ; default = test #the name of the gft file you want to look at source_pathway_name: str ; default = current work directory #path of the gtf file @@ -282,7 +282,9 @@ def extract_transcript(file_name = "test",source_pathway_name = os.getcwd(),depo Outputs: file_name: str source_pathway_name: str - deposit_pathway_name: str """ + deposit_pathway_name: str + """ + if deposit_pathway_name == False: deposit_pathway_name = source_pathway_name -- GitLab