Documentation error - Filtering Trypsin and Keratin out from report

0 views
Skip to first unread message

iainiai

unread,
Jun 28, 2007, 3:14:09 PM6/28/07
to PEAKS_forum, gwest...@gmail.com
Hi Folks,
Garrett asked me a question about filtering out Trypsin and Keratin
from the reports, and I didn't have an answer earlier, so I post it
here for everyone's benefit...

I know many of you are using the filters to sort through the results
after search, remove low scoring hits, etc. (for those not using it,
check out the "Filter Pane" tab in the protein ID report). A common
use is to find proteins that have a certain word in the description,
like "find hemoglobin proteins". Another common use is removing
uninteresting proteins from the report. Well, I'm sorry. I made a
mistake about this when writing the user's manual.

Here's how it's done. On the filter pane, add the protein filter
called 'Desc'. This lets you search for things in the protein's
description line. It uses regular expressions. The proper regex to use
is to remove trypsin and keratin is:

(?!.*([Kk]eratin|[Tt]rypsin).*).*

Ok, so the ? means NOT, the .* is a wildcard, means ANYTHING, and the
pipe/bar thingy | means OR. To remove them and also search for
particular words like Rat and Human:

(?!.*([Kk]eratin|[Tt]rypsin).*).*([Hh]uman|[Rr]at).*

I've written a full treatment on filtering in this way. Email me if
you want it.

Enjoi,
-IainR

Reply all
Reply to author
Forward
0 new messages