Hello Guin,
Thank you for contacting the UCSC Genome Browser support team. Unfortunately, at this time, we do not provide support for IUPAC codes in our BLAT tool. When BLAT encounters nucleotides that are not A C G or T, they are assumed to be N. Thus, IUPAC codes are the same as N's as far as blat is concerned.
You may be interested in software that can do this, PatMatch:
We do have some limited IUPAC support in our "Short Match" track in the "Mapping and Sequencing" category. By going to the browser you are interested in and clicking on the track labeled "Short Match" you will see a search box (limit 2-30 bases) which does support IUPAC codes. Once your search is entered, you'll see the results displayed in the Short Match track. This track is not meant to be a search function, it is only a display tool. If the results are not in the current window, the browser will not automatically take you to the results loci; you'll only see results for the current window or unless you navigate to the region where your results are. I'm guessing that this won't solve your problem, but thought I would mention it as an option.
You might also want to inquire about NCBI's BLAST tool as a possible option.
Please respond to this list if you have further questions, and please always feel free to search our
mailing list archives for related posts.
Thank you for contacting the UCSC Genome Browser support team.
Please send new and follow-up questions to one of our mailing lists below: