This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Excluding environmental sequences with blastn command line

Dear community,

In blast webpage we can choose to exclude environmental and uncultured sequences. How can we do that with blastn command line?

I apologize if this is a simple question, but I'm starting to use blastn and didn't found the solution for this anywhere.

Thanks in advance,
Francisco

blast

1 answer

I think you may have to create a list of GIs that fall under ENVIRONMENTAL and UNCULTURED categories and use it in the -negative_gilist argument to blast.

Source: http://www.ncbi.nlm.nih.gov/books/NBK1763/#CmdLineAppsManual.Query_a_BLAST_database

Thank you for your answer Ram. Any suggestion on how to do that? Sorry, don't want to post a "give me the code question", but I'm just starting now with blastn.

Cheers,
Francisco

I'm not really sure. From the static nature of the options in there, I'm guessing quite a bit of work went into figuring out these GIs. Maybe grepping the base set of sequences for headers containing these words will prove to be a possible lead.

Log in to answer this question.