Local Fasta Query Using List Of Gi Accessions
1
0
Entering edit mode
13.1 years ago
User 5039 • 0

Is there a quick and easy way to query a Fasta (.faa) file using a list of GI accessions and generate a report? I already have the ncbi-blast program installed and amended the $PATH environment.

fasta blast • 2.6k views
ADD COMMENT
1
Entering edit mode

It is not clear what is it that you are trying to do. Do you want to align sequences identified by accession numbers to another sequence?

ADD REPLY
1
Entering edit mode
13.1 years ago
Niek De Klein ★ 2.6k

You want to BLAST over the fasta file?

First make a database of your fasta file with this command: makeblastdb -in my_seqs.fasta -out my_seqs.fasta.

Then download all the fasta sequences of your GI list and save them in queryseq.fasta.

After that do blastp -query queryseq.fasta -db my_seqs.fasta -out result.txt if your query and database are protein sequences or blastn -query queryseq.fasta -db my_seqs.fasta -out result.txt if your query and database are nucleotide sequences.

ADD COMMENT

Login before adding your answer.

Traffic: 2109 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