User:Serkan/test3: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#vardefine:species_temp|{{#switch:9606|9606=Homo_sapiens|10090=Mus_musculus|NA}}}} | {{#vardefine:species_temp|{{#switch:9606|9606=Homo_sapiens|10090=Mus_musculus|NA}}}} | ||
{{#var:species_temp}} | {{#var:species_temp}} | ||
{{#arraydefine:gene_raw_array|HGNC:10471;;MIM:151385;;Ensembl:ENSG00000159216;;HPRD:01043;;Vega:OTTHUMG00000086299|;;}} | {{#vardefine:gene_id|861}} | ||
{{#if:{{#var:gene_id}}|[http://www.ncbi.nlm.nih.gov/gene/{{#var:gene_id}} EntrezGene:{{#var:gene_id}}] {{#arraydefine:gene_raw_array|HGNC:10471;;MIM:151385;;Ensembl:ENSG00000159216;;HPRD:01043;;Vega:OTTHUMG00000086299|;;}} | |||
{{#loop: j | {{#loop: j | ||
| 0 | | 0 | ||
Line 8: | Line 9: | ||
{{#vardefine:RESOURCE_ID|{{#explode:{{#arrayindex:gene_raw_array| {{#var:j}} }}|:|1}}}}{{#vardefine:RESOURCE|{{#explode:{{#arrayindex:gene_raw_array| {{#var:j}} }}|:|0}} }}{{#vardefine:RESOURCE_URL_BUILD|{{#switch:{{#var:RESOURCE}}|HGNC=http://www.genenames.org/data/hgnc_data.php?hgnc_id={{#var:RESOURCE_ID}}|MIM=http://www.omim.org/entry/{{#var:RESOURCE_ID}}|Ensembl=http://asia.ensembl.org/{{#var:species_temp}}/Gene/Summary?db=core;g={{#var:RESOURCE_ID}}|HPRD=http://www.hprd.org/summary?hprd_id={{#var:RESOURCE_ID}}&isoform_id={{#var:RESOURCE_ID}}_1&isoform_name=Isoform_1|Vega=http://vega.sanger.ac.uk/{{#var:species_temp}}/Info/Index?db=core;g={{#var:RESOURCE_ID}}|NA}}}} | {{#vardefine:RESOURCE_ID|{{#explode:{{#arrayindex:gene_raw_array| {{#var:j}} }}|:|1}}}}{{#vardefine:RESOURCE|{{#explode:{{#arrayindex:gene_raw_array| {{#var:j}} }}|:|0}} }}{{#vardefine:RESOURCE_URL_BUILD|{{#switch:{{#var:RESOURCE}}|HGNC=http://www.genenames.org/data/hgnc_data.php?hgnc_id={{#var:RESOURCE_ID}}|MIM=http://www.omim.org/entry/{{#var:RESOURCE_ID}}|Ensembl=http://asia.ensembl.org/{{#var:species_temp}}/Gene/Summary?db=core;g={{#var:RESOURCE_ID}}|HPRD=http://www.hprd.org/summary?hprd_id={{#var:RESOURCE_ID}}&isoform_id={{#var:RESOURCE_ID}}_1&isoform_name=Isoform_1|Vega=http://vega.sanger.ac.uk/{{#var:species_temp}}/Info/Index?db=core;g={{#var:RESOURCE_ID}}|NA}}}} | ||
[{{#var:RESOURCE_URL_BUILD}} {{#var:RESOURCE}}:{{#var:RESOURCE_ID}}] | [{{#var:RESOURCE_URL_BUILD}} {{#var:RESOURCE}}:{{#var:RESOURCE_ID}}] | ||
}} | }}}} |