We do not have a UI for adding new species. In this case, we need to add the data manually by running a query.
As an example, I document how I added the C. elegans species to the https://staging.genenetwork.org server:
We begin by looking at the schema for the Species table:
MariaDB [db_webqtl]> DESC Species; +---------------+----------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +---------------+----------------------+------+-----+---------+----------------+ | Id | smallint(5) unsigned | NO | PRI | NULL | auto_increment | | SpeciesId | int(5) | YES | | NULL | | | SpeciesName | varchar(50) | YES | | NULL | | | Name | char(30) | NO | MUL | | | | MenuName | char(50) | YES | | NULL | | | FullName | char(100) | NO | | | | | Family | varchar(50) | YES | | NULL | | | FamilyOrderId | smallint(6) | YES | | NULL | | | TaxonomyId | int(11) | YES | | NULL | | | OrderId | smallint(6) | YES | | NULL | | +---------------+----------------------+------+-----+---------+----------------+ 10 rows in set (0.00 sec)
From
and looking at the data, we know the following about the fields:
With this in mind, we can now get any missing data for the species.
To find the Taxonomy ID value:
***TODO: Figure out what FamilyOrderId and OrderId are, and how to get the data. Update this page.***
We can now run the query to insert the data:
INSERT INTO Species(SpeciesName,Name,MenuName,FullName,Family,FamilyOrderId,TaxonomyId,OrderId) VALUES ("Roundworm", "roundworm", "Roundworm (C. elegans)", "Caenorhabditis elegans", "Nematodes", NULL, "6239", NULL);
now update the "SpeciesId":
UPDATE Species SET SpeciesId=Id WHERE SpeciesName="Roundworm";