Hi everyone, Please I really need help. I can't get the staxids with my blastn. This is what i run :
blastn -task megablast -query $RND_ASSEMBLY -db $BLASTDB/nt -evalue 1e-5 -num_threads 5 -max_target_seqs 1 -outfmt "6 qseqid staxids" -out $RND_ASSEMBLY.nt.1e-5.megablast
I downloaded the nt database with the update_blastdb script. In the same directory as my nt database i downloaded the two taxdb file. But despite this i always have this :
299958__len__337 N/A
If I change the parameters in outfmt with salltitles for example it's ok i have a good out file.. what can i do ? thanks so much for your help Marine
have you downloaded taxdb? Now you have done the blast, using elink and efetch you can get the taxiD or species name.
Yes i have downloaded taxdb and the two files are in the same directory as my nt database :/ i don't know elink and efetch i will take a look. But no idea why the command -outfmt "6 qseqid staxids" returned N/A ? thanks
cant think of a reason why NA in your case. here is the elink method to get the species name in a crude form