glygener / glygen-issues

Repository for public GlyGen tickets
GNU General Public License v3.0
0 stars 0 forks source link

Evaluation statistic page #493

Open ReneRanzinger opened 1 year ago

ReneRanzinger commented 1 year ago

Blocker for:

ReneRanzinger commented 11 months ago

On tst, I am adding it as shown below:

image
ReneRanzinger commented 11 months ago

The integers in red are indexes in the "typelist" list (0 corresponds to "proteins", 1 corresponds to "enzymes" ...). Now, what you have is:

"10116_0": 22870 --> proteins in organism 10116
"10116_2": 2680  --> glycoproteins in organism 10116
"10116_0|2": 2680 --> glycoproteins out of 10116_0 (which is 22870)

Tatiana wanted it this was so that she can keep breaking down the numbers in hierarchical categories.

...

"byproteintype": {

    "typelist": [

      "proteins",

      "enzymes",

      "glycoproteins"

    ],

    "10116_0": 22870,

    "7227_0": 13821,

    "7227_2": 781,

    "7227_0|2": 781,

    "10116_2": 2680,

    "10116_0|2": 2680,
ReneRanzinger commented 11 months ago

Sorry about that. The red colored integers are indexes in the "taxidlist" list.

"1": 7713,  means 7713 glycans in taxid=10090
"2": 5282, means 5282 glycans in taxid=10116
"1|2": 3556, means 3556 glycans in taxid=10090 and taxid=10116

"glycan": {

  "taxidlist": [

    "9823",

    "10090",

    "10116",

    "10114",

    "9606",

    "7227",

    "2697049",

    "4932",

    "9825",

    "11103",

    "44689",

    "694009",

    "63746"

  ],

  "0": 5483,

  "1": 7713,

  "2": 5282,

  "3": 4564,

  "4": 21229,

  "5": 897,

  "6": 1241,

  "7": 1121,

  "8": 80,

  "9": 35,

  "10": 48,

  "11": 21,

  "12": 14,

  "1|2": 3556,

  "1|3": 2625,

  "2|3": 1860,

  "1|2|3": 1604,

  "1|4": 6720,

  "2|4": 5127,

  "1|2|4": 4217,

  "1|5": 870,

  "2|5": 767,

  "1|2|5": 821,

  "4|5": 1081,

  "1|4|5": 1127,

  "2|4|5": 997,

  "1|2|4|5": 1138,

  "1|6": 1145,

  "2|6": 1120,

  "1|2|6": 1170,

  "4|6": 1617, 

  "1|4|6": 1585,