Display full information about taxa instead of staxids in BLASTn
0
0
Entering edit mode
6.0 years ago
Shred ★ 1.4k

Hi guys, I'm new at using BLAST locally from command line. I'm trying to find a way to display the full taxonomy information instead of staxid in Blastn output. Here's the command using till today:

$ blastn -query contigs.fasta -db BacteriaDB -evalue 10 -outfmt "7 qseqid qlen slen qcovhsp sseqid stax evalue score" -num_alignments 10 -out output.txt

The idea here is to get the output (I'm telling always as a taxonomy level) as provided by the standard "3" for outfmt

$ blastn -query contigs.fasta -db BacteriaDB -outfmt 3

Even some crispy tool to easly convert this code into the full name of taxid will be appreciated. Thanks.

blast genomic taxonomy • 1.9k views
ADD COMMENT
0
Entering edit mode
    staxid means Subject Taxonomy ID

   staxids means unique Subject Taxonomy ID(s), separated by a ';'
         (in numerical order)

Is it staxids you are looking for?

ADD REPLY
0
Entering edit mode

I'm looking for scientific names. I've tried using ssciname, but I still don't get the wanted results.

ADD REPLY

Login before adding your answer.

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