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
PS_biosequence_set	1	biosequence_set_id	BioSequence Set ID	int	4	0	N		Y							N	N				pkDEFAULT
PS_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"	
PS_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"	
PS_biosequence_set	4	set_name	Set Name	varchar	100	0	N		N			Y	text	50		Y	Y	N	Name of this BioSequence database		
PS_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		
PS_biosequence_set	6	set_description	Set Description	varchar	255	0	N		N			Y	text	50		Y	Y	N	Longer description of this BioSequence database		
PS_biosequence_set	7	set_version	Set Version	varchar	50	0	N		N			Y	text	40		Y	Y	N	Version of this BioSequence database		
PS_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"	
PS_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		
PS_biosequence_set	10	set_path	Set Path	varchar	255	0	N		N			Y	text	50		Y	Y	N	File path of this BioSequence database		
PS_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		
PS_biosequence_set	12	uri	URI	varchar	255	0	Y		N			N	text	50		Y	Y	N	External web page or other URI		SELF
PS_biosequence_set	13	comment	Comment	text	16	0	Y		N			N	textarea	4		Y	Y	N	Additional comments		
PS_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.		
PS_biosequence_set	15	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
PS_biosequence_set	16	created_by_id	Record Created By	int	4	0	N	1	N	contact	contact_id					N	N				
PS_biosequence_set	17	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
PS_biosequence_set	18	modified_by_id	Record Modified By	int	4	0	N	1	N	contact	contact_id					N	N				
PS_biosequence_set	19	owner_group_id	Owner Group ID	int	4	0	N	1	N	work_group	work_group_id					N	N				
PS_biosequence_set	20	record_status	Record Status	char	1	0	N	N	N							N	N				
PS_dbxref	1	dbxref_id	dbxref ID	int	4	0	N		Y							N	N				pkDEFAULT
PS_dbxref	2	dbxref_name	CrossRef Name	varchar	50	0	N		N			Y	text	40		Y	Y	N	Name of this Database Cross Reference		
PS_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		
PS_dbxref	4	dbxref_description	Description	varchar	255	0	N		N			Y	text	50		Y	Y	N	Longer description of this Database Cross Reference		
PS_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		
PS_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		
PS_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
PS_dbxref	8	comment	Comment	text	16	0	Y		N			N	textarea	4		Y	Y	N	Additional comments		
PS_dbxref	9	sort_order	Sort Order	int	4	0	N	10	N							N	N	N			
PS_dbxref	10	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
PS_dbxref	11	created_by_id	Record Created By	int	4	0	N	1	N	contact	contact_id					N	N				
PS_dbxref	12	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
PS_dbxref	13	modified_by_id	Record Modified By	int	4	0	N	1	N	contact	contact_id					N	N				
PS_dbxref	14	owner_group_id	Owner Group ID	int	4	0	N	1	N	work_group	work_group_id					N	N				
PS_dbxref	15	record_status	Record Status	char	1	0	N	N	N							N	N				
PS_biosequence	1	biosequence_id	BioSequence ID	int	4	0	N		Y							N	N				pkDEFAULT
PS_biosequence	2	biosequence_set_id	BioSequence Set	int	4	0	N		N	PS_biosequence_set	biosequence_set_id					N	N	Y	BioSequence Set to which this BioSequence belongs		pkDEFAULT
PS_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)		
PS_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		
PS_biosequence	5	dbxref_id	Database Cross Reference	int	4	0	Y		N	PS_dbxref	dbxref_id					Y	Y	N	Database cross reference for which the accession number applies		pkDEFAULT
PS_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		
PS_biosequence	7	organism_id	Organism	int	4	0	Y		N	organism	organism_id	Y	optionlist			Y	Y	N	Organism to which this BioSequence belongs	"SELECT organism_id, organism_name FROM $TB_ORGANISM ORDER BY sort_order,organism_name"	
PS_biosequence	8	polymer_type_id	Polymer Type	int	4	0	Y		N	BL_polymer_type	polymer_type_id	Y	optionlist			Y	Y	N	"Polymer type (e.g. protein, DNA, RNA) of this BioSequence"	"SELECT polymer_type_id, polymer_type_name FROM $TBBL_POLYMER_TYPE ORDER BY sort_order,polymer_type_name"	
PS_biosequence	9	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)		
PS_biosequence	10	biosequence_seq	Sequence	text	16	0	Y		N			N	file	40		Y	Y	N	Actual sequence of the BioSequence if known		
PS_biosequence	11	comment	Comment	text	16	0	Y		N			N	textarea	4		Y	Y	N	Additional comments		
PS_biosequence	12	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
PS_biosequence	13	created_by_id	Record Created By	int	4	0	N	1	N	contact	contact_id					N	N				
PS_biosequence	14	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
PS_biosequence	15	modified_by_id	Record Modified By	int	4	0	N	1	N	contact	contact_id					N	N				
PS_biosequence	16	owner_group_id	Owner Group ID	int	4	0	N	1	N	work_group	work_group_id					N	N				
PS_biosequence	17	record_status	Record Status	char	1	0	N	N	N							N	N				
PS_biosequence_property_set	1	biosequence_property_set_id	BioSequence Property Set ID	int	4	0	N		Y							N	N				pkDEFAULT
PS_biosequence_property_set	2	biosequence_id	BioSequence ID	int	4	0	N		N	PS_biosequence	biosequence_id					N	N	Y	Biosequence to which this Biosequence property set belongs		pkDEFAULT
PS_biosequence_property_set	3	n_transmembrane_regions	Number of Transmembrane Regions	int	4	0	Y		N							Y	Y	N	Number of transmembrane regions		pkDEFAULT
PS_biosequence_property_set	4	transmembrane_class	Transmembrane Region Class	varchar	10	0	Y		N			Y	text	50		Y	Y	N	"Class of the transmembrane region.  May be 0, TM, A, S, TM_xS based on output from TMHMM and signalP"		
PS_biosequence_property_set	5	transmembrane_topology	Transmembrane Region Topology	varchar	1024	0	Y		N			Y	text	20		Y	Y	N	Coding of which residues belong in the transmembrane regions		
PS_biosequence_property_set	6	has_signal_peptide	Has a Signal Peptide	char	1	0	Y		N			N	text	50		Y	Y	N	"Does this protein have a signal peptide on the end Y/N? (Note that Y means that there is some non-zero probability that it does, not that is necessarily does)"		
PS_biosequence_property_set	7	has_signal_peptide_probability	Probability that it has a Signal Peptide	real	4	0	Y		N			N	text	50		Y	Y	N	Probability that there is a signal peptide on the end as calculated by SignalP		
PS_biosequence_property_set	8	signal_peptide_length	Length of the Signal Peptide	int	4	0	Y		N			N	text	50		Y	Y	N	Length in residues of the signal peptide		
PS_biosequence_property_set	9	signal_peptide_is_cleaved	Signal Peptide gets Cleaved	char	1	0	Y		N			N	text	50		Y	Y	N	Does the signal peptide get cleaved off Y/N?		
PS_biosequence_property_set	10	genome_build	Genome Build	varchar	50	0	Y		N			N	text	50		Y	Y	N	Genome build name for which the following mapping parameters are valid		
PS_biosequence_property_set	11	chromosome	Chromosome	varchar	50	0	Y		N			N	text	50		Y	Y	N	Chromosome in which this mapping occurs		
PS_biosequence_property_set	12	start_in_chromosome	Start Position in Chromosome	int	4	0	Y		N			N	text	20		Y	Y	N	Start position of the biosequence in the chromosome		
PS_biosequence_property_set	13	end_in_chromosome	End Position in Chromosome	int	4	0	Y		N			N	text	20		Y	Y	N	End position of the biosequence in the chromosome		
PS_biosequence_property_set	14	strand	Strand	char	1	0	Y		N			N	text	10		Y	Y	N	"Strand (+,-) of the biosequence in the chromosome"		
PS_biosequence_property_set	15	isoelectric_point	Isoelectric Point	real	4	0	Y		N			N	text	10		Y	Y	N	Isoelectric Point (pI) of the protein		
PS_biosequence_property_set	16	fav_codon_frequency	Favorite Codon Frequency	real	4	0	Y		N			N	text	10		Y	Y	N	Favorite Codon Frequency		
PS_biosequence_property_set	17	duplicate_biosequences	Duplicate Biosequences	varchar	255	0	Y		N			N	text	50		Y	Y	N	Semicolon delimited list of duplicate sequences within the same set		
PS_biosequence_property_set	18	category	Category	varchar	255	0	Y		N			N	text	50		Y	Y	N	Biosequence category		
PS_domain_match	1	domain_match_id	Domain Match ID	int	4	0	N		Y							N	N				pkDEFAULT
PS_domain_match	2	biosequence_id	BioSequence	int	4	0	N		N	PS_biosequence	biosequence_id					N	N	N	BioSequence to which this Domain Match belongs		
PS_domain_match	3	domain_match_index	Domain Match Index	int	4	0	Y		N			Y	text	20		Y	Y	N	Consecutive number index used for some domains		
PS_domain_match	4	query_start	Query Start	int	4	0	Y		N			Y	text	20		Y	Y	N	Offset of the start of the match in the query sequence		
PS_domain_match	5	query_end	Query End	int	4	0	Y		N			Y	text	20		Y	Y	N	Offset of the end of the match in the query sequence		
PS_domain_match	6	query_length	Query Length	int	4	0	Y		N			Y	text	20		Y	Y	N	Length of the match in the query sequence		
PS_domain_match	7	match_start	Match Start	int	4	0	Y		N			Y	text	20		Y	Y	N	Offset of the start of the match in the matched sequence		
PS_domain_match	8	match_end	Match End	int	4	0	Y		N			Y	text	20		Y	Y	N	Offset of the start of the match in the matched sequence		
PS_domain_match	9	match_length	Match Length	int	4	0	Y		N			Y	text	20		Y	Y	N	Length of the match in the matched sequence		
PS_domain_match	10	overall_probability	Overall Probability	real	4	0	Y		N			Y	text	20		Y	Y	N	Overall probability that one of the hits to this domain is the correct one		
PS_domain_match	11	best_match_flag	Best Match Flag	char	1	0	Y		N			Y	text	20		Y	Y	N	A flag indicating which of several possible hits is the best		
PS_domain_match	12	cluster_name	Cluster Name	varchar	50	0	Y		N			Y	text	20		Y	Y	N	Name of the cluster in a cluster of possible identifications for a domain		
PS_domain_match	13	match_name	Match Name	varchar	255	0	Y		N			Y	text	20		Y	Y	N	Name of the matched sequence		
PS_domain_match	14	match_accession	Match Accession	varchar	50	0	Y		N			Y	text	20		Y	Y	N	Accession number for this match in some external database designated above		
PS_domain_match	15	match_biosequence_id	Match BioSequence ID	int	4	0	Y		N	PS_biosequence	biosequence_id					N	N	N	BioSequence to which this Domain Match belongs		
PS_domain_match	16	domain_match_type_id	Domain Match Type	int	4	0	Y		N	PS_domain_match_type	domain_match_type_id	Y	optionlist			Y	Y	N	Type of hit against which this match was identified		
PS_domain_match	17	domain_match_source_id	Domain Match Source	int	4	0	Y		N	PS_domain_match_source	domain_match_source_id	Y	optionlist			Y	Y	N	Data source from which this match was identified		
PS_domain_match	18	probability	Probability	real	4	0	Y		N			Y	text	20		Y	Y	N	Probability (0 <= P <= 1) of the match being the correct one		
PS_domain_match	19	e_value	Expectation Value	float	8	0	Y		N			Y	text	20		Y	Y	N	Expectation Value indicates approximately how many times this match would occur purely by chance in the given search (i.e. a value of 2 indicates that on average two such hits would occur by chance in such a search.  A low value like .001 indicates a very small chance that the hit occurred by chance)		
PS_domain_match	20	score	Score	real	4	0	Y		N			Y	text	20		Y	Y	N	Score for the match.  A higher number is better.  Often a bit score like in BLAST		
PS_domain_match	21	z_score	Z Score	real	4	0	Y		N			Y	text	20		Y	Y	N	Z score indicating likelihood of a false match		
PS_domain_match	22	second_match_name	Second Match Name	varchar	255	0	Y		N			Y	text	20		Y	Y	N	Name of the matched sequence		
PS_domain_match	23	second_match_accession	Second Match Accession	varchar	50	0	Y		N			Y	text	20		Y	Y	N	Accession number for this match in some external database designated above		
PS_domain_match	24	second_match_type_id	Second Match Type	int	4	0	Y		N	PS_domain_match_type	domain_match_type_id	Y	optionlist			Y	Y	N	Type of hit against which this second match was identified		
PS_domain_match	25	match_annotation	Match Annotation	varchar	255	0	Y		N			Y	text	20		Y	Y	N	Name of the matched sequence		
PS_domain_match_type	1	domain_match_type_id	Domain Match Type	int	4	0	N		Y							N	N				pkDEFAULT
PS_domain_match_type	2	domain_match_type_name	Domain Match Type Name	varchar	50	0	N		N			Y	text	40		Y	Y	Y	Name of the type of the match		
PS_domain_match_type	3	description	Domain Match Type Description	varchar	255	0	N		N			Y	text	50		Y	Y	N	Longer description of this match type		
PS_domain_match_type	4	dbxref_id	Database Cross Reference	int	4	0	Y		N	PS_dbxref	dbxref_id	Y	optionlist			Y	Y	N	Database cross reference for which the accession number applies	"SELECT dbxref_id,dbxref_tag FROM $TB_DBXREF WHERE record_status != 'D' ORDER BY dbxref_tag"	
PS_domain_match_type	5	uri	URI	varchar	255	0	Y		N			N	text	50		Y	Y	N	External web page or other URI of the source		SELF
PS_domain_match_type	6	comment	Comment	text	16	0	Y		N			N	textarea	4		Y	Y	N	Additional comments		
PS_domain_match_type	7	sort_order	Sort Order	int	4	0	N	10	N							N	N	N			
PS_domain_match_type	8	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
PS_domain_match_type	9	created_by_id	Record Created By	int	4	0	N	1	N	contact	contact_id					N	N				
PS_domain_match_type	10	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
PS_domain_match_type	11	modified_by_id	Record Modified By	int	4	0	N	1	N	contact	contact_id					N	N				
PS_domain_match_type	12	owner_group_id	Owner Group ID	int	4	0	N	1	N	work_group	work_group_id					N	N				
PS_domain_match_type	13	record_status	Record Status	char	1	0	N	N	N							N	N				
PS_domain_match_source	1	domain_match_source_id	Domain Match Source	int	4	0	N		Y							N	N				pkDEFAULT
PS_domain_match_source	2	domain_match_source_name	Domain Match Source Name	varchar	50	0	N		N			Y	text	40		Y	Y	Y	Name of the source of the match		
PS_domain_match_source	3	description	Domain Match Source Description	varchar	255	0	N		N			Y	text	50		Y	Y	N	Longer description of this match source		
PS_domain_match_source	4	uri	URI	varchar	255	0	Y		N			N	text	50		Y	Y	N	External web page or other URI of the source		SELF
PS_domain_match_source	5	comment	Comment	text	16	0	Y		N			N	textarea	4		Y	Y	N	Additional comments		
PS_domain_match_source	6	sort_order	Sort Order	int	4	0	N	10	N							N	N	N			
PS_domain_match_source	7	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
PS_domain_match_source	8	created_by_id	Record Created By	int	4	0	N	1	N	contact	contact_id					N	N				
PS_domain_match_source	9	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
PS_domain_match_source	10	modified_by_id	Record Modified By	int	4	0	N	1	N	contact	contact_id					N	N				
PS_domain_match_source	11	owner_group_id	Owner Group ID	int	4	0	N	1	N	work_group	work_group_id					N	N				
PS_domain_match_source	12	record_status	Record Status	char	1	0	N	N	N							N	N				
PS_query_option	1	query_option_id	Query Option ID	int	4	0	N		Y							N	N				pkDEFAULT
PS_query_option	2	option_type	Option Type	varchar	255	0	N		N			Y	text	50		Y	Y	Y	Type or category of this option		
PS_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		
PS_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		
PS_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		
PS_query_option	6	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
PS_query_option	7	created_by_id	Record Created By	int	4	0	N	1	N	contact	contact_id					N	N				
PS_query_option	8	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N				
PS_query_option	9	modified_by_id	Record Modified By	int	4	0	N	1	N	contact	contact_id					N	N				
PS_query_option	10	owner_group_id	Owner Group ID	int	4	0	N	1	N	work_group	work_group_id					N	N				
PS_query_option	11	record_status	Record Status	char	1	0	N	N	N							N	N				
PS_domain	1	domain_id	Domain ID	int	4	0	N		Y							N	N				pkDEFAULT
PS_domain	2	domain_match_type_id	Domain Match Type	int	4	0	N		N	PS_domain_match_type	domain_match_type_id	Y	optionlist			Y	Y	Y	"Type of domain (e.g. PDB, PFAM)"		
PS_domain	3	domain_name	Domain Name	varchar	255	0	N		N			Y	text	50		Y	Y	Y	Name (identifier) of this domain		
PS_domain	4	EC_numbers	EC Numbers	varchar	255	0	Y		N			Y	text	50		Y	Y	N	EC Number(s) that corresponds to this domain.  Separate multiple numbers with a semicolon		
PS_biosequence_annotation	1	biosequence_annotation_id	Domain Match Type	int	4	0	N		Y							N	N				pkDEFAULT
PS_biosequence_annotation	2	biosequence_id	BioSequence	int	4	0	N		N	PS_biosequence	biosequence_id	Y	fixed			Y	Y	Y	BioSequence to which this annotation belongs		
PS_biosequence_annotation	3	gene_symbol	Gene Symbol	varchar	255	0	Y		N			N	text	50		Y	Y	N	Gene Symbol to describe this protein (e.g. TLR2)		
PS_biosequence_annotation	4	full_gene_name	Full Gene Name	varchar	255	0	Y		N			N	text	50		Y	Y	N	Full name of the gene (e.g. Toll-like Receptor 2)		
PS_biosequence_annotation	5	aliases	BioSequence Aliases	varchar	255	0	Y		N			N	text	50		Y	Y	N	Aliases of this BioSequence.  These are stored as a semi-colon delimited string		
PS_biosequence_annotation	6	former_names	Former BioSequence Names	varchar	255	0	Y		N			N	text	50		Y	Y	N	Former Aliases of this BioSequence.  These are stored as a colon-delimited string		
PS_biosequence_annotation	7	functional_description	Functional Description	text	16	0	Y		N			N	textarea	3		Y	Y	N	Functional description of the protein		
PS_biosequence_annotation	8	EC_numbers	EC Numbers	varchar	255	0	Y		N			N	text	50		Y	Y	N	EC Number(s) that corresponds to this domain.  Separate multiple numbers with a semicolon		
PS_biosequence_annotation	9	biosequence_type	Biosequence Type	varchar	255	0	Y		N			N	text	50		Y	Y	N	Further annotation of biosequence type		
PS_biosequence_annotation	10	category	Category	varchar	255	0	Y		N			N	text	50		Y	Y	N	Category	
PS_biosequence_annotation	11	comment	Comment	text	16	0	Y		N			N	textarea	4		Y	Y	N	Additional comments	
PS_biosequence_annotation	12	date_created	Date Record Created	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N			
PS_biosequence_annotation	13	created_by_id	Record Created By	int	4	0	N	1	N	contact	contact_id					N	N			
PS_biosequence_annotation	14	date_modified	Date Record Modified	datetime	8	0	N	CURRENT_TIMESTAMP	N							N	N			
PS_biosequence_annotation	15	modified_by_id	Record Modified By	int	4	0	N	1	N	contact	contact_id					N	N			
PS_biosequence_annotation	16	owner_group_id	Owner Group ID	int	4	0	N	1	N	work_group	work_group_id					N	N			
PS_biosequence_annotation	17	record_status	Record Status	char	1	0	N	N	N							N	N			
PS_BrowseBioSequence	1	project_id	Project									N	multioptionlist	4	refreshDocument()	Y	Y	Y	Projects to show Biosequence Sets for	"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 ) INNER JOIN $TBPS_BIOSEQUENCE_SET BSS ON (P.project_id = BSS.project_id) WHERE P.record_status != 'D' AND P.project_id IN ( $accessible_project_ids ) ORDER BY UL.username+' - '+P.name,P.project_id"
PS_BrowseBioSequence	2	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 BSS.biosequence_set_id,BSS.set_name FROM $TBPS_BIOSEQUENCE_SET BSS WHERE BSS.project_id IN ($accessible_project_ids) AND BSS.project_id IN ($parameters{project_id}) AND BSS.record_status != 'D' ORDER BY sort_order,set_name"
PS_BrowseBioSequence	3	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.	
PS_BrowseBioSequence	4	biosequence_accession_constraint	Accession Constraint									N	text	40		Y	Y	N	Constraint for the BioSequence Accession Number. '%' is wildcard character; '_' is single character wildcard; character range is like '[a-m]'; no other regexps supported.	
PS_BrowseBioSequence	5	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.	
PS_BrowseBioSequence	6	molecular_function_constraint	Molecular Function Constraint									N	text	40		Y	Y	N	Constraint for the GO Molecular Function. '%' is wildcard character; '_' is single character wildcard; character range is like '[a-m]'; no other regexps supported.	
PS_BrowseBioSequence	7	biological_process_constraint	Biological Process Constraint									N	text	40		Y	Y	N	Constraint for the GO Biological Process. '%' is wildcard character; '_' is single character wildcard; character range is like '[a-m]'; no other regexps supported.	
PS_BrowseBioSequence	8	cellular_component_constraint	Cellular Component Constraint									N	text	40		Y	Y	N	Constraint for the GO Cellular Component. '%' is wildcard character; '_' is single character wildcard; character range is like '[a-m]'; no other regexps supported.	
PS_BrowseBioSequence	9	protein_domain_constraint	Protein Domain Constraint									N	text	40		Y	Y	N	Constraint for the InterPro Protein Domain. '%' is wildcard character; '_' is single character wildcard; character range is like '[a-m]'; no other regexps supported.	
PS_BrowseBioSequence	10	fav_codon_frequency_constraint	Favored Codon Frequency Constraint									N	text	40		Y	Y	N	"Constraint for the favored codon frequency (calculation by Patrick Pedrioli).  Allowed syntax: ""n.n"", ""> n.n"", ""< n.n"", ""between n.n and n.n"", ""n.n +- n.n"""	
PS_BrowseBioSequence	11	biosequence_category_constraint	Category Constraint									N	multioptionlist	3		Y	Y	N	Constraint for the biosequence category	"SELECT DISTINCT category,category FROM $TBPS_BIOSEQUENCE_PROPERTY_SET ORDER BY category"
PS_BrowseBioSequence	12	transmembrane_class_constraint	Transmembrane Class Constraint									N	multioptionlist	3		Y	Y	N	Constraint for the transmembrane class as annotated by TMHMM and SignalP	"SELECT DISTINCT transmembrane_class,transmembrane_class FROM $TBPS_BIOSEQUENCE_PROPERTY_SET ORDER BY transmembrane_class"
PS_BrowseBioSequence	13	n_transmembrane_regions_constraint	Number of Transmembrane Regions Constraint									N	text	40		Y	Y	N	"Constraint for the number of transmembrane regions (based on a 19-residue wide sliding window of hydropathy indexes above 1.58).  Allowed syntax: ""n"", ""> n"", ""< n"", ""between n and n"", ""n +- n"""	
PS_BrowseBioSequence	14	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.	
PS_BrowseBioSequence	15	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.	
PS_BrowseBioSequence	16	sort_order	Sort Order									N	optionlist	 		Y	Y	N	Desired display sorting order (DESC means descending: highest to lowest)	"SELECT option_key,option_value FROM $TBPS_QUERY_OPTION WHERE option_type = 'BBS_sort_options' ORDER BY sort_order,option_value"
PS_BrowseBioSequence	17	display_options	Display Options									N	multioptionlist	3		Y	Y	N	Various selectable table display options	"SELECT option_key,option_value FROM $TBPS_QUERY_OPTION WHERE option_type = 'BBS_display_options' ORDER BY sort_order,option_value"
PS_BrowseBioSequence	18	row_limit	Maximum Rows									N	text	10		Y	Y	N	"Limit the numbers of rows displayed.  If not provided, default is 100 rows."	
PS_GetDomainHit	1	project_id	Project									N	multioptionlist	4	refreshDocument()	Y	Y	Y	Projects to show Biosequence Sets for	"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 ) INNER JOIN $TBPS_BIOSEQUENCE_SET BSS ON (P.project_id = BSS.project_id) WHERE P.record_status != 'D' AND P.project_id IN ( $accessible_project_ids ) ORDER BY UL.username+' - '+P.name,P.project_id"
PS_GetDomainHit	2	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 BSS.biosequence_set_id,BSS.set_name FROM $TBPS_BIOSEQUENCE_SET BSS WHERE BSS.project_id IN ($accessible_project_ids) AND BSS.project_id IN ($parameters{project_id}) AND BSS.record_status != 'D' ORDER BY sort_order,set_name"
PS_GetDomainHit	3	biosequence_name_constraint	Biosequence 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.	
PS_GetDomainHit	4	biosequence_accession_constraint	Biosequence Accession Constraint									N	text	40		Y	Y	N	Constraint for the Biosequence Accession Number. '%' is wildcard character; '_' is single character wildcard; character range is like '[a-m]'; no other regexps supported.	
PS_GetDomainHit	5	gene_symbol_constraint	Gene Symbol Constraint									N	text	40		Y	Y	N	Constraint for the Gene Symbol. '%' is wildcard character; '_' is single character wildcard; character range is like '[a-m]'; no other regexps supported.	
PS_GetDomainHit	6	full_gene_name_constraint	Full Gene Name Constraint									N	text	40		Y	Y	N	Constraint for the Full Gene Name. '%' is wildcard character; '_' is single character wildcard; character range is like '[a-m]'; no other regexps supported.	
PS_GetDomainHit	7	EC_number_constraint	EC Number Constraint									N	text	40		Y	Y	N	Constraint for the EC Number (either protein or domain associated). '%' is wildcard character; '_' is single character wildcard; character range is like '[a-m]'; no other regexps supported.	
PS_GetDomainHit	8	biosequence_category_constraint	Category Constraint									N	multioptionlist	3		Y	Y	N	Constraint for the biosequence category	"SELECT DISTINCT category,category FROM $TBPS_BIOSEQUENCE_PROPERTY_SET ORDER BY category"
PS_GetDomainHit	9	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.	
PS_GetDomainHit	10	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.	
PS_GetDomainHit	11	domain_match_source_constraint	Domain Match Source Constraint									N	multioptionlist	3		Y	Y	N	Constraint for the domain match sources.  Choose one or more or none for no constraint	"SELECT domain_match_source_id,domain_match_source_name FROM $TBPS_DOMAIN_MATCH_SOURCE ORDER BY domain_match_source_name"
PS_GetDomainHit	12	domain_match_type_constraint	Domain Match Type Constraint									N	multioptionlist	3		Y	Y	N	Constraint for the domain match typees.  Choose one or more or none for no constraint	"SELECT domain_match_type_id,domain_match_type_name FROM $TBPS_DOMAIN_MATCH_TYPE ORDER BY domain_match_type_name"
PS_GetDomainHit	13	domain_match_name_constraint	Domain Match Name Constraint									N	text	40		Y	Y	N	Constraint for the Domain Match Name. '%' is wildcard character; '_' is single character wildcard; character range is like '[a-m]'; no other regexps supported.	
PS_GetDomainHit	14	match_annotation_constraint	Match Annotation Constraint									N	text	40		Y	Y	N	Constraint for the Match Annotation string. '%' is wildcard character; '_' is single character wildcard; character range is like '[a-m]'; no other regexps supported.	
PS_GetDomainHit	15	e_value_constraint	Expectation Value Constraint									N	text	20		Y	Y	N	"Constraint for the Expectation Value of the domain match.  Allowed syntax: ""n.n"", ""> n.n"", ""< n.n"", ""between n.n and n.n"", ""n.n +- n.n"""	
PS_GetDomainHit	16	transmembrane_class_constraint	Transmembrane Class Constraint									N	multioptionlist	3		Y	Y	N	Constraint for the transmembrane class as annotated by TMHMM and SignalP	"SELECT DISTINCT transmembrane_class,transmembrane_class FROM $TBPS_BIOSEQUENCE_PROPERTY_SET ORDER BY transmembrane_class"
PS_GetDomainHit	17	n_transmembrane_regions_constraint	Number of Transmembrane Regions Constraint									N	text	40		Y	Y	N	"Constraint for the number of transmembrane regions (based on a 19-residue wide sliding window of hydropathy indexes above 1.58).  Allowed syntax: ""n"", ""> n"", ""< n"", ""between n and n"", ""n +- n"""	
PS_GetDomainHit	18	display_options	Display Options									N	multioptionlist	3		Y	Y	N	Various selectable table display options	"SELECT option_key,option_value FROM $TBPS_QUERY_OPTION WHERE option_type = 'GDH_display_options' ORDER BY sort_order,option_value"
PS_GetDomainHit	19	row_limit	Maximum Rows									N	text	10		Y	Y	N	"Limit the numbers of rows displayed.  If not provided, default is 100 rows."	
