"""This funtion encapsulates an operation that has to be carried out at several points in the exon_length_filter function and serves to make that function more modular"""
"""This function filters a dictionary of genes and there transcripts by the length of there exons an selects the longes transcript for each gene ans saves tham in a "," seperated csv file.
Expected inputs:
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
deposit_pathway_name: str ; default = current work directory #path for saving the csv file
gen_dict:dict{key == gene ID:[transcript IDs that belong to that gene]}
Input_free: tuple ; default = False # this input should be set to True for automation"""
print("Representative trascipts are filterd based on exon length please wait...")
"""This funtion encapsulates an operation that has to be carried out at several points in the exon_length_filter function and serves to make that function more modular"""
"""This function filters a dictionary of genes and there transcripts by the length of there exons an selects the longes transcript for each gene ans saves tham in a "," seperated csv file.
Expected inputs:
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
deposit_pathway_name: str ; default = current work directory #path for saving the csv file
gen_dict:dict{key == gene ID:[transcript IDs that belong to that gene]}
Input_free: tuple ; default = False # this input should be set to True for automation"""
print("Representative trascipts are filterd based on exon length please wait...")