def _args_run_to_random_fasta_file(args): M.write_random_fasta_records(args.fasta_out, args.max_records) return 0
def _write_mock_file(self, p): M.write_random_fasta_records(p, nrecords=self.NRECORDS)
def run_rtc(rtc): nrecords = 1000 write_random_fasta_records(rtc.task.output_files[0], nrecords) return 0
def run_rtc(rtc): max_records = rtc.tasks.options[_to_opt_id("alpha")] return write_random_fasta_records(rtc.task.output_files[0], max_records)