When running BLAST throught the NCBI web interface, one can check the "exclude uncultured sequences" checkbox. When I run blast with BioPython on NCBI, I can add the Entrez query "all [filter] NOT(environmental samples[organism] OR metagenomes[orgn])" to obtain the same.
Now I've downloaded the nt database to my computer and try to run blastn locally. Does anybody know how to exclude sequences from uncultured organisms in this setup?
This answer is from a long time ago. Is this still the only way to exclude these subsets even now?