[DAS2] feature filter examples

Andrew Dalke dalke at dalkescientific.com
Wed Apr 6 07:53:00 UTC 2005

I'm having some difficulty understanding the feature query
language.  There's an example in the spec which is


     (Features of type exon, intron, or splice_site that
     overlap region 1000-2000 on Chr3.)

Based on that, the following appears to be legal


That is, it is legal for the same feature filter ("overlaps")
to exist multiple times in the query.  If so there should
be a note pointing that out.

Are the following allowed?

1) an OR of the values for a region


2) an OR of an att query


3) and OR and an AND of the same attribute in an att filter


This is the same as
   (hand contains "fizzbin" OR hand contains "slark") AND
   (hand contains "royal")

so would match "royal fizzbin" hands.

I think they are all legal.  I think I can improve
the wording a bit for clarification.

					dalke at dalkescientific.com

More information about the DAS2 mailing list