This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Creating database in LAST tool with NCBI nt database

I have installed LAST tool to align nanopore reads. lastdb option is used to create database from fasta file for alignment. For metagenomic study, I need to align my nanopore reads to the NCBI nt (nucleotide) or nr (protein) database. How can I make a database for alignment using LAST tool from (NCBI nt or nr database) which is not in fasta format? Please help.

next-gen alignment sequencing sequence

Can you give us some more insight in what exactly you try to achieve? It could be that LAST might not be the appropriate tool for it.

I want to align the nucleotide bases to the database for classification of microbes present.

1 answer

You can find nt and nr data files in fasta format in this NCBI directory. These are large downloads but you already know that.

These are not indexed. Do these sequences need to be indexed in order to see the results. If so how can it be done.

that is correct. What genomax pointed you to is the plain fasta files. From here you can download the preformatted ones.

It's also possible to download the fasta files and format them locally. Check the manual of blast and look for the makeblastdb command

EDIT: too quick in answering, what I mentioned above is to format the fasta files for use with ncbi blast not LAST. To format fasta files for LAST you will have to use the lastdb command en give the fasta files you downloaded as input

Log in to answer this question.