From: Josh Berkus <josh@agliodbs.com>
To: Charles Hauser <chauser@acpub.duke.edu>
Cc: pgsql-sql@postgresql.org
Subject: Re: [NOVICE] Storing number '001' ?
Date: Fri, 14 Dec 2001 08:03:33 -0800
Message-ID: <web-528837@davinci.ethosmedia.com> (raw)
In-Reply-To: <a05010405b83ed10df939@[152.3.11.193]>
Chuck,
> I drew it in Canvas, which will export a jpeg.
Darn. I was hoping it was a diagramming tool ...
> I have written up a summary of the basic flow of data below, because
> I am probably not conveying clearly all the info needed to properly
> design the DB.
Aiee! Too much detail!
Actually, the outline you provide will probably be useful for your
lab-mates. However, it's hard for me to pick out the answers to the
questions I have:
1. Are "Fasta" and "Sequence" the same thing? (further questions assume
this to be the case).
2. We established in the last e-mail that there is potentially more than
one clone related to each clone_fasta and to each clone_qual record, and
that no clone has more than one fasta or qual record. Is that still
true?
3. In what order does the data arrive for your tables? I.e., is this an
accurate order of events:
(1) Clone data
(2) Sequence (Fasta?) data
(3) Qual data
(4) Contig data
(5) Library and Genebank data.
Is this accurate?
We can proceed from there.
> Regarding the schema, I am not very confident that the relationships
> I define as one to many are correct. For instance, the relationship
> between the three clone tables (clone, clone_fasta, clone_qual). For
> the clone::clone_fasta relationship I define this as:
> Each clone has one and only one sequence (one to one)
> a sequence exists for one or more clones (one to many).
>
> Is this correct?
That's what I'm asking you. The difficulty is that I really don't
understand what you're doing with sequences. Maybe you could get a
collegue to render an opinion?
> Here were the TABLES I had proposed, but which are probably in need
> of tweaking. Sample data are provided to the right.
We need to answer the relationship questions before we can arraive at a
correct table design.
-Josh
______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh@agliodbs.com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: josh@agliodbs.com, chauser@acpub.duke.edu
Subject: Re: [NOVICE] Storing number '001' ?
In-Reply-To: <web-528837@davinci.ethosmedia.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox