def get_sequences(self):
        batch_size = self.retmax_efetch
        count = self.count
        uids_list = self.ids
        self.logger.info("Batch size for efetch action: %d" % batch_size)
        self.logger.info("Number of batches for efetch action: %d" % ((count / batch_size) + 1))
        with open(self.outname, 'w') as out:
            for start in range(0, count, batch_size):
                end = min(count, start+batch_size)
                batch = uids_list[start:end]
                self.epost(self.dbname, ",".join(batch))
                mfasta = ''
                while not mfasta:
                    self.logger.info("retrieving batch %d" % ((start / batch_size) + 1))
                    mfasta = self.efetch(self.dbname, self.query_key, self.webenv)
                out.write(mfasta + '\n')
Returns:
dataset/ETHPy150Open ARTbio/tools-artbio/tools/fetch_fasta_from_ncbi/retrieve_fasta_from_NCBI.py/Eutils.get_sequences--crossover with--dataset/ETHPy150Open Axelrod-Python/Axelrod/axelrod/result_set.py/ResultSet.build_payoffs