# Playground Blocks

In the following sections, we will explore two simple yet practical blocks built around the [NCBI BLAST](https://blast.ncbi.nlm.nih.gov/doc/blast-help/index.html#index) software:

## Make BLAST Database

This block enables users to construct a local BLAST database from a FASTA file. The source code can be accessed at [GitHub](https://github.com/platforma-open/makeblastdb). For development purposes, we recommend downloading it as follows:

```bash
git clone git@github.com:platforma-open/makeblastdb.git
cd makeblastdb
pnpm install
pnpm -r run build
```

This block allows you to import or upload a FASTA file containing reference sequences. It then runs the [`makeblastdb`](https://www.ncbi.nlm.nih.gov/books/NBK569841/) command to create a local database and displays the execution log on the main screen:

![Make BLAST Database](/_astro/makeblastdb.CaKgmx05_1xaKab.webp)

## BLAST Local Database

This block allows users to run BLAST searches against a local database. The source code is available at [GitHub](https://github.com/platforma-open/blast). We recommend downloading it for development use:

```bash
git clone git@github.com:platforma-open/blast.git
cd blast
pnpm install
pnpm -r run build
```

Using this block, you can import or upload a FASTA file containing query sequences. It then executes `blastn` or `blastp` software, depending on the database type, and displays the resulting alignments:

![BLAST Local Database](/_astro/blast.BV5Fr27P_Z1MeQCY.webp)

Source: https://docs.platforma.bio/sdk-playground-blocks/
