Skip to content

Commit

Permalink
review txt value formats #88
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwengers committed Jan 4, 2022
1 parent 4e6c35d commit 91ff97d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bakta/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,10 +525,10 @@ def main():
statistics_path = cfg.output_path.joinpath(f'{cfg.prefix}.txt')
with statistics_path.open('w') as fh_out:
fh_out.write('Sequence(s):\n')
fh_out.write(f"Length: {genome['size']:,}\n")
fh_out.write(f"Contigs/replicons: {len(genome['contigs'])}\n")
fh_out.write(f"Length: {genome['size']:}\n")
fh_out.write(f"Count: {len(genome['contigs'])}\n")
fh_out.write(f"GC: {100 * genome_stats['gc']:.1f}\n")
fh_out.write(f"N50: {genome_stats['n50']:,}\n")
fh_out.write(f"N50: {genome_stats['n50']:}\n")
fh_out.write(f"N ratio: {100 * genome_stats['n_ratio']:.1f}\n")
fh_out.write(f"coding density: {100 * genome_stats['coding_ratio']:.1f}\n")
fh_out.write('\nAnnotation:\n')
Expand Down

0 comments on commit 91ff97d

Please sign in to comment.