Skip to content

Commit

Permalink
adding print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
ekiernan committed Jan 16, 2025
1 parent adba79f commit 8ba9e6d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ def add_gene_entries(gtf_file):
genes = {}

# First collect ALL features for each gene
print("Colleting features of gene")
for line in open(gtf_file):
fields = line.strip().split('\t')
if len(fields) != 9:
Expand Down Expand Up @@ -64,6 +65,7 @@ def add_gene_entries(gtf_file):



print("Setting up header")
with open(gtf_file) as f:

# First print the new header
Expand All @@ -80,6 +82,7 @@ def add_gene_entries(gtf_file):
for line in f:
if not line.startswith("#"):
print(line.strip())
print("Writing gene entries")
for entry in gene_entries:
print(entry)

Expand Down

0 comments on commit 8ba9e6d

Please sign in to comment.