[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [IMP-dev] query particles



we do the same - but this is an ad hoc solution.
It should not be part of Model I think but an external IndexModel class maybe or a IndexDecorator. I suggested SQL because your query can be complex containing often more than one attribute. Ben - you will need it in IMP.Atom - have you already started working on that?

On Tue, 9 Dec 2008, Dina Schneidman wrote:

Hi,

I need this too (surprisingly). Usually I do it with mapping between
the particle and the attribute.
It is simple. however it is unclear where should we put such a
mapping. Putting it in a model
could be the best, however not everyone needs it. So it means
somewhere else or extending the Model to ProteinModel?

Dina

P.S. skype me, we can talk about it


On Tue, Dec 9, 2008 at 7:03 AM, Keren Lasker <> wrote:
hi all,

Frido and I find ourselves many times need to query particles based on
attribute values.
Few such examples: a protein with a specific name, particles with a specific
residue range.

I think that it would be very useful to have something similar to  SQL
queries on the particles DB.
Bret might had something similar implemented  - but it is probably obsolete.
IMP.Atom will probably need such functionality as well.

has anyone took a look at that before ?

thank you,
Keren.
_______________________________________________
IMP-dev mailing list

https://salilab.org/mailman/listinfo/imp-dev

_______________________________________________
IMP-dev mailing list

https://salilab.org/mailman/listinfo/imp-dev