aboutsummaryrefslogtreecommitdiff
path: root/story-boards/starting-from-known-gene
diff options
context:
space:
mode:
authorPjotr Prins2021-11-17 07:24:35 -0600
committerPjotr Prins2021-11-17 07:24:35 -0600
commitd16b07f612ff87791dc63f976e872301dc332fd0 (patch)
tree9f175ec9ffc090f34384fd84e11e1cb7c884873b /story-boards/starting-from-known-gene
parent11d55a97792c91ce4b961363db9d852ee6031262 (diff)
downloadgn-docs-d16b07f612ff87791dc63f976e872301dc332fd0.tar.gz
geewiki
Diffstat (limited to 'story-boards/starting-from-known-gene')
-rwxr-xr-xstory-boards/starting-from-known-gene/generate.sh3
-rw-r--r--story-boards/starting-from-known-gene/genewiki.pngbin0 -> 148494 bytes
-rw-r--r--story-boards/starting-from-known-gene/starting-from-known-gene.md17
3 files changed, 15 insertions, 5 deletions
diff --git a/story-boards/starting-from-known-gene/generate.sh b/story-boards/starting-from-known-gene/generate.sh
index d309ef8..c5d4d3d 100755
--- a/story-boards/starting-from-known-gene/generate.sh
+++ b/story-boards/starting-from-known-gene/generate.sh
@@ -1,5 +1,8 @@
#!/bin/bash
+ruby ../../scripts/screenshot.rb --url "http://gn1.genenetwork.org/webqtl/main.py?FormID=geneWiki&symbol=BRCA2" --out genewiki.png --extract 1200x500+0+0
+
+exit 1
ruby ../../scripts/screenshot.rb --url "https://genenetwork.org/" --out genenetwork-home.png
convert -extract 800x100+0+0 genenetwork-home.png global-search.png
diff --git a/story-boards/starting-from-known-gene/genewiki.png b/story-boards/starting-from-known-gene/genewiki.png
new file mode 100644
index 0000000..22d7580
--- /dev/null
+++ b/story-boards/starting-from-known-gene/genewiki.png
Binary files differ
diff --git a/story-boards/starting-from-known-gene/starting-from-known-gene.md b/story-boards/starting-from-known-gene/starting-from-known-gene.md
index 3eaaafd..2abd7a1 100644
--- a/story-boards/starting-from-known-gene/starting-from-known-gene.md
+++ b/story-boards/starting-from-known-gene/starting-from-known-gene.md
@@ -2,7 +2,7 @@
GeneNetwork contains data on thousands of experiments. How do you mine GN when you have the name of a gene? Start with [BRCA2](https://genenetwork.org/genes/BRCA2).
-## Use the search page
+# Use the search page
The top bar of GeneNetwork shows a global search:
@@ -12,7 +12,9 @@ We can look for the `Brca2` mouse gene, resulting in
[![Global search](./global-search-gene.png "Global search gene")]()
-## Find the right alias/name <a name="alias" />
+FIXME: @zsloan above image should show a table of results too, see https://github.com/genenetwork/genenetwork2/issues/629
+
+# Find the right alias/name
GeneNetwork knows about aliases. But sometimes you want to check what aliases there are in mouse. If you search for BRCA2 and click on a search result, for example for [1448542_at](http://genenetwork.org/show_trait?trait_id=1448542_at&dataset=HC_M2_0606_P),
you get to the 'trait page' which shows the aliases:
@@ -21,11 +23,16 @@ you get to the 'trait page' which shows the aliases:
GeneNetwork ignores case by default. In a search use quotes to search case sensitive. For example, [BRCA2](https://www.wikidata.org/wiki/Q17853272) on wikidata.org refers to the human gene. The mouse gene is named [Brca2](https://www.wikidata.org/wiki/Q14864738).
-## Find the GeneNetwork genewiki entry
-GeneNetwork maintains info on gene entries. For example for [BRCA2](http://gn1.genenetwork.org/webqtl/main.py?FormID=geneWiki&symbol=BRCA2).
+# Find the GeneNetwork genewiki entry
+
+GeneNetwork maintains info on gene entries. For example for BRCA2:
+
+[![Genewiki](./genewiki.png "Genewiki for Brca2")](http://gn1.genenetwork.org/webqtl/main.py?FormID=geneWiki&symbol=BRCA2)
+
+FIXME: we aim to move this functionality to markdown
-## TODO
+# TODO
* [ ] expand story line
* [ ] global search is faulty, see gn-gemtext-threads/issues/genenetwork/global-search.gmi