Skip to content

Commit

Permalink
upd with nicer
Browse files Browse the repository at this point in the history
  • Loading branch information
ctb committed Apr 20, 2022
1 parent 3036a75 commit 76fc743
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion make-lineage-csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ def main():
taxfoo.load_names_dmp(args.names_dmp)

w = csv.writer(args.output)
w.writerow(['accession', 'taxid'] + want_taxonomy)
w.writerow(['ident', 'taxid'] + want_taxonomy)

for filename in args.assembly_summary_files:
print(f"reading assembly summary file from '{filename}'")
r = csv.reader(open(filename, newline=""), delimiter='\t')

count = 0
Expand Down

0 comments on commit 76fc743

Please sign in to comment.