Skip to content

Commit

Permalink
Update ont_stats.py
Browse files Browse the repository at this point in the history
  • Loading branch information
CuijieLu committed Oct 1, 2024
1 parent 81297bf commit 19b09cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ont_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def write_to_csv(sample_dict, file_name):
with open(file_name,'w') as file:
file.write("sample_id, Reads, Bases, N50, Median Read Length, Flowcell, Position, Estimated_Cov\n")
for key, value in sample_dict.items():
file.write("{}, {}, {}, {}, {}, {}, {}\n".format(key, value[0], value[1], value[2], value[3], value[4], value[5], value[6]))
file.write("{}, {}, {}, {}, {}, {}, {}, {}\n".format(key, value[0], value[1], value[2], value[3], value[4], value[5], value[6]))

def push_to_lims(sample_dict):
# List of parameter names corresponding to the values skipping columns "estimatedCoverage", "bamCoverage", "sequencerName"
Expand Down

0 comments on commit 19b09cc

Please sign in to comment.