I am trying to get all protein sequences containing a certain domain (say 'ww' domain). Is there a way to do that? In the end, I want to get all sequences containing two specific domains. If I can get the collection of sequences with domain 1 and collection of sequences with domain 2, I can get the sequences in both collections.
I also can't find a way to connect to NCBI database to do a search.