This is a test version of Biostars. For the public version, visit https://www.biostars.org.
BLAST+ search limited to specific superkingdoms

hey i need to run BLAST+ search limited to specific superkingdoms (Bacteria, eukarya, viruses, archaea) but tax ids does not work ;( Do you know what the problem?

os.system('blastp -query input -db /home/xyl/nr/nr -seg no -outfmt 18 -taxids 2 -evalue 1e-3 -out output -max_target_seqs 50000 -num_threads 8' % (file, fileouttax1))
blast protein

1 answer

blast+ needs taxID at species level for this to work. You will need to do this: Restricting database by taxa in local blast searches

Log in to answer this question.