Input/output system description


Inputs can be an entry in the following tables:
reg_seq
tf_complex
condition
sample
cell
matrix
construct


Outputs can be an entry in any of the following tables:
expression
interaction

T hen it all depends on what type of relationship we have:

1. If there is one-to-one:
reg_seq drives the expression:
reg_seq- input_id
expression - output_id
then we link through i/o link system:
input_id is inserted in analysis_i_link
output_id is inserted in analysis_o_link
now the new analysis_i_link_id and analysis_o_link_id are stored in the
new records in analysis_o_link and analysis_i_link tables accordingly.

2. However if we have one to many:
reg_seq-input_id
tf_complex-input
interaction-output_id
then we do the same thing, except that analysis_i_link_id is not stored
in analysis_o_link table.

Here is a flowchart explaining the process of storing and querying data.