{"database": "crw2", "private": false, "path": "/crw2", "size": 4829184, "tables": [{"name": "alignments", "columns": ["molecule", "group_code", "taxon_scope", "file_type", "relative_path", "raw_filename", "url"], "primary_keys": [], "count": 37, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "basepair_collective_score", "columns": ["molecule", "helix_number", "position_1", "position_2", "pair_note", "header_format", "reference_base_pair", "conformation", "ai_code", "tertiary_type", "header_extra", "strength", "group_code", "Xch", "Ych", "PE", "PES", "Cov1", "Cov3", "C1+C3", "WC", "WCGU", "XCons", "YCons", "DfDel", "PNuc", "Seq"], "primary_keys": [], "count": 9436, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "basepair_frequency", "columns": ["molecule", "helix_number", "position_1", "position_2", "pair_note", "header_format", "reference_base_pair", "conformation", "ai_code", "tertiary_type", "header_extra", "strength", "group_code", "GC", "CG", "UA", "AU", "GU", "UG", "AA", "AC", "AG", "CA", "CC", "CU", "GA", "GG", "UC", "UU", "gap", "Seq", "predominant_types", "covarying_types"], "primary_keys": [], "count": 9604, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "conservation_diagrams", "columns": ["molecule_code", "classifier", "category", "format", "relative_path", "raw_filename", "url"], "primary_keys": [], "count": 114, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "model_diagram_files", "columns": ["diagram_id", "format", "relative_path", "url"], "primary_keys": [], "count": 89, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "model_diagrams", "columns": ["diagram_id", "molecule", "diagram_type", "descriptor", "parse_style"], "primary_keys": [], "count": 46, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "nucleotide_frequency_tables", "columns": ["molecule", "category", "subtype", "version", "is_latest", "is_latest_in_format", "is_supporting", "format", "relative_path", "raw_filename", "url"], "primary_keys": [], "count": 78, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "structures", "columns": ["structure_id", "rna_group", "diagram_code", "molecule_code", "domain_code", "domain_label", "intron_subgroup", "organism", "source_folder", "folder_mismatch", "pdf_url", "bpseq_url", "ss_url"], "primary_keys": ["structure_id"], "count": 1983, "hidden": false, "fts_table": "structures_fts", "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "structure_files", "columns": ["structure_id", "format", "relative_path", "url"], "primary_keys": [], "count": 5469, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "structures_fts", "columns": ["structure_id", "organism", "structures_fts", "rank"], "primary_keys": [], "count": 1983, "hidden": true, "fts_table": "structures_fts", "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "structures_fts_config", "columns": ["k", "v"], "primary_keys": ["k"], "count": 1, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "structures_fts_data", "columns": ["id", "block"], "primary_keys": ["id"], "count": 50, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "structures_fts_docsize", "columns": ["id", "sz"], "primary_keys": ["id"], "count": 1983, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "structures_fts_idx", "columns": ["segid", "term", "pgno"], "primary_keys": ["segid", "term"], "count": 48, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}], "hidden_count": 6, "views": [{"name": "basepair_combined", "private": false}, {"name": "basepair_table_downloads", "private": false}, {"name": "nucleotide_frequency_latest", "private": false}], "queries": [{"title": "Base-pair statistics by molecule and position", "description_html": "Enter a molecule (5S, 16S or 23S) and a nucleotide position. Returns every base pair that includes that position, with frequencies, covariation scores and one row per taxonomic group. Groups: T = all sequences, 3 = three domains, B = Bacteria, A = Archaea, C = Chloroplast, E = Eukarya, M = Mitochondria (5S has no C/M rows and no collective scores).", "sql": "select *\nfrom basepair_combined\nwhere molecule = :molecule\n  and (position_1 = :position or position_2 = :position)\norder by position_1,\n         case group_code when 'T' then 1 when '3' then 2 when 'B' then 3\n                         when 'A' then 4 when 'C' then 5 when 'E' then 6\n                         when 'M' then 7 else 8 end", "name": "bp_lookup", "private": false}], "allow_execute_sql": true, "query_ms": 49.76428300142288}