about summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/genenetwork_datatypes.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/genenetwork_datatypes.md b/docs/genenetwork_datatypes.md
index 495a8c3..0189ba2 100644
--- a/docs/genenetwork_datatypes.md
+++ b/docs/genenetwork_datatypes.md
@@ -144,7 +144,7 @@ populations -- so "RISet" is a slight misnomer for the general case).
 | `SpeciesId`       | FK to `Species.SpeciesId`; every group belongs to exactly one species (see Species section above).                                                                                                                                                        |
 | `FullName`        | Longer descriptive name, e.g. "BXD RI Family", "BXD Family".                                                                                                                                                                                              |
 | `public`          | Numeric visibility/access level (values 0-2 seen in example data); exact threshold semantics not found documented in these repos.                                                                                                                         |
-| `MappingMethodId` | Selects which mapping tools are offered for the group: `"1"` = GEMMA + QTLReaper + R/qtl, `"2"` = GEMMA only, `"3"` = R/qtl only, `"4"` = GEMMA + PLINK, anything else = none (`genenetwork2/gn2/base/data_set/datasetgroup.py`'s `get_mapping_methods`). |
+| `MappingMethodId` | Key into the `MappingMethod` table (`Id`, `Name`): 1 `qtlreaper`, 2 `Rqtl`, 3 `HappyR`, 4 `PLINK`, 5 `FastMap`; null means no mapping tool is offered. This is the authoritative reading, and the one genenetwork4 uses (`mapping_method` is the table's name for the id; `GET /mapping-methods` lists the table). Queried live: 58 groups use 1, 20 use 2, 2 use 3, 22 have none; PLINK and FastMap are defined but unused. GeneNetwork2's `get_mapping_methods` (`gn2/base/data_set/datasetgroup.py`) instead treats the id as a code for a set of tools ("1" = GEMMA + QTLReaper + R/qtl, "2" = GEMMA only, ...); that reading is superseded and is not followed here. |
 | `GeneticType`     | The breeding scheme, e.g. "riset" (recombinant inbred strains, as in BXD) or "intercross" (e.g. F2/AIL populations).                                                                                                                                      |
 | `Family`          | Loose grouping across groups, parallel to `Species.Family`.                                                                                                                                                                                               |
 | `FamilyOrder`     | Sort order within `Family` for menu display (note: unlike `Species.FamilyOrderId`, this column has no `Id` suffix).                                                                                                                                       |
@@ -194,7 +194,8 @@ populations -- so "RISet" is a slight misnomer for the general case).
   matched against `InbredSetName`, `Name` or `FullName`, optionally also
   scoped to a species). `gn2/base/data_set/datasetgroup.py`'s
   `DatasetGroup` class additionally resolves a group's available mapping
-  methods from `MappingMethodId`.
+  methods from `MappingMethodId`, by its own code table rather than the
+  `MappingMethod` table (see the `MappingMethodId` field above).
 - **GeneNetwork3**: no `InbredSet`-table REST endpoint or `gn3/db/`
   module was found for groups specifically (unlike `gn3/db/species.py`
   for species).