Skip to content

Commit

Permalink
add log message
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewprzh committed Apr 3, 2024
1 parent cc52cf7 commit 5706cae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions isoquant.py
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,7 @@ def run_pipeline(args):

# convert GTF/GFF if needed
if args.genedb and not args.genedb.lower().endswith('db'):
logger.info("Checking input gene annotation")
gtf_is_correct, corrected_gtf, out_fname = check_gtf_duplicates(args.genedb)
if not gtf_is_correct:
new_gtf_path = os.path.join(args.output, out_fname)
Expand All @@ -692,6 +693,8 @@ def run_pipeline(args):
"An attempt to correct this GTF was made, the result is written to %s" % new_gtf_path)
logger.error("Provide a correct GTF by fixing the original input GTF or checking the corrected one.")
exit(-3)
else:
logger.info("Gene annotation seems to be correct")
args.genedb = convert_gtf_to_db(args)

# map reads if fastqs are provided
Expand Down

0 comments on commit 5706cae

Please sign in to comment.