def make_READnome(self, fq_id, run_ID, buff=500, out_path=None): if out_path != None: fout_name = os.path.split(fq_id)[-1] fout = os.path.join(out_path, fout_name) else: fout = os.path.split(fq_id)[-1] asm = "{}.asm.out".format(fout) fa = "{}.asm.fa".format(fout) G = GenerateRADnome() G.make_READnome(asm, fa, buff, run_ID, out_path) return 1