Creating database in LAST tool with NCBI nt database
1
0
Entering edit mode
4.5 years ago

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 • 1.6k views
ADD COMMENT
0
Entering edit mode

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.

ADD REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode
4.5 years ago
GenoMax 141k

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

ADD COMMENT
0
Entering edit mode

Thank you for the information.

ADD REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

LAST is not the right program to align nanopore data to something as large as nt/nr.

You may want to try kraken2 (https://ccb.jhu.edu/software/kraken2/ ). Keep this recommendation in mind. There are pre-made kraken2 databases that may suffice.

ADD REPLY
0
Entering edit mode

Thank you for the information.

ADD REPLY

Login before adding your answer.

Traffic: 1819 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6