Mercurial > repos > onnodg > add_taxonomic_labels
comparison add_taxonomic_labels.py @ 4:04ec86bdac32 draft default tip
planemo upload for repository https://github.com/Onnodg/Naturalis_NLOOR/tree/main/NLOOR_scripts/add_header_tool commit 4017d38cf327c48a6252e488ba792527dae97a70-dirty
| author | onnodg |
|---|---|
| date | Mon, 15 Dec 2025 17:01:06 +0000 |
| parents | f4b8ab4ed24e |
| children |
comparison
equal
deleted
inserted
replaced
| 3:081b11f0aa4a | 4:04ec86bdac32 |
|---|---|
| 95 line += new_taxa | 95 line += new_taxa |
| 96 outfile.write(f'{line}\n') | 96 outfile.write(f'{line}\n') |
| 97 | 97 |
| 98 | 98 |
| 99 def main(arg_list=None): | 99 def main(arg_list=None): |
| 100 # arg_list = [ | |
| 101 # '--input_file', 'test-data/input.fa.tabular', | |
| 102 # '--output_file', 'test-data/output_fa.tabular', | |
| 103 # ] | |
| 100 args = parse_arguments(arg_list) | 104 args = parse_arguments(arg_list) |
| 101 add_labels(args.input_file, args.output_file, args.taxon_levels) | 105 add_labels(args.input_file, args.output_file, args.taxon_levels) |
| 102 | 106 |
| 103 | 107 |
| 104 if __name__ == '__main__': | 108 if __name__ == '__main__': |
