Skip to content

Commit

Permalink
add context to output file
Browse files Browse the repository at this point in the history
  • Loading branch information
sophie22 committed May 7, 2022
1 parent aee5b39 commit 33dbfce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion genes_coverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# Import libraries/packages for use in the code
import sys
from numpy import outer
import pandas as pd # v1.3.4

### Read inputs from the command line
Expand Down Expand Up @@ -30,5 +29,6 @@
### Write gene symbols with suboptimal coverage to file
outfile = f"genes_suboptimal_coverage{coverage_threshold}x.txt"
with open(outfile, 'w') as fh:
fh.write(f"The following genes had regions not fully covered at 30x: \n")
for gene in below_threshold_genes:
fh.write(gene + "\n")
1 change: 1 addition & 0 deletions genes_suboptimal_coverage30x.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
The following genes had regions not fully covered at 30x:
SELENON
MSTO1
NEB
Expand Down

0 comments on commit 33dbfce

Please sign in to comment.