Running Blastn Locally: Exclude Uncultured Sequences
1
2
Entering edit mode
11.7 years ago
lgbi ▴ 150

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?

blastn • 8.0k views
ADD COMMENT
13
Entering edit mode
11.7 years ago

1. Use NCBI Entrez to find all enviornmental records in Nucleotide database: "environmental samples"[organism] OR metagenomes[orgn]

2. Send to > File > Format > GI list

3. Then, run blast and exclude the file containing these enviornmental GIs from the BLAST nr database

blastn -query [filename] -db nr -negative_gilist [filename_with_gis_to_exclude]
ADD COMMENT
0
Entering edit mode

This answer is from a long time ago. Is this still the only way to exclude these subsets even now?

ADD REPLY

Login before adding your answer.

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