table_name	column_index	column_name	column_title	datatype	scale	precision	nullable	default_value	is_auto_inc	fk_table	fk_column_name	is_required	input_type	input_length	onChange	is_data_column	is_display_column	is_key_field	column_text	optionlist_query	url
IN_biosequence_set	1	biosequence_set_id	BioSequence Set ID	int	4	0	N		Y							N	N				pkDEFAULT
IN_biosequence_set	2	project_id	Owner Project	int	4	0	N		N	project	project_id	Y	optionlist			Y	Y	N	Project under which this Biosequence Set is organized and for which user privileges is controlled	SELECT DISTINCT P.project_id,UL.username+' - '+P.name FROM $TB_PROJECT P LEFT JOIN $TB_USER_LOGIN UL ON ( P.PI_contact_id=UL.contact_id ) WHERE P.record_status != 'D' AND P.project_id IN ( $accessible_project_ids ) ORDER BY UL.username+' - '+P.name,P.project_id	
IN_biosequence_set	3	organism_id	Organism	int	4	0	N		N	organism	organism_id	Y	optionlist			Y	Y	N	Organism to which the BioSequences in this database belong	SELECT organism_id, organism_name FROM $TB_ORGANISM ORDER BY sort_order,organism_name	
IN_biosequence_set	4	set_name	Set Name	varchar	100	0	N		N			Y	text	50		Y	Y	N	Name of this BioSequence database		
IN_biosequence_set	5	set_tag	Set Tag	varchar	50	0	N		N			Y	text	20		Y	Y	Y	Short tag (name) of this BioSequence database		
IN_biosequence_set	6	set_description	Set Description	varchar	255	0	N		N			Y	text	50		Y	Y	N	Longer description of this BioSequence database		
IN_biosequence_set	7	set_version	Set Version	varchar	50	0	N		N			Y	text	40		Y	Y	N	Version of this BioSequence database		
IN_biosequence_set	8	polymer_type_id	Polymer Type	int	4	0	N		N	BL_polymer_type	polymer_type_id	Y	optionlist			Y	Y	N	Polymer type (e.g. protein, DNA, RNA) for the BioSequences in this database	SELECT polymer_type_id, polymer_type_name FROM $TBBL_POLYMER_TYPE ORDER BY sort_order,polymer_type_name	
IN_biosequence_set	9	upload_file	Upload file	varchar	255	0	Y		N			N	file	40		Y	Y	N	File path of this BioSequence database if to be uploaded via the web interface		
IN_biosequence_set	10	set_path	Set Path	varchar	255	0	N		N			Y	text	50		Y	Y	N	File path of this BioSequence database		
IN_biosequence_set	11	source_file_date	Source File Date	datetime	8	0	Y		N			N	text	40		N	N	N	Date of the FASTA file at last update		
IN_biosequence_set	12	uri	URI	varchar	255	0	Y		N			N	text	50		Y	Y	N	External web page or other URI		SELF
IN_biosequence_set	13	comment	Comment	text	16	0	Y		N			N	textarea	4		Y	Y	N	Additional comments		
IN_biosequence_set	14	sort_order	Sort Order	int	4	0	N	10	N			Y	text	20		Y	Y	N	Allows the ordering or ranking of Biosequence Sets which is used to break ties for choosing canonical names.  Lower numbers indicate better rank.		
IN_biosequence_set	15	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_biosequence_set	16	created_by_id	Record Created By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_biosequence_set	17	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_biosequence_set	18	modified_by_id	Record Modified By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_biosequence_set	19	owner_group_id	Owner Group ID	int	4	0	N	1	N	work_group	work_group_id					N	N				
IN_biosequence_set	20	record_status	Record Status	char	1	0	N	N	N							N	N				
IN_dbxref	1	dbxref_id	dbxref ID	int	4	0	N		Y							N	N				pkDEFAULT
IN_dbxref	2	dbxref_name	CrossRef Name	varchar	50	0	N		N			Y	text	40		Y	Y	N	Name of this Database Cross Reference		
IN_dbxref	3	dbxref_tag	CrossRef Tag	varchar	20	0	N		N			Y	text	20		Y	Y	Y	Short tag (name) of this Database Cross Reference		
IN_dbxref	4	dbxref_description	Description	varchar	255	0	N		N			Y	text	50		Y	Y	N	Longer description of this Database Cross Reference		
IN_dbxref	5	accessor	Accessor	varchar	255	0	N		N			Y	text	50		Y	Y	N	Part of a URL or URI to which an accession number can be appended to get more information about the entity using this cross reference		
IN_dbxref	6	accessor_suffix	Accessor Suffix	varchar	255	0	Y		N			N	text	50		Y	Y	N	Part of a URL or URI which comes after the accession number to build the full URL to get more information about the entity using this cross reference		
IN_dbxref	7	uri	URI	varchar	255	0	N		N			Y	text	50		Y	Y	N	External web page or other URI of the database		SELF
IN_dbxref	8	comment	Comment	text	16	0	Y		N			N	textarea	4		Y	Y	N	Additional comments		
IN_dbxref	9	sort_order	Sort Order	int	4	0	N	10	N							N	N	N			
IN_dbxref	10	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_dbxref	11	created_by_id	Record Created By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_dbxref	12	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_dbxref	13	modified_by_id	Record Modified By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_dbxref	14	owner_group_id	Owner Group ID	int	4	0	N	1	N	work_group	work_group_id					N	N				
IN_dbxref	15	record_status	Record Status	char	1	0	N	N	N							N	N				
IN_biosequence	1	biosequence_id	BioSequence ID	int	4	0	N		Y							N	N				pkDEFAULT
IN_biosequence	2	biosequence_set_id	BioSequence Set	int	4	0	N		N	IN_biosequence_set	biosequence_set_id					N	N	Y	BioSequence Set to which this BioSequence belongs		pkDEFAULT
IN_biosequence	3	biosequence_name	BioSequence Name	varchar	255	0	N		N			Y	text	50		Y	Y	Y	Name of this BioSequence (generally everything before the first space in a FASTA file header line)		
IN_biosequence	4	biosequence_gene_name	BioSequence Gene Name	varchar	255	0	Y		N			Y	text	20		Y	Y	N	Gene name of this BioSequence if applicable.  Most common gene name if applicable		
IN_biosequence	5	dbxref_id	Database Cross Reference	int	4	0	Y		N	IN_dbxref	dbxref_id					Y	Y	N	Database cross reference for which the accession number applies		pkDEFAULT
IN_biosequence	6	biosequence_accession	BioSequence Accession	varchar	255	0	Y		N			Y	text	50		Y	Y	N	Accession number for this BioSequence in some external database designated above		
IN_biosequence	7	biosequence_desc	Biosequence Description	varchar	1024	0	N		N			Y	text	40		Y	Y	N	Description of this BioSequence (generally everything after the first space in a FASTA file header line)		
IN_biosequence	8	biosequence_seq	Sequence	text	16	0	Y		N			N	file	40		Y	Y	N	Actual sequence of the BioSequence if known		
IN_query_option	1	query_option_id	Query Option ID	int	4	0	N		Y							N	N				pkDEFAULT
IN_query_option	2	option_type	Option Type	varchar	255	0	N		N			Y	text	50		Y	Y	Y	Type or category of this option		
IN_query_option	3	option_key	Option Key	varchar	255	0	N		N			Y	text	50		Y	Y	Y	Key for this key/value pair option		
IN_query_option	4	option_value	Option Value	varchar	255	0	Y		N			Y	text	50		Y	Y	N	Value of this key/value pair option		
IN_query_option	5	sort_order	Sort Order	int	4	0	N	10	N			N	text	10		Y	Y	N	Numbers which override alphabetical sorting in a list box		
IN_query_option	6	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_query_option	7	created_by_id	Record Created By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_query_option	8	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_query_option	9	modified_by_id	Record Modified By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_query_option	10	owner_group_id	Owner Group ID	int	4	0	N	1	N	work_group	work_group_id					N	N				
IN_query_option	11	record_status	Record Status	char	1	0	N	N	N							N	N				
IN_publication_category	1	publication_category_id	Publication Category ID	int	4	0	N		Y							N	N				pkDEFAULT
IN_publication_category	2	publication_category_name	Publication Category Name	varchar	100	0	N		N			Y	text	40		Y	Y	Y	Short name of this category as it will appear in list boxes		
IN_publication_category	3	publication_category_description	Publication Category Description	varchar	255	0	N		N			Y	text	50		Y	Y	N	More complete description of this publication category		
IN_publication_category	4	comment	Comment	text	16	0	Y		N			N	textarea	4		Y	Y	N	Additional comments		
IN_publication_category	5	sort_order	Sort Order	int	2	0	N	10	N			N	text	10		Y	Y	N	Numbers which override alphabetical sorting in a list box		
IN_publication_category	6	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_publication_category	7	created_by_id	Record Created By	int	2	0	N	1	N	contact	contact_id					N	N				
IN_publication_category	8	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_publication_category	9	modified_by_id	Record Modified By	int	2	0	N	1	N	contact	contact_id					N	N				
IN_publication_category	10	owner_group_id	Owner Group ID	int	2	0	N	1	N	work_group	work_group_id					N	N				
IN_publication_category	11	record_status	Record Status	char	1	0	N	N	N							N	N				
IN_publication	1	publication_id	Publication ID	int	8	0	N		Y							N	N				pkDEFAULT
IN_publication	2	pubmed_ID	PubMed ID	varchar	50	0	Y		N			Y	text	30	refreshDocument()	Y	Y	Y	"PubMed ID for this publication.  When this field is changed, the interface fetch the title,author,etc. information for you if the field below this (Publication Name) is empty"		http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Retrieve&db=PubMed&list_uids=%V&dopt=Abstract
IN_publication	3	publication_name	Publication Name	varchar	100	0	N		N			Y	text	50		Y	Y	Y	"Friendly name of the citation, e.g. Dewey, Cheetham & Howe (1998)"		
IN_publication	4	keywords	Keywords	varchar	255	0	Y		N			N	text	50		Y	Y	N	A comma-separated list of keywords appropriate when searching for papers of this sort		
IN_publication	5	publication_category_id	Publication Category	int	4	0	Y		N	IN_publication_category	publication_category_id	N	optionlist			Y	Y	N	Broad category within which this publication is classified	"SELECT publication_category_id,publication_category_name FROM $TBIN_PUBLICATION_CATEGORY WHERE record_status != 'D' ORDER BY sort_order,publication_category_name"	
IN_publication	6	title	Title	varchar	255	0	Y		N			N	textarea	2		Y	Y	N	Title of the article		
IN_publication	7	author_list	Author List	varchar	255	0	Y		N			N	textarea	2		Y	Y	N	"Author list in 'Lastname, FIMI' format"		
IN_publication	8	journal_name	Journal Name	varchar	100	0	Y		N			N	text	50		Y	Y	N	Name of the Journal in which the article appears		
IN_publication	9	published_year	Published Year	varchar	10	0	Y		N			N	text	20		Y	Y	N	Year the article was published		
IN_publication	10	volume_number	Volume Number	varchar	50	0	Y		N			N	text	20		Y	Y	N	Volume number of the article		
IN_publication	11	issue_number	Issue Number	varchar	50	0	Y		N			N	text	20		Y	Y	N	Issue number of the article		
IN_publication	12	page_numbers	Page Numbers	varchar	50	0	Y		N			N	text	30		Y	Y	N	Page numbers of the article		
IN_publication	13	publisher_name	Publisher Name	varchar	255	0	Y		N			N	text	40		Y	Y	N	Name of the publisher		
IN_publication	14	editor_name	Editor Name	varchar	255	0	Y		N			N	text	40		Y	Y	N	"Name of the editor, if any"		
IN_publication	15	uri	URI	varchar	255	0	Y		N			N	text	50		Y	Y	N	"URL of other locator for the article, either out on the Internet or in the location Publications repository"		SELF
IN_publication	16	abstract	Abstract	text	16	0	Y		N			N	textarea	4		Y	Y	N	Plain text abstract of the article		
IN_publication	17	full_manuscript_file	Manuscript File Upload	varchar	255	0	Y		N			N	file	40		Y	Y	N	Actual file containing the manuscript (e.g. in PDF format)		
IN_publication	18	comment	Comment	text	16	0	Y		N			N	textarea	4		Y	Y	N	Additional comments		
IN_publication	19	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_publication	20	created_by_id	Record Created By	int	8	0	N		N	contact	contact_id					N	N				
IN_publication	21	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_publication	22	modified_by_id	Record Modified By	int	8	0	N		N	contact	contact_id					N	N				
IN_publication	23	owner_group_id	Owner Group ID	int	8	0	N	1	N	work_group	work_group_id					N	N				
IN_publication	24	record_status	Record Status	char	1	0	N	N	N							N	N				
IN_bioentity	1	bioentity_id	BioEntity ID	int	4	0	N		Y							N	N				pkDEFAULT
IN_bioentity	2	organism_id	Organism	int	4	0	N		N	organism	organism_id	Y	optionlist			Y	Y	Y	Organism for this BioEntity	"SELECT organism_id, organism_name FROM $TB_ORGANISM ORDER BY sort_order,organism_name"	
IN_bioentity	3	bioentity_common_name	BioEntity Common Name	varchar	255	0	Y		N			N	text	50		Y	Y	Y	"Common name of this BioEntity. Often the gene symbol, eg. TLR2"		
IN_bioentity	4	bioentity_canonical_name	BioEntity Canonical Name	varchar	255	0	Y		N			N	text	50		Y	Y	Y	Canonical name of this BioEntity. This is the most offical ref. for this entitiy. Use of a RefSeq identifier is recommended (eg. NP_001203)		
IN_bioentity	5	bioentity_full_name	BioEntity Full Name	varchar	255	0	Y		N			N	text	50		Y	Y	N	Full name of this BioEntity (eg. Toll-like Receptor 2)		
IN_bioentity	6	bioentity_canonical_gene_name	BioEntity Canonical GeneName	varchar	255	0	Y		N			N	text	50		Y	N	N	Canonical GeneName of this BioEntity		
IN_bioentity	7	bioentity_aliases	BioEntity Aliases	varchar	255	0	Y		N			N	textarea	2		Y	Y	N	SemiColon seperated list of other Aliases for this BioEntity		
IN_bioentity	8	geneID	GeneID	int	4	0	Y		N			N	text	15		Y	Y	Y	GeneID of this BioEntity. (Formerly known as locusID)		 http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=gene&cmd=retrieve&dopt=grahics&list_uids=%V
IN_bioentity	9	bioentity_location	BioEntity Location	varchar	255	0	Y		N			N	text	50		Y	Y	N	Comma seperated list of locales where this BioEntity is found		
IN_bioentity	10	bioentity_member_ids	BioEnitity Members	varchar	255	0	Y		N	IN_bioentity_member	bioentity_member_id	N	multilink			Y	Y	N	List of BioEntities known to be members of this BioEntity Complex	"SELECT bioentity_id, bioentity_common_name + ' ' + ISNULL(BT.bioentity_type_name,'BioEntity Type?') + ' (' + ISNULL(O.organism_name,'Organism?') +')' AS ""bioentity_descriptor"" FROM $TBIN_BIOENTITY BE LEFT JOIN $TBIN_BIOENTITY_TYPE BT ON ( BE.bioentity_type_id = BT.bioentity_type_id ) LEFT JOIN $TB_ORGANISM O ON ( BE.organism_id = O.organism_id ) ORDER BY bioentity_common_name"	
IN_bioentity	11	bioentity_type_id	BioEntity Type	int	4	0	N		N	IN_bioentity_type	bioentity_type_id	Y	optionlist			Y	Y	Y	Type of the BioEntity	"SELECT bioentity_type_id, bioentity_type_name FROM $TBIN_BIOENTITY_TYPE ORDER BY sort_order,bioentity_type_name"	
IN_bioentity	12	biosequence_id	BioSequence ID	int	4	0	Y		N	IN_biosequence	biosequence_id	N	optionlist			N	N	N	BioSequence identification	"SELECT 1,2"	
IN_bioentity	13	comment	Comment	text	16	0	Y		N			N	textarea	4		Y	Y	N	Additional comments		
IN_bioentity	14	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_bioentity	15	created_by_id	Record Created By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_bioentity	16	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_bioentity	17	modified_by_id	Record Modified By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_bioentity	18	owner_group_id	Owner Group ID	int	4	0	N	1	N	work_group	work_group_id					N	N				
IN_bioentity	19	record_status	Record Status	char	1	0	N	N	N							N	N				
IN_bioentity_type	1	bioentity_type_id	BioEntity Type ID	int	4	0	N		Y							N	N				pkDEFAULT
IN_bioentity_type	2	bioentity_type_name	BioEntity Type Name	varchar	50	0	N		N			Y	text	40		Y	Y	Y	Name of this BioEntity Type		
IN_bioentity_type	3	bioentity_type_description	Description	varchar	255	0	N		N			Y	text	50		Y	Y	N	Longer description of this BioEntity Type		
IN_bioentity_type	4	comment	Comment	text	16	0	Y		N			N	textarea	4		Y	Y	N	Additional comments		
IN_bioentity_type	5	sort_order	Sort Order	int	4	0	N	10	N							N	N	N	Integer key by which these entities are usually sorted		
IN_bioentity_type	6	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_bioentity_type	7	created_by_id	Record Created By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_bioentity_type	8	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_bioentity_type	9	modified_by_id	Record Modified By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_bioentity_type	10	owner_group_id	Owner Group ID	int	4	0	N	1	N	work_group	work_group_id					N	N				
IN_bioentity_type	11	record_status	Record Status	char	1	0	N	N	N							N	N				
IN_regulatory_feature	1	regulatory_feature_id	Regulatory Feature ID	int	4	0	N		Y							N	N				pkDEFAULT
IN_regulatory_feature	2	bioentity_id	Bioentity	int	4	0	N		N	IN_bioentity	bioentity_id	Y	optionlist			Y	Y	N		"SELECT bioentity_id, bioentity_common_name + ' ' + ISNULL(BT.bioentity_type_name,'BioEntity Type?') + ' (' + ISNULL(O.organism_name,'Organism?') +')' AS ""bioentity_descriptor"" FROM $TBIN_BIOENTITY BE LEFT JOIN $TBIN_BIOENTITY_TYPE BT ON ( BE.bioentity_type_id = BT.bioentity_type_id ) LEFT JOIN $TB_ORGANISM O ON ( BE.organism_id = O.organism_id ) ORDER BY bioentity_common_name"	
IN_regulatory_feature	3	regulatory_feature_type_id	Regulatory Feature Type	int	4	0	N		N	IN_regulatory_feature_type	regulatory_feature_type_id	Y	optionlist			Y	Y	N		"SELECT regulatory_feature_type_id, regulatory_feature_type_name FROM $TBIN_REGULATORY_FEATURE_TYPE ORDER BY sort_order,regulatory_feature_type_name"	
IN_regulatory_feature	4	regulatory_feature_name	Regulatory Feature Name	varchar	255	0	N		N			Y	text	40		Y	Y	Y	Name of this Regulatory Feature		
IN_regulatory_feature	5	regulatory_feature_description	Description	varchar	255	0	N		N			Y	text	50		Y	Y	N	Longer description of this Regulatory Feature		
IN_regulatory_feature	6	assay_id	Assay	int	4	0	Y		N	IN_assay	assay_id	N	optionlist			Y	Y	N		"SELECT assay_id, assay_name FROM $TBIN_ASSAY ORDER BY assay_name"	
IN_regulatory_feature	7	comment	Comment	text	16	0	Y		N			N	textarea	4		Y	Y	N	Additional comments		
IN_regulatory_feature	8	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_regulatory_feature	9	created_by_id	Record Created By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_regulatory_feature	10	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_regulatory_feature	11	modified_by_id	Record Modified By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_regulatory_feature	12	owner_group_id	Owner Group ID	int	4	0	N	1	N	work_group	work_group_id					N	N				
IN_regulatory_feature	13	record_status	Record Status	char	1	0	N	N	N							N	N				
IN_regulatory_feature_type	1	regulatory_feature_type_id	Regulatory Feature Type ID	int	4	0	N		Y							N	N				pkDEFAULT
IN_regulatory_feature_type	2	parent_regulatory_feature_type_id	Parent Regulatory Feature Type	int	4	0	Y		N			N	optionlist			Y	Y	N	Optional Parent Type	"SELECT regulatory_feature_type_id, regulatory_feature_type_name FROM $TBIN_REGULATORY_FEATURE_TYPE ORDER BY sort_order,regulatory_feature_type_name"	
IN_regulatory_feature_type	3	regulatory_feature_type_name	Regulatory Feature Type Name	varchar	255	0	N		N			Y	text	40		Y	Y	Y	Name of this Regulatory Feature Type		
IN_regulatory_feature_type	4	regulatory_feature_type_description	Description	varchar	255	0	N		N			Y	text	50		Y	Y	N	Longer description of this Regulatory Feature Type		
IN_regulatory_feature_type	5	comment	Comment	text	16	0	Y		N			N	textarea	4		Y	Y	N	Additional comments		
IN_regulatory_feature_type	6	sort_order	Sort Order	int	4	0	N	10	N							Y	Y	N	Integer key by which these entities are usually sorted		
IN_regulatory_feature_type	7	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_regulatory_feature_type	8	created_by_id	Record Created By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_regulatory_feature_type	9	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_regulatory_feature_type	10	modified_by_id	Record Modified By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_regulatory_feature_type	11	owner_group_id	Owner Group ID	int	4	0	N	1	N	work_group	work_group_id					N	N				
IN_regulatory_feature_type	12	record_status	Record Status	char	1	0	N	N	N							N	N				
IN_interaction	1	interaction_id	Interaction ID	int	4	0	N		Y							N	N	N			pkDEFAULT
IN_interaction	2	interaction_group_id	Interaction Group	int	4	0	N		N	IN_interaction_group	interaction_group_id	Y	optionlist			Y	Y	Y	Interaction Group under which this Interaction should be stored.  Note that this classification is somewhat arbitrary and is mainly an organizational and querying aid.	"SELECT interaction_group_id,UL.username+' - '+P.project_tag+' - '+O.organism_name+' - '+IG.interaction_group_name FROM $TBIN_INTERACTION_GROUP IG INNER JOIN $TB_PROJECT P ON ( IG.project_id = P.project_id ) INNER JOIN $TB_USER_LOGIN UL ON ( P.PI_contact_id = UL.contact_id ) INNER JOIN $TB_ORGANISM O ON ( IG.organism_id = O.organism_id ) WHERE IG.record_status!='D' ORDER BY UL.username,P.project_tag,O.organism_name,IG.interaction_group_name"	
IN_interaction	3	bioentity1_id	BioEntity1	int	4	0	N		N	IN_bioentity	bioentity_id	Y	optionlist			Y	Y	Y	Bioentity1	"SELECT bioentity_id, ISNULL(bioentity_common_name, 'CommonName?') + ' ' + '['+ ISNULL( BE.bioentity_canonical_name,'CanonicalName?') + '] '+ ISNULL(BT.bioentity_type_name,'BioEntity Type?') + ' (' + ISNULL(O.organism_name,'Organism?') +')' AS ""bioentity_descriptor"" FROM $TBIN_BIOENTITY BE LEFT JOIN $TBIN_BIOENTITY_TYPE BT ON ( BE.bioentity_type_id = BT.bioentity_type_id ) LEFT JOIN $TB_ORGANISM O ON ( BE.organism_id = O.organism_id ) WHERE BE.record_status!='D' ORDER BY bioentity_common_name"	
IN_interaction	4	bioentity1_state_id	BioEntity1 State	int	4	0	Y		N	IN_bioentity_state	bioentity_state_id	N	optionlist			Y	Y	Y	The State of Bioentity1	"SELECT bioentity_state_id, bioentity_state_name FROM $TBIN_BIOENTITY_STATE WHERE record_status != 'D' ORDER BY bioentity_state_name"	
IN_interaction	5	while_member_of_bioentity1_id	Member1 of a Complex	int	4	0	Y		N			N	optionlist			Y	Y	Y	Interacts with other bioentities when it is a member of a Complex	"SELECT bioentity_id, ISNULL(bioentity_common_name, 'CommonName?') + ' ' + '['+ ISNULL( BE.bioentity_canonical_name,'CanonicalName?') + '] '+ ISNULL(BT.bioentity_type_name,'BioEntity Type?') + ' (' + ISNULL(O.organism_name,'Organism?') +')' AS ""bioentity_descriptor"" FROM $TBIN_BIOENTITY BE LEFT JOIN $TBIN_BIOENTITY_TYPE BT ON ( BE.bioentity_type_id = BT.bioentity_type_id ) LEFT JOIN $TB_ORGANISM O ON ( BE.organism_id = O.organism_id ) WHERE BE.record_status!='D' and BE.bioentity_type_id = 3 ORDER BY bioentity_common_name"	https://db.systemsbiology.net/sbeams/cgi/Interactions/ManageTable.cgi?TABLE_NAME=IN_bioentity&bioentity_id=%V
IN_interaction	6	regulatory_feature1_id	Regulatory Feature of Bioentity1	int	4	0	Y		N	IN_regulatory_feature	regulatory_feature_id	N	optionlist			Y	Y	Y	The Regulatory Feature of Bioentity1	"SELECT regulatory_feature_id, regulatory_feature_name FROM $TBIN_REGULATORY_FEATURE WHERE record_status != 'D' ORDER BY regulatory_feature_name"	
IN_interaction	7	interaction_type_id	Interaction Type	int	4	0	N		N	IN_interaction_type	interaction_type_id	Y	optionlist			Y	Y	N	The Type of Interaction	"SELECT interaction_type_id, interaction_type_name FROM $TBIN_INTERACTION_TYPE WHERE record_status != 'D' ORDER BY interaction_type_name"	
IN_interaction	8	bioentity2_id	BioEntity2	int	4	0	N		N	IN_bioentity	bioentity_id	Y	optionlist			Y	Y	Y	Bioentity2	"SELECT bioentity_id, ISNULL(bioentity_common_name, 'CommonName?') + ' ' + '['+ ISNULL( BE.bioentity_canonical_name,'CanonicalName?') + '] '+ ISNULL(BT.bioentity_type_name,'BioEntity Type?') + ' (' + ISNULL(O.organism_name,'Organism?') +')' AS ""bioentity_descriptor"" FROM $TBIN_BIOENTITY BE LEFT JOIN $TBIN_BIOENTITY_TYPE BT ON ( BE.bioentity_type_id = BT.bioentity_type_id ) LEFT JOIN $TB_ORGANISM O ON ( BE.organism_id = O.organism_id ) WHERE BE.record_status!='D' ORDER BY bioentity_common_name"	
IN_interaction	9	bioentity2_state_id	BioEntity2 State	int	4	0	Y		N	IN_bioentity_state	bioentity_state_id	N	optionlist			Y	Y	Y	The State of Bioentity2	"SELECT bioentity_state_id, bioentity_state_name FROM $TBIN_BIOENTITY_STATE WHERE record_status != 'D' ORDER BY bioentity_state_name"	
IN_interaction	10	while_member_of_bioentity2_id	Member2 of a Complex	int	4	0	Y		N			N	optionlist			Y	Y	Y	Interacts with other bioentities when it is a member of a Complex	"SELECT bioentity_id, ISNULL(bioentity_common_name, 'CommonName?') + ' ' + '['+ ISNULL( BE.bioentity_canonical_name,'CanonicalName?') + '] '+ ISNULL(BT.bioentity_type_name,'BioEntity Type?') + ' (' + ISNULL(O.organism_name,'Organism?') +')' AS ""bioentity_descriptor"" FROM $TBIN_BIOENTITY BE LEFT JOIN $TBIN_BIOENTITY_TYPE BT ON ( BE.bioentity_type_id = BT.bioentity_type_id ) LEFT JOIN $TB_ORGANISM O ON ( BE.organism_id = O.organism_id ) WHERE BE.record_status!='D' and BE.bioentity_type_id = 3 ORDER BY bioentity_common_name"	https://db.systemsbiology.net/sbeams/cgi/Interactions/ManageTable.cgi?TABLE_NAME=IN_bioentity&bioentity_id=%V
IN_interaction	11	regulatory_feature2_id	Regulatory Feature of Bioentity2	int	4	0	Y		N	IN_regulatory_feature	regulatory_feature_id	N	optionlist			Y	Y	Y	The Regulatory Feature of Bioentity2	"SELECT regulatory_feature_id, regulatory_feature_name FROM $TBIN_REGULATORY_FEATURE WHERE record_status != 'D' ORDER BY regulatory_feature_name"	
IN_interaction	12	confidence_score_id	Confidence Score for Interaction	int	4	0	Y		N	IN_confidence_score	confidence_score_id	N	optionlist			Y	Y	N	The Confidence Score for the Interaction	"SELECT confidence_score_id, confidence_score_name FROM $TBIN_CONFIDENCE_SCORE WHERE record_status != 'D' ORDER BY sort_order,confidence_score_name"	
IN_interaction	13	interaction_name	Interaction Name	varchar	255	0	Y		N			N	text	50		Y	Y	N	An optional name of this Interaction		
IN_interaction	14	interaction_description	Description of Interaction	varchar	255	0	Y		N			N	textarea	4		Y	Y	N	An optional detailed description of this Interaction		
IN_interaction	15	assay_id	Assay	int	4	0	Y		N	IN_assay	assay_id	N	optionlist			Y	Y	Y	The Assay from which the Interaction was Determined	"SELECT assay_id, assay_name FROM $TBIN_ASSAY WHERE record_status != 'D' ORDER BY assay_name"	
IN_interaction	16	publication_id	Publication	int	4	0	Y		N	IN_publication	publication_id	N	optionlist			Y	Y	Y	The Publication from which the Interaction was taken.  NOTE: It is strongly recommened that the user defined an Assay and then link the Assay to the Publication instead of using this link.  This allows specification of the Assay Type that was used to determine the interaction.	"SELECT publication_id, publication_name+'(PMID '+pubmed_ID+')' FROM $TBIN_PUBLICATION WHERE record_status != 'D' ORDER BY publication_name"	
IN_interaction	17	comment	Comment	text	16	0	Y		N			N	textarea	4		Y	Y	N	Additional comments		
IN_interaction	18	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_interaction	19	created_by_id	Record Created By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_interaction	20	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_interaction	21	modified_by_id	Record Modified By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_interaction	22	owner_group_id	Owner Group ID	int	4	0	N	1	N	work_group	work_group_id					N	N				
IN_interaction	23	record_status	Record Status	char	1	0	N	N	N							N	N				
IN_interaction_type	1	interaction_type_id	Interaction Type ID	int	4	0	N		Y							N	N				pkDEFAULT
IN_interaction_type	2	parent_interaction_type_id	Parent Interaction Type	int	4	0	Y		N	IN_interaction_type	interaction_type_id	N	optionlist			Y	Y	N	Optional Parent Type	"SELECT interaction_type_id, interaction_type_name FROM $TBIN_INTERACTION_TYPE ORDER BY sort_order,interaction_type_name"	
IN_interaction_type	3	interaction_type_name	Interaction Type Name	varchar	255	0	N		N			Y	text	40		Y	Y	Y	Name of this Interaction Type		
IN_interaction_type	4	interaction_type_description	Description	varchar	255	0	N		N			Y	text	50		Y	Y	N	Longer description of this Interaction Type		
IN_interaction_type	5	comment	Comment	text	16	0	Y		N			N	textarea	4		Y	Y	N	Additional comments		
IN_interaction_type	6	sort_order	Sort Order	int	4	0	N	10	N			N	text	20		Y	Y	N	Integer key by which these entities are usually sorted		
IN_interaction_type	7	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_interaction_type	8	created_by_id	Record Created By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_interaction_type	9	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_interaction_type	10	modified_by_id	Record Modified By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_interaction_type	11	owner_group_id	Owner Group ID	int	4	0	N	1	N	work_group	work_group_id					N	N				
IN_interaction_type	12	record_status	Record Status	char	1	0	N	N	N							N	N				
IN_interaction_group	1	interaction_group_id	Interaction Group ID	int	4	0	N		Y							N	N				pkDEFAULT
IN_interaction_group	2	project_id	Project	int	4	0	N		N	project	project_id	Y	optionlist			Y	Y	Y	Project to which this Interaction Group belongs	"SELECT project_id,username+' - '+name FROM $TB_PROJECT P LEFT JOIN $TB_USER_LOGIN UL ON ( P.PI_contact_id=UL.contact_id ) WHERE P.record_status != 'D' ORDER BY username,name"	
IN_interaction_group	3	organism_id	Organism	int	4	0	N		N	organism	organism_id	Y	optionlist			Y	Y	Y	Organism for this BioEntity	"SELECT organism_id, organism_name FROM $TB_ORGANISM ORDER BY sort_order,organism_name"	
IN_interaction_group	4	interaction_group_name	Interaction Group Name	varchar	255	0	N		N			Y	text	40		Y	Y	Y	"Name of this Interaction Group.  This is a broad-brush classification of interactions to aid querying.  You may have two separate Interaction Groups of the same name as long as they belong to different Organisms; in fact, it is encouraged."		
IN_interaction_group	5	interaction_group_description	Description	varchar	255	0	N		N			Y	text	50		Y	Y	N	Longer description of this Interaction Group		
IN_interaction_group	6	comment	Comment	text	16	0	Y		N			N	textarea	4		Y	Y	N	Additional comments		
IN_interaction_group	7	sort_order	Sort Order	int	4	0	N	10	N							N	N	N	Integer key by which these entities are usually sorted		
IN_interaction_group	8	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_interaction_group	9	created_by_id	Record Created By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_interaction_group	10	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_interaction_group	11	modified_by_id	Record Modified By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_interaction_group	12	owner_group_id	Owner Group ID	int	4	0	N	1	N	work_group	work_group_id					N	N				
IN_interaction_group	13	record_status	Record Status	char	1	0	N	N	N							N	N				
IN_bioentity_state	1	bioentity_state_id	Bioentity State ID	int	4	0	N		Y							N	N				pkDEFAULT
IN_bioentity_state	2	bioentity_state_name	Bioentity State Name	varchar	255	0	N		N			Y	text	40		Y	Y	Y	Name of this Bioentity State		
IN_bioentity_state	3	bioentity_state_description	Description	varchar	255	0	N		N			Y	text	50		Y	Y	N	Longer description of this Bioentity State		
IN_bioentity_state	4	comment	Comment	text	16	0	Y		N			N	textarea	4		Y	Y	N	Additional comments		
IN_bioentity_state	5	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_bioentity_state	6	created_by_id	Record Created By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_bioentity_state	7	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_bioentity_state	8	modified_by_id	Record Modified By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_bioentity_state	9	owner_group_id	Owner Group ID	int	4	0	N	1	N	work_group	work_group_id					N	N				
IN_bioentity_state	10	record_status	Record Status	char	1	0	N	N	N							N	N				
IN_confidence_score	1	confidence_score_id	Interaction Type ID	int	4	0	N		Y							N	N				pkDEFAULT
IN_confidence_score	2	confidence_score_name	Interaction Type Name	varchar	255	0	N		N			Y	text	40		Y	Y	Y	Name of this Confidence Score		
IN_confidence_score	3	confidence_score_description	Description	varchar	255	0	N		N			Y	text	50		Y	Y	N	Longer description of this Confidence Score		
IN_confidence_score	4	confidence_score_value	Value of Confidence Score	real	4	0	N		N			Y	text	10		Y	Y	N	Decimal number between 0.0 and 1.0 similar to a probability of being correct		
IN_confidence_score	5	comment	Comment	text	16	0	Y		N			N	textarea	4		Y	Y	N	Additional comments		
IN_confidence_score	6	sort_order	Sort Order	int	4	0	N	10	N			N	text	10		Y	Y	N	Integer key by which these entities are usually sorted		
IN_confidence_score	7	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_confidence_score	8	created_by_id	Record Created By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_confidence_score	9	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_confidence_score	10	modified_by_id	Record Modified By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_confidence_score	11	owner_group_id	Owner Group ID	int	4	0	N	1	N	work_group	work_group_id					N	N				
IN_confidence_score	12	record_status	Record Status	char	1	0	N	N	N							N	N				
IN_assay_type	1	assay_type_id	Assay Type ID	int	4	0	N		Y							N	N				pkDEFAULT
IN_assay_type	2	assay_type_name	Assay Type Name	varchar	255	0	N		N			Y	text	40		Y	Y	Y	Name of this Assay Type		
IN_assay_type	3	assay_type_description	Description	varchar	255	0	N		N			Y	text	50		Y	Y	N	Longer description of this Assay Type		
IN_assay_type	4	comment	Comment	text	16	0	Y		N			N	textarea	4		Y	Y	N	Additional comments		
IN_assay_type	5	sort_order	Sort Order	int	4	0	N	10	N			N	text	10		Y	Y	N	Integer key by which these entities are usually sorted		
IN_assay_type	6	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_assay_type	7	created_by_id	Record Created By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_assay_type	8	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_assay_type	9	modified_by_id	Record Modified By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_assay_type	10	owner_group_id	Owner Group ID	int	4	0	N	1	N	work_group	work_group_id					N	N				
IN_assay_type	11	record_status	Record Status	char	1	0	N	N	N							N	N				
IN_sample_type	1	sample_type_id	Sample Type ID	int	4	0	N		Y							N	N				pkDEFAULT
IN_sample_type	2	sample_type_name	Sample Type Name	varchar	255	0	N		N			Y	text	40		Y	Y	Y	Name of this Sample Type		
IN_sample_type	3	sample_type_description	Description	varchar	255	0	N		N			Y	text	50		Y	Y	N	Longer description of this Sample Type		
IN_sample_type	4	organism_id	Organism	int	4	0	N		N	organism	organism_id	Y	optionlist			Y	Y	N	Organism	"SELECT organism_id, organism_name FROM $TB_ORGANISM ORDER BY sort_order,organism_name"	
IN_sample_type	5	comment	Comment	text	16	0	Y		N			N	textarea	4		Y	Y	N	Additional comments		
IN_sample_type	6	sort_order	Sort Order	int	4	0	N	10	N			N	text	10		Y	Y	N	Integer key by which these entities are usually sorted		
IN_sample_type	7	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_sample_type	8	created_by_id	Record Created By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_sample_type	9	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_sample_type	10	modified_by_id	Record Modified By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_sample_type	11	owner_group_id	Owner Group ID	int	4	0	N	1	N	work_group	work_group_id					N	N				
IN_sample_type	12	record_status	Record Status	char	1	0	N	N	N							N	N				
IN_bioentity_attribute	1	bioentity_attribute_id	BioEntity Attribute ID	int	4	0	N		Y							N	N				pkDEFAULT
IN_bioentity_attribute	2	bioentity_id	BioEntity	int	4	0	N		N	IN_bioentity	bioentity_id	Y	optionlist			Y	Y	N		"SELECT bioentity_id, bioentity_common_name + ' ' + ISNULL(BT.bioentity_type_name,'BioEntity Type?') + ' (' + ISNULL(O.organism_name,'Organism?') +')' AS ""bioentity_descriptor"" FROM $TBIN_BIOENTITY BE LEFT JOIN $TBIN_BIOENTITY_TYPE BT ON ( BE.bioentity_type_id = BT.bioentity_type_id ) LEFT JOIN $TB_ORGANISM O ON ( BE.organism_id = O.organism_id ) ORDER BY bioentity_common_name"	
IN_bioentity_attribute	3	bioentity_attribute_type_id	BioEntity Attribute Type	int	4	0	N		N	IN_bioentity_attribute_type	bioentity_attribute_type_id	Y	optionlist			Y	Y	N		"SELECT bioentity_attribute_type_id, bioentity_attribute_type_name FROM $TBIN_BIOENTITY_ATTRIBUTE_TYPE ORDER BY sort_order,bioentity_attribute_type_name"	
IN_bioentity_attribute	4	bioentity_attribute_description	Description	varchar	255	0	N		N			Y	text	50		Y	Y	N	Longer description of this BioEntity Attribute		
IN_bioentity_attribute	5	bioentity_attribute_value	BioEntity Attribute Value	varchar	255	0	N		N			Y	text	40		Y	Y	Y	Value of this BioEntity Attribute		
IN_bioentity_attribute	6	assay_id	Assay	int	4	0	Y		N	IN_assay	assay_id	N	optionlist			Y	Y	N		"SELECT assay_id, assay_name FROM $TBIN_ASSAY ORDER BY assay_name"	
IN_bioentity_attribute	7	comment	Comment	text	16	0	Y		N			N	textarea	4		Y	Y	N	Additional comments		
IN_bioentity_attribute	8	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_bioentity_attribute	9	created_by_id	Record Created By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_bioentity_attribute	10	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_bioentity_attribute	11	modified_by_id	Record Modified By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_bioentity_attribute	12	owner_group_id	Owner Group ID	int	4	0	N	1	N	work_group	work_group_id					N	N				
IN_bioentity_attribute	13	record_status	Record Status	char	1	0	N	N	N							N	N				
IN_bioentity_attribute_type	1	bioentity_attribute_type_id	BioEntity Attribute Type ID	int	4	0	N		Y							N	N				pkDEFAULT
IN_bioentity_attribute_type	2	parent_bioentity_attribute_type_id	Parent BioEntity Attribute Type	int	4	0	Y		N	IN_bioentity_attribute_type	bioentity_attribute_type_id	N	optionlist			Y	Y	N	Parent Type	"SELECT bioentity_attribute_type_id, bioentity_attribute_type_name FROM $TBIN_BIOENTITY_ATTRIBUTE_TYPE ORDER BY sort_order,bioentity_attribute_type_name"	
IN_bioentity_attribute_type	3	bioentity_attribute_type_name	BioEntity Attribute Type Name	varchar	255	0	N		N			Y	text	40		Y	Y	Y	Name of this BioEntity Attribute Type		
IN_bioentity_attribute_type	4	bioentity_attribute_type_description	Description	varchar	255	0	N		N			Y	text	50		Y	Y	N	Longer description of this BioEntity Attribute Type		
IN_bioentity_attribute_type	5	comment	Comment	text	16	0	Y		N			N	textarea	4		Y	Y	N	Additional comments		
IN_bioentity_attribute_type	6	sort_order	Sort Order	int	4	0	N	10	N							Y	Y	N	Integer key by which these entities are usually sorted		
IN_bioentity_attribute_type	7	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_bioentity_attribute_type	8	created_by_id	Record Created By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_bioentity_attribute_type	9	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_bioentity_attribute_type	10	modified_by_id	Record Modified By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_bioentity_attribute_type	11	owner_group_id	Owner Group ID	int	4	0	N	1	N	work_group	work_group_id					N	N				
IN_bioentity_attribute_type	12	record_status	Record Status	char	1	0	N	N	N							N	N				
IN_assay	1	assay_id	Assay ID	int	4	0	N		Y							N	N				pkDEFAULT
IN_assay	2	assay_type_id	Assay Type	int	4	0	N		N	IN_assay_type	assay_type_id	Y	optionlist			Y	Y	N	Assay Type	"SELECT assay_type_id, assay_type_name FROM $TBIN_ASSAY_TYPE ORDER BY sort_order,assay_type_name"	
IN_assay	3	sample_type_id	Sample Type	int	4	0	Y		N	IN_sample_type	sample_type_id	N	optionlist			Y	Y	N	Sample Type	"SELECT sample_type_id, sample_type_name FROM $TBIN_SAMPLE_TYPE ORDER BY sort_order,sample_type_name"	
IN_assay	4	publication_id	Publication	int	4	0	Y		N	IN_publication	publication_id	N	optionlist			Y	Y	N	Publication	"SELECT publication_id, publication_name+'(PMID '+pubmed_ID+')' FROM $TBIN_PUBLICATION ORDER BY publication_name"	
IN_assay	5	assay_name	Assay Name	varchar	255	0	N		N			Y	text	40		Y	Y	Y	Name of this Assay		
IN_assay	6	assay_description	Description	varchar	255	0	N		N			Y	textarea	4		Y	Y	N	Longer description of this Assay		
IN_assay	7	assay_date	Date Assay Performed	datetime	8	0	Y		N			N	text	20		Y	Y	N	Date of Assay		
IN_assay	8	lab_notebook	Lab Notebook	varchar	255	0	Y		N			N	text	40		Y	Y	N	Lab Notebook		
IN_assay	9	comment	Comment	text	16	0	Y		N			N	textarea	4		Y	Y	N	Additional comments		
IN_assay	10	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_assay	11	created_by_id	Record Created By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_assay	12	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_assay	13	modified_by_id	Record Modified By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_assay	14	owner_group_id	Owner Group ID	int	4	0	N	1	N	work_group	work_group_id					N	N				
IN_assay	15	record_status	Record Status	char	1	0	N	N	N							N	N				
IN_GetInteractions	1	input_form_format	Input Form Format									N	optionlist		refreshDocument()	Y	Y	N	Options for level of detail and layout for this input form	"SELECT option_key,option_value FROM $TBIN_QUERY_OPTION WHERE option_type = 'input_form_options' ORDER BY sort_order,option_value"	
IN_GetInteractions	2	project_id	Projects									Y	multioptionlist	4	refreshDocument()	Y	Y	N	Constrain Interactions to one or more projects.  At least one project must be selected.	"SELECT DISTINCT P.project_id,UL.username+' - '+P.name FROM $TB_PROJECT P INNER JOIN $TBIN_INTERACTION_GROUP IG ON ( P.project_id = IG.project_id ) LEFT JOIN $TB_USER_LOGIN UL ON ( P.PI_contact_id=UL.contact_id ) WHERE P.record_status != 'D' ORDER BY UL.username+' - '+P.name,P.project_id"	
IN_GetInteractions	3	organism_id	Organisms									N	multioptionlist	4		Y	Y	N	"Constrain Interactions to selected Organisms.  Multiple Organisms may be selected.  If no Organisms are selected, ALL Interactions are searched."	"SELECT organism_id, organism_name FROM $TB_ORGANISM ORDER BY sort_order,organism_name"	
IN_GetInteractions	4	interaction_group_id	Interaction Groups									N	multioptionlist	4		Y	Y	N	"Constrain Interactions to selected Interaction Groups.  Multiple Interaction Groups may be selected.  If no Interaction Groups are selected, ALL Interaction Groups are searched."	"SELECT interaction_group_id,UL.username+' - '+P.project_tag+' - '+O.organism_name+' - '+IG.interaction_group_name FROM $TBIN_INTERACTION_GROUP IG INNER JOIN $TB_PROJECT P ON ( IG.project_id = P.project_id ) INNER JOIN $TB_USER_LOGIN UL ON ( P.PI_contact_id = UL.contact_id ) INNER JOIN $TB_ORGANISM O ON ( IG.organism_id = O.organism_id ) WHERE IG.project_id IN ( $parameters{project_id} ) ORDER BY UL.username,P.project_tag,O.organism_name,IG.interaction_group_name"	
IN_GetInteractions	5	bioentity_id	BioEntities									N	multioptionlist	4		Y	Y	N	"Constrain Interactions to selected BioEntities.  Multiple BioEntities may be selected.  If no BioEntities are selected, ALL Interactions are searched."	"SELECT bioentity_id, bioentity_common_name + ' ' + ISNULL(BT.bioentity_type_name,'BioEntity Type?') + ' (' + ISNULL(O.organism_name,'Organism?') +')' AS ""bioentity_descriptor"" FROM $TBIN_BIOENTITY BE LEFT JOIN $TBIN_BIOENTITY_TYPE BT ON ( BE.bioentity_type_id = BT.bioentity_type_id ) LEFT JOIN $TB_ORGANISM O ON ( BE.organism_id = O.organism_id ) ORDER BY bioentity_common_name"	
IN_GetInteractions	6	bioentity_common_name	BioEntity Common Name Constraint									N	text	40		Y	Y	N	Constraint for BioEntity Common Names. '%' is wildcard character; '_' is single character wildcard; character range is like '[a-m]'; no other regexps supported.		
IN_GetInteractions	7	interaction_type_id	Interaction Types									N	multioptionlist	4		Y	Y	N	"Constrain Interactions to selected Interaction Types.  Multiple Interaction Types may be selected.  If no Interaction Types are selected, ALL Interaction Groups are searched."	"SELECT interaction_type_id, interaction_type_name  FROM $TBIN_INTERACTION_TYPE order by interaction_type_name"	
IN_GetInteractions	8	interactionDetailConstraintID	Interaction Detail									N	optionlist	4		Y	Y	N	"Constrain Interactions to Inter / Intra or All Interactions.  If no Interaction Detail is selected, ALL Interactions are searched."	"SELECT otherid , otherText FROM $TBIN_OTHER where otherTable = 'interaction' order by sortOrder"	
IN_GetInteractions	9	parentConstraintID	BioEntity Parent Constraint									N	optionlist	4		Y	Y	N	"Constrain Interactions to Inter / Intra or All Interactions.  If no Interaction Detail is selected, ALL Interactions are searched."	"SELECT otherid , otherText FROM $TBIN_OTHER where otherTable = 'bioentityMember' order by sortOrder"	
IN_GetInteractions	10	display_options	Display Options									N	multioptionlist	3		Y	Y	N	Various selectable table display options	"SELECT option_key,option_value FROM $TBIN_QUERY_OPTION WHERE option_type = 'GI_display_options' ORDER BY sort_order,option_value"	
IN_GetInteractions	11	row_limit	Maximum Rows									N	text	10		Y	Y	N	"Limit the numbers of rows displayed.  If not provided, default is 5000 rows."		
IN_bioentity_member	1	bioentity_member_id	BioEntity Member	int	4	0	N		Y			N				N	N	N	BioEntity Member ID		
IN_bioentity_member	2	parent_bioentity_id	BioEntity Member Parent	int	4	0	Y		N	IN_bioentity	bioentity_id					N	N		BioEntity Member Parent ID		
IN_bioentity_member	3	child_bioentity_id	BioEntity Member Parent	int	4	0	Y		N	IN_bioentity	bioentity_id					N	N		BioEntity Member Child ID		
IN_bioentity_member	4	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_bioentity_member	5	created_by_id	Record Created By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_bioentity_member	6	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
IN_bioentity_member	7	modified_by_id	Record Modified By	int	4	0	N	1	N	contact	contact_id					N	N				
IN_bioentity_member	8	owner_group_id	Owner Group ID	int	4	0	N	1	N	work_group	work_group_id					N	N				
IN_bioentity_member	9	record_status	Record Status	char	1	0	N	N	N							N	N				
IN_GetBioentities	1	organism_id	Organisms									N	multioptionlist	4		Y	Y	N	"Constrain Bioentities to selected Organisms.  Multiple Organisms may be selected.  If no Organisms are selected, ALL Interactions are searched."	"SELECT organism_id, organism_name FROM $TB_ORGANISM ORDER BY sort_order,organism_name"	
IN_GetBioentities	2	bioentity_exact_name	BioEntity Exact Name Constraint									N	text	40		Y	Y	N	Constraint for an exact Bioentity Name (common or canonical)		
IN_GetBioentities	3	bioentity_search_fragment	BioEntity Search Fragment									N	text	40		Y	Y	N	Fragment to search for in any of the bioentity names. '%' is wildcard character; '_' is single character wildcard; character range is like '[a-m]'; no other regexps supported.		
IN_Other	1	otherID	Option ID	int	4	0	N		Y			N				N	N				
IN_Other	2	otherText	Option text	varchar	255	0	Y					N				N	N	N			
IN_Other	3	otherTable	Option Table	varchar	255	0	Y					N				N	N	N			
IN_Other	4	sortOrder	Sort Order	int	4	0	Y									N	N	N			
