Ambox notice.png

GONUTS is under stress! The website is currently experiencing long-wait times and frequent time-outs due to the record number of students, groups, and annotations related to CACAO this semester. We are currently working on increasing performance -- please accept our apologies for the technical difficulties.

You can help reduce stress on the server by:

  1. not reloading pages frequently - this just adds
  2. opening links in new windows (so you can read the old page)

GO wiki scripts

From GONUTS
Jump to: navigation, search

The GO wiki updater is actually set of scripts to manage this wiki.

Contents

Controlled from index.php

The GO wiki homepage links to this wiki and also to some scripts for updating the wiki.

update_go_file.php

Automatically downloads the obo file and saves it to a tmp directory.

update.php

Parses the obo file into a database outside the wiki GO_archive. Records are only saved to the database if they have been changed. New versions are saved to the same GO id, so that the history of revisions can be tracked, starting in July 2006 when the system was rewritten.

replace_old.php

This script is a php script that lives in the pywikipedia bot directory. The script, which is run from the command line

JimHu Using touch.py caused process buildup and a server crash. Changed to do all updates and then run php rebuildall.php from the maintenance scripts.

make_annotations_x.php

where x is a database. These take a sorted, decompressed annotation file and create or update gene pages as articles.

Known issues

it may be possible for the external database to get out of synch with the updating of pages. This could lead to some terms being skipped. Solution will be to decouple update.php from the website and have it run before replace_old.php

Personal tools
Namespaces
Variants
Actions
Navigation
Cacao
Journal Clubs
page contributors
Toolbox