This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to find a random set of proteins which are not in your target set?

I am seeking a way to download a random set of >600 proteins from NCBI (for example) that are NOT my target protein set. For example, I have a list of fasta files which are hemoglobin, myoglobin (all available species) and want to find fasta files that do NOT contain these proteins. I am seeking this 'null set' of proteins for comparison.

Forgive me, this might be similar to another question but I could not seem to find the proper key words for my search.

ncbi protein random search null set

All the Entrez sites support standard boolean queries. It's a bit 'hacky' but you could simply search the protein databases for something like "NOT haemoglobin". I'm not sure if this will work without something to compare the intersection to, but give it a try.

2 answers

UniProt Random Sequence Picker
http://www.rocrooks.co.uk/biology/uniprot-random.php

Cool. Had no idea that's the sort of thing people would have found a need for!

If you have IDs for individual proteins, simply take the difference between them, and all others and download the FASTAs.

Log in to answer this question.