Skip to content

Commit

Permalink
add N90 to bakta_io txt output
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwengers committed Jan 24, 2025
1 parent cbd3804 commit c7a8155
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bakta/json_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ def main():
fh_out.write(f"Count: {len(data['sequences'])}\n")
fh_out.write(f"GC: {100 * data['stats']['gc']:.1f}\n")
fh_out.write(f"N50: {data['stats']['n50']:}\n")
if('n90' in data['stats']):
fh_out.write(f"N90: {data['stats']['n90']:}\n")
fh_out.write(f"N ratio: {100 * data['stats']['n_ratio']:.1f}\n")
fh_out.write(f"coding density: {100 * data['stats']['coding_ratio']:.1f}\n")
fh_out.write('\nAnnotation:\n')
Expand Down

0 comments on commit c7a8155

Please sign in to comment.