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?
Question: Makeblast db with more sequences in fasta format
1
marghe08 • 10 wrote:
ADD COMMENT
• link
•
modified 15 months ago
by
david.prihoda • 10
•
written
4.2 years ago by
marghe08 • 10
4
Ram ♦ 32k 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 step or use the syntax -in <(cat file1.fa file2.fa)
to use a subshell in the makeblastdb
1
0
david.prihoda • 10 wrote:
I found out you can just omit the -in
parameter, add a -title
parameter and pipe the sequences using: cat file1.fa file2.fa | makeblastdb -title myDBtitle -out myDBpath -parse_seqids
Please log in to add an answer.
Use of this site constitutes acceptance of our User
Agreement
and Privacy
Policy.
Powered by Biostar
version 2.3.0
Traffic: 1001 users visited in the last hour