|
This guide is intended for new GO curators. It assumes that you have a basic understanding of GO's structure and scope (See GO Documentation) but no technical knowledge whatsoever. The CVS repositoryEach of the ontologies, along with a separate file containing definitions of the terms from all three ontologies, is stored as a separate flatfile at the GO CVS repository in Stanford. The CVS (concurrent versions system) is just a tool that allows multiple users to edit a file simultaneously. You can learn more about CVS at this CVS web site.DAG-EditEditing the flatfiles using a text editor such as emacs is rather cumbersome, so most of our editing is done using a wonderful piece of software for editing directed acyclic graphs (DAG), called DAG-Edit. For more information on how to use DAG-Edit, see the Gene Ontology DAG-Edit User Guide or the CVS repository DAG-Edit user guide. GO users can request changes to the ontologies in two ways - through a tracking system called Sourceforge or by e-mail to the GO or GO-FRIENDS mailing lists (see below). We encourage people to register new requests at the SourceForge, but bear in mind that not all GO users have SourceForge accounts so if, when dealing with a SourceForge request, you decide that you need to change a significant chunk of an ontology it's worth mailing GO to let everyone know what you're planning to do.Setting upBefore you can assign SourceForge requests to yourself and edit the ontologies, you'll need to set up the following:Accounts
Mailing lists
Downloading softwareDownload and install the latest version of DAG-Edit. For instructions, see the DAG-Edit user guide If you'd like to use the splitpane GUI, you need to download the plugins as well. Then, in DAG-Edit, go to Plugins, choose DAG-Edit Configuration Manager from the pull-down menu, go to the Display Layout tab and hit the 'Import XML file' button. This will allow you to browse for your copy of the plugin and import it.Accessing the CVS repositoryWe run CVS in UNIX. If you're new to UNIX, see the notes at the very end of this document.
Open a terminal window (or, if using Windows, access your UNIX account). When you start UNIX, you are placed in a program called the shell. Shells come in different flavors, but we use either the c-shell (csh) or a variant of it called the tc-shell (tcsh). The shell interprets commands (which you type in) and passes them to the kernel, which performs the commands. The first file that UNIX reads is your .tcshrc file; you can control your working environment by setting environment variables (e.g. telling it what text editor to use, what printer to use) and aliases (i.e. use this short text string to do something that would normally involve typing a long text string). To do this, you need to edit the .tcshrc file (or your .cshrc file) by opening it in a text editor such as emacs. Type:
emacs .tcshrc First, set an environment variable to change your default text editor to emacs: setenv EDITOR emacs If you fail to do this, you might end up having to use a different text editor called vi when you access the CVS log (see later). There are two ways of setting things up so that you don't have to type the long path to the CVS repository every time you need to access it. EITHER set up an environment variable that allows you to access it simply by typing CVS: setenv CVSROOT \:pserver:[username]@gocvs.geneontology.org:/share/go/cvs OR use a UNIX alias. Type: alias CVS 'cvs -d:pserver:[username]@gocvs.geneontology.org:/share/go/cvs' If you use this method, you can change the alias to anything you like. It will also save you a lot of typing in the future if you add some more aliases to your .tcshrc file for when you need to access cvs. If you're quite new to this kind of thing and you're planning to follow this series of guides right through then you can add the aliases below, and then the commands you need to type will correspond exactly to those in the instructions which follow. alias en 'emacs go/numbers/go_numbers' alias e 'emacs'The function of these aliases will be explained later on in the Guide to Addressing a SourceForge Request Editing the GO files using DAG-EditBefore you start, you need to download the current version of the GO flatfiles. To fit in with the aliases and directory structures described in this guide you should make sure you are in the 'Documents' directory. Type:
cvs loginIt'll ask you for your password (which you should have got from gocvs-update@genome.stanford.edu) 'Checkout' GO by typing cvs co go This downloads the current GO files into a new directory which is called the working directory. You will also need to create a couple of new directories. Find your way to the 'go' directory. Within 'go' you will find the directory called 'ontology', and within this you will need to make a new directory called 'old'. There is another directory called 'go/doc' and within this you should make another directory called 'old'. (These directories can actually be anywhere but the aliases above will only work if you use the directory structure and naming convention described here.) Assigning your range of GO numbersThe cvs repository contains a list of who 'owns' each range of GO-IDs. To assign yourself some numbers on this list, you need to edit your local copy then commit it back to the cvs repository. Type emacs go/numbers/go_numbers Scroll down to Allocated number ranges for additions: and add your chosen range of numbers in the format: CB: GO:0048001 to GO:0050000 For example, if your range of numbers is just above the wormbase set, you could type ctrl-s wormbase to locate the bottom of the preceding range. Then type Yourname's GO numbers Then type the range of numbers. Underneath that, start your list of GO numbers, using the following format: GO:0048001 CB erythrose-4-phosphate dehydrogenase Once you've finished editing the file, save and close it, then commit it back to the cvs repository: cvs ci go/numbers/go_numbers Setting your range of numbers within DAG-EditOnce you have claimed a set of numbers from the ontology nubers file, you must also set these numbers within the configuration file of DAG-Edit.To do this you should open DAG-Edit, and chose from the 'plugins' menu the 'DAG-Edit Configuration Manager'. Within this window you can now fill in your range of numbers, starting in the 'start of id range' line and finishing in the 'End of id range' line. Press 'Save Configuration' to save your changes. EmacsThere are several UNIX text editors, but the easiest to use is emacs. To open a text file in emacs, type emacs filename The online emacs tutorial can be accessed by typing ctrl-h t Once you have done everything in this web page you can move on to Guide to Addressing a SourceForge Request |
last modified October-2003 | Report problems with this website to webmaster@geneontology.org |
For problems with Netscape 4, please upgrade to Netscape 7 | |