comparison TAXID_genusexpand_taxid2acc.py @ 7:9238e54d6532 draft

Uploaded 13 03 23 Fix variable bug line 143
author p.lucas
date Mon, 13 Mar 2023 15:09:54 +0000
parents 81acd8138218
children 8c9418230a5a
comparison
equal deleted inserted replaced
6:81acd8138218 7:9238e54d6532
144 ncbi_tax_f = os.path.abspath(args.ncbi_tax_f) 144 ncbi_tax_f = os.path.abspath(args.ncbi_tax_f)
145 else: 145 else:
146 # ncbi_tax_f = "/nfs/data/db/ete3/taxa.sqlite" 146 # ncbi_tax_f = "/nfs/data/db/ete3/taxa.sqlite"
147 ncbi_tax_f = os.path.expanduser("~/.etetoolkit/taxa.sqlite") 147 ncbi_tax_f = os.path.expanduser("~/.etetoolkit/taxa.sqlite")
148 if args.taxid_acc_in_f is not None: 148 if args.taxid_acc_in_f is not None:
149 taxid_acc_in_f = os.path.abspath(args.taxid_acc_f) 149 taxid_acc_in_f = os.path.abspath(args.taxid_acc_in_f)
150 b_acc_in_f = True 150 b_acc_in_f = True
151 elif(not b_test): 151 elif(not b_test):
152 sys.exit("[Error] You must provide taxid_acc_in_f") 152 sys.exit("[Error] You must provide taxid_acc_in_f")
153 if args.acc_out_f is not None: 153 if args.acc_out_f is not None:
154 acc_out_f = os.path.abspath(args.acc_out_f) 154 acc_out_f = os.path.abspath(args.acc_out_f)