annotate get_data/kegg_glycan/KEGGnotes.md @ 1:0a5e0df17054 draft default tip

Uploaded
author chrisb
date Fri, 06 May 2016 08:05:48 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
1
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
2 # notes on KEGG behaviour
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
3
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
4 Tested with Release 78.0+/05-05, May 16 (see http://rest.kegg.jp/info/genes)
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
5
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
6 *Recommendation 1 - Do not combine AND with OR queries*
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
7 multiple complex queries are not recommended.
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
8
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
9 *OR's on certain db's e.g. glycan, enzyme do not always return correctly*
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
10
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
11 ## Shiga toxin behaviour test
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
12 Using the shiga toxin example from http://www.genome.jp/kegg/rest/keggapi.html
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
13 /find/genes/shiga+toxin for keywords "shiga" and "toxin"
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
14 /find/genes/"shiga toxin" for keywords "shiga toxin"
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
15
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
16 results in test-data
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
17 - test-data/shiga-toxin-example-AND
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
18 - test-data/shiga-toxin-example-AND-broken
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
19 - test-data/shiga-toxin-example-OR
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
20 - test-data/shiga-toxin-example-OR-broken
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
21
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
22
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
23 ### AND example
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
24 /find/genes/shiga+toxin for keywords "shiga" and "toxin"
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
25 http://rest.kegg.jp/find/genes/shiga+toxin
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
26
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
27 ### OR example
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
28 /find/genes/"shiga toxin" for keywords "shiga toxin"
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
29 http://rest.kegg.jp/find/genes/"shiga%20toxin"
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
30
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
31 ### BROKEN AND
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
32 http://rest.kegg.jp/find/genes/"shiga+toxin"
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
33 If query is in put in quotes.
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
34 this result is the same as OR.
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
35
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
36 ### BROKEN OR
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
37 http://rest.kegg.jp/find/genes/shiga%20toxin
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
38 If query is not placed in quotations.
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
39 this result is the same as AND.
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
40
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
41 ## Enzyme tests
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
42
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
43 http://rest.kegg.jp/find/enzyme/deoxy+1.1.1 AND works
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
44 http://rest.kegg.jp/find/enzyme/"deoxy%201.1.1" OR does not work
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
45 http://rest.kegg.jp/find/enzyme/"deoxy 1.1.1" OR does not work
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
46
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
47 0
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
48 http://rest.kegg.jp/find/enzyme/ec:2.4.99.1+ec:2.4.99.6 AND works but return nothing as no overlap
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
49 http://rest.kegg.jp/find/enzyme/"ec:2.4.99.1 ec:2.4.99.6" OR doesn't work
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
50 http://rest.kegg.jp/find/enzyme/ec:2.4.99. works
0a5e0df17054 Uploaded
chrisb
parents:
diff changeset
51