On 1 Jun 2007, at 22:13, Arek Kasprzyk wrote:
On 1 Jun 2007, at 16:06, Guðmundur Árni Þórisson wrote:
I'm starting to use MartBuilder for real now and slowly getting the
hang of things. I've managed to create some simple datasets without
problems (just works!), but when going into more complex things I am
stumbling. Specifically, I do not see how to tell MBuilder to do
certain complex multi-table joins to pull various pieces of data
together.
Here's an example of this sort of thing is genotype frequency data
I want to pull out of my database. Some tables hold data for filters
and/or attributes, others are merely linking tables:
Study->Experiment->Usedmarkerset->GenotypeFrequencyCluster-
>GenotypeFrequency->[couple more tables]
I see some indication of how MartBuilder is doing things when it
has created a dimension table out of two tables, and click 'Explain
table'. It's also doing something clever when I select multiple
tables in the 'Create datasets' dialog. But is this procedure
entirely automatic, offering no control beyond masking dimension
tables *after* MBuilder has created the dataset? How deep does it go,
in terms of following the PK-FK trail?
the algorithm follows the PK/FK and derived cardinalities. whenever it
hits 1:n or n:m it stops and creates a dm table
or in case of a dm table just stops.
I guess I'm hunting for a clue as to whether I can add tables to a
dataset semi-manually, one by one?
one more comment to make it more clear. Mbuilder makes quite a sensible
choice about the path through the system. However you can
alter it's behavior both in terms of reducing the number of tables
which were used for a given mart table and including
additional tables which MBuilder skipped. If the latter is your concern
and you are using 0.5 be aware that there is a mistake
in the implementation of the algorithm there (ei MBuilder stops too
early when creating dimensions) This has now been fixed
in 0.6.
Mummi - if you could give us more details as to where the problem is,
I am sure we can suggest a solution
a.
a.
Mummi
PS I tried the 'Add restriction to table' and it's just wicked,
extremely useful! My particular use case is that I have an Experiment
table with different types of experiment-thingies: frequency
determination, association analysis etc. This function let's me
easily create seperate datasets for each!
-----------------------------------------------------------
Gudmundur A. Thorisson, PhD student, Brookes lab
Department of Genetics
University of Leicester
University Road
Leicester, LE1 7RH, UK
E-mail: [EMAIL PROTECTED]
Tel: +44 (0)116 252-3055
-----------------------------------------------------------------------
--------
Arek Kasprzyk
EMBL-European Bioinformatics Institute.
Wellcome Trust Genome Campus, Hinxton,
Cambridge CB10 1SD, UK.
Tel: +44-(0)1223-494606
Fax: +44-(0)1223-494468
-----------------------------------------------------------------------
--------
------------------------------------------------------------------------
-------
Arek Kasprzyk
EMBL-European Bioinformatics Institute.
Wellcome Trust Genome Campus, Hinxton,
Cambridge CB10 1SD, UK.
Tel: +44-(0)1223-494606
Fax: +44-(0)1223-494468
------------------------------------------------------------------------
-------