Question: Makeblast db with more sequences in fasta format
1
gravatar for marghe08
2.4 years ago by
marghe0810
marghe0810 wrote:

Hello! I am a beginner and I need help. I downloaded from NCBI two distinct fasta files, which contain both a nucleotide sequence, and are saved in a folder on my pc; these are the names of the files: NG_006672.1.fasta NG_006682.3.fasta using locally blast would like to create a database, with makeblastdb command, which contains my 2 fasta sequences. How can I do?

blast blastdb • 1.1k views
ADD COMMENTlink modified 2.4 years ago by RamRS21k • written 2.4 years ago by marghe0810
4
gravatar for RamRS
2.4 years ago by
RamRS21k
Houston, TX
RamRS21k wrote:

Just cat the fasta file and use the concatenated FASTA file as the input to the -in argument. Here's NCBI manual on how to use makeblastdb https://www.ncbi.nlm.nih.gov/books/NBK279688/

Either cat them as a preliminary sep or use the syntax -in <(cat file1.fa file2.fa) to use a subshell in the makeblastdb

ADD COMMENTlink modified 2.4 years ago • written 2.4 years ago by RamRS21k
1
gravatar for Sej Modha
2.4 years ago by
Sej Modha4.1k
Glasgow, UK
Sej Modha4.1k wrote:

https://www.ncbi.nlm.nih.gov/books/NBK279688/

ADD COMMENTlink written 2.4 years ago by Sej Modha4.1k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 931 users visited in the last hour