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
BE_biosequence_set	1	biosequence_set_id	BioSequence Set ID	int	4	0	N		Y							N	N				pkDEFAULT
BE_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	
BE_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	
BE_biosequence_set	4	set_name	Set Name	varchar	100	0	N		N			Y	text	50		Y	Y	N	Name of this BioSequence database		
BE_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		
BE_biosequence_set	6	set_description	Set Description	varchar	255	0	N		N			Y	text	50		Y	Y	N	Longer description of this BioSequence database		
BE_biosequence_set	7	set_version	Set Version	varchar	50	0	N		N			Y	text	40		Y	Y	N	Version of this BioSequence database		
BE_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	
BE_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		
BE_biosequence_set	10	set_path	Set Path	varchar	255	0	N		N			Y	text	50		Y	Y	N	File path of this BioSequence database		
BE_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		
BE_biosequence_set	12	uri	URI	varchar	255	0	Y		N			N	text	50		Y	Y	N	External web page or other URI		SELF
BE_biosequence_set	13	comment	Comment	text	16	0	Y		N			N	textarea	4		Y	Y	N	Additional comments		
BE_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.		
BE_biosequence_set	15	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
BE_biosequence_set	16	created_by_id	Record Created By	int	4	0	N	1	N	contact	contact_id					N	N				
BE_biosequence_set	17	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
BE_biosequence_set	18	modified_by_id	Record Modified By	int	4	0	N	1	N	contact	contact_id					N	N				
BE_biosequence_set	19	owner_group_id	Owner Group ID	int	4	0	N	1	N	work_group	work_group_id					N	N				
BE_biosequence_set	20	record_status	Record Status	char	1	0	N	N	N							N	N				
BE_get_biosequence	1	biosequence_set_id	BioSequence Sets									N	multioptionlist	4		Y	Y	N	"Select desired BioSequence Sets to include in query.  Multiple items may be selected.  If no items are selected, ALL sets are searched."	"SELECT biosequence_set_id,set_name FROM $TBBE_BIOSEQUENCE_SET ORDER BY sort_order,set_name"	
BE_get_biosequence	2	biosequence_name_constraint	Name Constraint									N	text	40		Y	Y	N	Constraint for the BioSequence Name. '%' is wildcard character; '_' is single character wildcard; character range is like '[a-m]'; no other regexps supported.		
BE_get_biosequence	3	biosequence_gene_name_constraint	Gene Name Constraint									N	text	40		Y	Y	N	Constraint for the BioSequence Gene Name. '%' is wildcard character; '_' is single character wildcard; character range is like '[a-m]'; no other regexps supported.		
BE_get_biosequence	4	biosequence_seq_constraint	Sequence Constraint									N	text	40		Y	Y	N	Constraint for the actual sequence. '%' is wildcard character; '_' is single character wildcard; character range is like '[a-m]'; no other regexps supported.		
BE_get_biosequence	5	biosequence_desc_constraint	Description Constraint									N	text	40		Y	Y	N	Constraint for the BioSequence Description. '%' is wildcard character; '_' is single character wildcard; character range is like '[a-m]'; no other regexps supported.		
BE_get_biosequence	6	sort_order	Sort Order									N	optionlist	 		Y	Y	N	Desired display sorting order (DESC means descending: highest to lowest)	"SELECT query_option_id,option_value FROM $TBBE_QUERY_OPTION WHERE option_type = 'BBS_sort_options' ORDER BY sort_order,option_value"	
BE_get_biosequence	7	display_options	Display Options									N	multioptionlist	3		Y	Y	N	Various selectable table display options	"SELECT option_key,option_value FROM $TBBE_QUERY_OPTION WHERE option_type = 'BBS_display_options' ORDER BY sort_order,option_value"	
BE_get_biosequence	8	row_limit	Maximum Rows									N	text	10		Y	Y	N	"Limit the numbers of rows displayed.  If not provided, default is 1000 rows."		
BE_get_est_library	1	library_name_constraint	Name Constraint									N	text	40		Y	Y	N	Constraint for the EST Library Name. '%' is wildcard character; '_' is single character wildcard; character range is like '[a-m]'; no other regexps supported.		
BE_get_est_library	2	n_ests_constraint	Number of ESTs									N	text	20		Y	Y	N	"Constraint for the number of ESTs in the library.  Allowed syntax: ""n"", ""> n"", ""< n"", ""n +- n"", ""between n and n"""		
BE_get_est_library	3	n_chromats_constraint	Number of chromats									N	text	20		Y	Y	N	"Constraint for the number of available chromats for the library.  Allowed syntax: ""n"", ""> n"", ""< n"", ""n +- n"", ""between n and n"""		
BE_get_est_library	4	sort_order	Sort Order									N	optionlist	 		Y	Y	N	Desired display sorting order (DESC means descending: highest to lowest)	"SELECT query_option_id,option_value FROM $TBBE_QUERY_OPTION WHERE option_type = 'BEL_sort_options' ORDER BY sort_order,option_value"	
BE_get_est_library	5	display_options	Display Options									N	multioptionlist	3		Y	Y	N	Various selectable table display options	"SELECT option_key,option_value FROM $TBBE_QUERY_OPTION WHERE option_type = 'BEL_display_options' ORDER BY sort_order,option_value"	
BE_get_est_library	6	row_limit	Maximum Rows									N	text	10		Y	Y	N	"Limit the numbers of rows displayed.  If not provided, default is 1000 rows."		
BE_get_annotation	1	est_library_id	EST Libraries									N	multioptionlist	4		Y	Y	N	"Select desired EST Libraries to include in query.  Multiple items may be selected.  If no items are selected, ALL sets are searched."	"SELECT est_library_id,library_name FROM $TBBE_EST_LIBRARY WHERE n_chromats>0 ORDER BY library_name"	
BE_get_annotation	2	unigene_accession_constraint	UniGene Accession									N	text	20		Y	Y	N	Constraint for the UniGene accession numbers. '%' is wildcard character; '_' is single character wildcard; character range is like '[a-m]'; no other regexps supported.		
BE_get_annotation	3	description1_constraint	Description 1 Constraint									N	text	40		Y	Y	N	Constraint for Annotation Description 1. '%' is wildcard character; '_' is single character wildcard; character range is like '[a-m]'; no other regexps supported.		
BE_get_annotation	4	description2_constraint	Description 2 Constraint									N	text	40		Y	Y	N	Constraint for Annotation Description 2. '%' is wildcard character; '_' is single character wildcard; character range is like '[a-m]'; no other regexps supported.		
BE_get_annotation	5	sort_order	Sort Order									N	optionlist	 		Y	Y	N	Desired display sorting order (DESC means descending: highest to lowest)	"SELECT query_option_id,option_value FROM $TBBE_QUERY_OPTION WHERE option_type = 'BA_sort_options' ORDER BY sort_order,option_value"	
BE_get_annotation	6	display_options	Display Options									N	multioptionlist	3		Y	Y	N	Various selectable table display options	"SELECT option_key,option_value FROM $TBBE_QUERY_OPTION WHERE option_type = 'BA_display_options' ORDER BY sort_order,option_value"	
BE_get_annotation	7	row_limit	Maximum Rows									N	text	10		Y	Y	N	"Limit the numbers of rows displayed.  If not provided, default is 100 rows."		
BE_get_est	1	est_library_id	EST Libraries									N	multioptionlist	4		Y	Y	N	"Constraint for the desired EST Libraries to include in query (leave blank for no constraint).  Multiple items may be selected.  If no items are selected, ALL sets are searched."	"SELECT est_library_id,library_name FROM $TBBE_EST_LIBRARY WHERE n_chromats>0 ORDER BY library_name"	
BE_get_est	2	unigene_accession_constraint	UniGene Accession									N	text	40		Y	Y	N	Constraint for the UniGene accession numbers. '%' is wildcard character; '_' is single character wildcard; character range is like '[a-m]'; no other regexps supported.		
BE_get_est	3	genbank_accession_constraint	GenBank Accession									N	text	40		Y	Y	N	Constraint for the GenBank accession numbers. '%' is wildcard character; '_' is single character wildcard; character range is like '[a-m]'; no other regexps supported.		
BE_get_est	4	quality_constraint	Quality Options									N	optionlist	 		Y	Y	N	Constraint for the quality of the ESTs	"SELECT option_key,option_value FROM $TBBE_QUERY_OPTION WHERE option_type = 'BE_quality_options' ORDER BY sort_order,option_value"	
BE_get_est	5	sort_order	Sort Order									N	optionlist	 		Y	Y	N	Desired display sorting order (DESC means descending: highest to lowest)	"SELECT query_option_id,option_value FROM $TBBE_QUERY_OPTION WHERE option_type = 'BE_sort_options' ORDER BY sort_order,option_value"	
BE_get_est	6	display_options	Display Options									N	multioptionlist	3		Y	Y	N	Various selectable table display options	"SELECT option_key,option_value FROM $TBBE_QUERY_OPTION WHERE option_type = 'BE_display_options' ORDER BY sort_order,option_value"	
BE_get_est	7	row_limit	Maximum Rows									N	text	10		Y	Y	N	"Limit the numbers of rows displayed.  If not provided, default is 100 rows."		
