comparison add_scaffold.py @ 8:9b2ede3e7100 draft

Uploaded
author greg
date Tue, 22 May 2018 10:17:21 -0400
parents 82822d1e5119
children 3706dea6c2f1
comparison
equal deleted inserted replaced
7:82822d1e5119 8:9b2ede3e7100
87 self.process_scaffold_config_files() 87 self.process_scaffold_config_files()
88 self.process_orthogroup_fasta_files() 88 self.process_orthogroup_fasta_files()
89 self.fh.flush() 89 self.fh.flush()
90 self.fh.close() 90 self.fh.close()
91 else: 91 else:
92 self.stop_err("The scaffold %s has already been added to the database." % scaffold_id) 92 self.stop_err("The scaffold %s has already been added to the database." % os.path.basename(self.args.scaffold_path))
93 93
94 def process_annot_dir(self): 94 def process_annot_dir(self):
95 """ 95 """
96 First, parse all of the *.min_evalue.summary files in the 96 First, parse all of the *.min_evalue.summary files in the
97 ~/<scaffold_id>/annot directory (e.g., ~/22Gv1.1/annot) to populate 97 ~/<scaffold_id>/annot directory (e.g., ~/22Gv1.1/annot) to populate