diff options
| author | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-12-01 12:44:33 +0000 |
|---|---|---|
| committer | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-12-01 12:44:33 +0000 |
| commit | c8df59447aba3f1dffcafe8ebb71cf62c4098e36 (patch) | |
| tree | 4ab276546a0c873ae5f12aa681cedc7019737cc3 | |
| parent | a13b63a3bd5ce7dda0af9bf13b7e83e4f431934b (diff) | |
| download | genenetwork4-c8df59447aba3f1dffcafe8ebb71cf62c4098e36.tar.gz | |
docs: romeral.systemsgenetics.org is the authoritative name
Every URL the skill hands to an assistant, and every example in the operator
checklist, moves from vesuvio.pu.ac.ke to the new canonical host -- version
check, searches, groups, tokens, the lot. The old name keeps answering, so a
client that cached yesterday's skill still works; it just is not the one we
publish any more.
One thing to settle before this reaches clients at scale: Cloudflare fronts
romeral and its bot rules answer 403 to Python-urllib's default user-agent
("the site owner has blocked access based on your browser's signature") while
letting curl, python-requests, node-fetch, Go, okhttp, wget, HTTPie and an
empty agent through. Anything that calls with stdlib urllib -- bin/monitor-gn4
did, and some AI tooling does -- needs a real user-agent or a Cloudflare skip
rule for authenticated requests.
| -rw-r--r-- | docs/www/SKILL.md | 26 | ||||
| -rw-r--r-- | docs/www/operator-checklist.md | 6 |
2 files changed, 16 insertions, 16 deletions
diff --git a/docs/www/SKILL.md b/docs/www/SKILL.md index 57eb09b..8d2b9f3 100644 --- a/docs/www/SKILL.md +++ b/docs/www/SKILL.md @@ -4,9 +4,9 @@ license: AGPL-3.0-or-later metadata: homepage: https://genenetwork.org sparql: https://sparql.genenetwork.org/sparql - api: https://vesuvio.pu.ac.ke/gn4 + api: https://romeral.systemsgenetics.org/gn4 docs: https://git.genenetwork.org/genenetwork4 -description: Use when the user wants anything from GeneNetwork (genenetwork.org): BXD and other mouse/rat genetic reference populations, traits ("get trait 20010"), per-strain values, QTL mapping with R/qtl or GEMMA, LOD/Manhattan plots, PheWAS, genotypes, or searching published phenotypes. Talks to GeneNetwork through its HTTP interface at https://vesuvio.pu.ac.ke/gn4. +description: Use when the user wants anything from GeneNetwork (genenetwork.org): BXD and other mouse/rat genetic reference populations, traits ("get trait 20010"), per-strain values, QTL mapping with R/qtl or GEMMA, LOD/Manhattan plots, PheWAS, genotypes, or searching published phenotypes. Talks to GeneNetwork through its HTTP interface at https://romeral.systemsgenetics.org/gn4. --- # GeneNetwork @@ -66,20 +66,20 @@ few hits in their own terms, offer one next step. # free text, published phenotypes (type defaults to phenotype) curl -s -H "Authorization: Bearer $GN4" \ - 'https://vesuvio.pu.ac.ke/gn4/search?q=diabetes&limit=5' + 'https://romeral.systemsgenetics.org/gn4/search?q=diabetes&limit=5' # two words: terms are OR unless you say AND, so "alcohol dependence" # alone also returns everything that matches either word curl -s -H "Authorization: Bearer $GN4" \ - 'https://vesuvio.pu.ac.ke/gn4/search?q=alcohol%20AND%20dependence&limit=5' + 'https://romeral.systemsgenetics.org/gn4/search?q=alcohol%20AND%20dependence&limit=5' # once they name a population, stay inside it curl -s -H "Authorization: Bearer $GN4" \ - 'https://vesuvio.pu.ac.ke/gn4/search?q=alcohol%20AND%20group:BXD&limit=5' + 'https://romeral.systemsgenetics.org/gn4/search?q=alcohol%20AND%20group:BXD&limit=5' # their topic may be a gene rather than a phenomenon curl -s -H "Authorization: Bearer $GN4" \ - 'https://vesuvio.pu.ac.ke/gn4/search?q=insulin&type=gene&limit=5' + 'https://romeral.systemsgenetics.org/gn4/search?q=insulin&type=gene&limit=5' Say what came back, in their words, from the hits' own `description`, `group`, `authors` and `year`, never from the JSON. Three or four is enough; a screenful @@ -108,14 +108,14 @@ is no total, and each page costs time. For bulk work over a whole population use ## 0. Do this first 1. **Check you can reach GeneNetwork** (no token needed): - `curl -s https://vesuvio.pu.ac.ke/gn4/version` + `curl -s https://romeral.systemsgenetics.org/gn4/version` and, for the docs repo, `git ls-remote https://git.genenetwork.org/genenetwork4 HEAD`. A sandbox proxy blocks any host that is not on the person's allowlist (`connect_rejected`, or `CONNECT tunnel failed, 403` from git). **Ask them to allow both domains in one go**, not one at a time: > To work with GeneNetwork I need two domains allowed for this session: - > `vesuvio.pu.ac.ke` (the data and mapping service) and `git.genenetwork.org` + > `romeral.systemsgenetics.org` (the data and mapping service) and `git.genenetwork.org` > (the docs, so I can reload this skill when it changes). Please add them under > claude.ai > Settings > Capabilities (admins: Organization settings > > Capabilities), then start a new message or session. @@ -140,7 +140,7 @@ documented in `components.schemas` (for example 5. **Assume, don't ask.** A bare numeric trait id (`20010`) is a published phenotype of group **BXD** (dataset `BXDPublish`). Try it; ask only on 404. -Base URL for everything: `https://vesuvio.pu.ac.ke/gn4`. `/gn4` without the +Base URL for everything: `https://romeral.systemsgenetics.org/gn4`. `/gn4` without the trailing slash redirects there; anything outside `/gn4/` is a 404 from the front end, not from GeneNetwork. Only `/version` and `/openapi.json` need no token; everything else answers 401 (no token) or 404 (not routed). @@ -152,7 +152,7 @@ Every JSON reply is `{"data","meta","notes","next"}` and sometimes `"actions"`. * `notes`: read them. They say how many strains were matched, what was run, and caveats. * `next`: GET links to related things. Each `href` already includes `/gn4`: - resolve against the origin (`https://vesuvio.pu.ac.ke$href`). A link that is a + resolve against the origin (`https://romeral.systemsgenetics.org$href`). A link that is a *shape* rather than an address — one still holding a `{placeholder}` the scan cannot fill, such as `{trait_id}` or a genotype file name — carries **`"template": true`**; following the rest returns 200 as it stands. @@ -201,7 +201,7 @@ relaying them. ## 2. Workflow: map a trait and plot it ```sh -API=https://vesuvio.pu.ac.ke/gn4; AUTH="Authorization: Bearer $TOKEN"; D=$(mktemp -d) +API=https://romeral.systemsgenetics.org/gn4; AUTH="Authorization: Bearer $TOKEN"; D=$(mktemp -d) curl -s -H "$AUTH" $API/groups/BXD/traits/20010 # metadata curl -s -H "$AUTH" $API/groups/BXD/traits/20010/values > $D/v.json # values + actions jq '.actions[]|select(.href|endswith("/compute/rqtl"))|.body' $D/v.json > $D/body.json @@ -780,7 +780,7 @@ something inside their own group; add `AND group:BXD` to stay in BXD. A GeneNetwork team member issues the token by hand; it cannot be self-served. If you have none, ask: "To read GeneNetwork data I need a GeneNetwork API token -(a JWT) for https://vesuvio.pu.ac.ke/gn4. It is issued by hand; it helps to say +(a JWT) for https://romeral.systemsgenetics.org/gn4. It is issued by hand; it helps to say who it is for, which groups/datasets, how long (default 30 days) and what for." Ask the user to pass it out of band, not in a public issue, a commit or a shared chat. Send it as `Authorization: Bearer <token>` on every request except @@ -808,7 +808,7 @@ be considerate: a few concurrent requests, no tight polling loops. Do not rely on a version written into this file. Instead, **remember the build you saw at the start of the session** and compare against it later. -1. At the start (section 0), note `curl -s https://vesuvio.pu.ac.ke/gn4/version +1. At the start (section 0), note `curl -s https://romeral.systemsgenetics.org/gn4/version | jq -r .data.git` as your session baseline. 2. Check `/version` again when something behaves differently from what is written here (an unexpected 404, a new field in `actions`, a path in diff --git a/docs/www/operator-checklist.md b/docs/www/operator-checklist.md index 77628d4..400b383 100644 --- a/docs/www/operator-checklist.md +++ b/docs/www/operator-checklist.md @@ -5,7 +5,7 @@ end user (typically an AI assistant) is given. This file is for whoever runs the deployment: what has to stay off the public surface, how tokens are issued without gn-auth, and what is knowingly exposed. -The reference deployment is `https://vesuvio.pu.ac.ke/gn4/` proxied by +The reference deployment is `https://romeral.systemsgenetics.org/gn4/` proxied by nginx to `127.0.0.1:3000` — see [`../nginx.md`](../nginx.md) and [`../../etc/nginx-vesuvio.pu.ac.ke.conf`](../../etc/nginx-vesuvio.pu.ac.ke.conf). @@ -106,7 +106,7 @@ What that token is, and is not: key and issuer, independent `exp`, so one token can lapse without touching the others. * verify before handing over: `curl -s -H "Authorization: Bearer $TOKEN" - https://vesuvio.pu.ac.ke/gn4/groups | head -c 80` should return an + https://romeral.systemsgenetics.org/gn4/groups | head -c 80` should return an envelope. When gn-auth lands, only the source of tokens changes: @@ -333,7 +333,7 @@ for d in /proc/[0-9]*; do a0=$(tr '\0' '\n' < $d/cmdline 2>/dev/null | head -1); case "$a0" in ./target/release/genenetwork4) echo "${d#/proc/}";; esac; done # and what is actually answering: git must be the commit you just built -curl -s https://vesuvio.pu.ac.ke/gn4/version | jq -r '.data | "\(.git) \(.dirty)"' +curl -s https://romeral.systemsgenetics.org/gn4/version | jq -r '.data | "\(.git) \(.dirty)"' ``` Match **argv[0] against the binary path**, not the whole command line: |
