code: def _open(self, fasta_path):
          
          if fasta_path.endswith("gz") or fasta_path.endswith("gzip"):
              return GzipFile(fasta_path, 'rb')
          else:
              return open(fasta_path, 'rb')
docs: Open either a text file or compressed gzip file as a stream of bytes.