Genomes
|
By default, the genomes are sorted by descending number of PFAM predicted transcription factors.
The genome size is in number of protein sequences.
Clicking on one of the column arrows re-sorts on that column.
Common gene names are provided for the model organisms: Bacillus subtilis, Caenorhabditis elegans, Drosophila melanogaster, Escherichia coli, Homo sapiens, Mus musculus and Saccharomyces cerevisiae.
|
An error occured in context "Browse" cell "1.14"
in the section containing the code:
|
001
002
003 import dbd, sys
004
005 url = globals.HomeURLBase
006
007 cellhead()
008
009 print "Genomes"
010
011 cellbody()
012
013 print """
014 <blockquote>
015 <p>
016 By default, the genomes are sorted by descending number of PFAM predicted transcription factors.
017 <br>
018 The genome size is in number of protein sequences.
019 <br>
020 Clicking on one of the column arrows re-sorts on that column.
021 <br>
022 <br>
023 Common gene names are provided for the model organisms: <i>Bacillus subtilis, Caenorhabditis elegans, Drosophila melanogaster, Escherichia coli, Homo sapiens, Mus musculus</i> and <i>Saccharomyces cerevisiae.</i>
024 </p>
025 """
026
027 params = {}
028 for i in sys.argv[2:]:
029 [key, val] = i.split(":", 1)
030 params[key] = val
031
032 cellbody()
033
034 dbd.print_genomes_table(url, params)
035
036 cellend()
037
|
Traceback (most recent call last):
File "/net/isilonP/public/rw/research/teichmann/apache/test/DBD/web.py", line 148, in gen_cell
exec _code in _globals_d, _locals_d
File "<string>", line 34, in <module>
File "/net/isilonP/public/rw/research/teichmann/apache/test/DBD/dbd.py", line 1266, in print_genomes_table
for row in get_genome_table_data(orderby=params["orderby"]):
File "/net/isilonP/public/rw/research/teichmann/apache/test/DBD/dbd.py", line 443, in get_genome_table_data
c = get_db_cursor()
File "/net/isilonP/public/rw/research/teichmann/apache/test/DBD/dbd.py", line 68, in get_db_cursor
db = MySQLdb.connect(host="mysql-teichmann-web.ebi.ac.uk", port=4412, user="admin", passwd="z2Kd6OvN", db="DBD2")
File "/usr/lib64/python2.6/site-packages/MySQLdb/__init__.py", line 81, in Connect
return Connection(*args, **kwargs)
File "/usr/lib64/python2.6/site-packages/MySQLdb/connections.py", line 187, in __init__
super(Connection, self).__init__(*args, **kwargs2)
OperationalError: (2003, "Can't connect to MySQL server on 'mysql-teichmann-web.ebi.ac.uk' (111)")
|
|
|
|