跳转到内容

Template:Infobox gene/doc

本页使用了标题或全文手工转换
维基百科,自由的百科全书

这是基因信息框(Infobox gene)模板。信息框中的数据来源于维基数据。该模板的Lua语言的实现位于模块:Infobox gene。

在基因文章页面的使用

[编辑]

在基因文章页面顶部添加{{infobox gene}}。该信息框通过其所在页面的维基数据项填充。要查看链接到页面的维基数据项,请点击文章左侧“工具”菜单中的“维基数据项”链接。

在蛋白质文章页面的使用

[编辑]

在蛋白质页面顶部添加{{infobox gene}}。信息框的填充方式是:使用蛋白质的维基数据项查找编码的基因项,然后使用该基因项填充信息框。

在其它页面的使用

[编辑]

即使没有基因或蛋白质的跨维基链接,任何页面都可以显示信息框。必须将维基数据项明确添加为参数,并调用底层模块。例如,附加代码 {{#invoke:Infobox_gene|getTemplateData|QID=Q414043}}在任何页面顶部都会为基因络丝蛋白基因(RELN)创建一个信息框。QID是用于填充信息框的维基数据基因项。请将您感兴趣的维基数据项ID (QID) 替换为QID参数。

错误信息

[编辑]

“检索信息框的维基数据项时发生错误”(“An Error has occurred retrieving Wikidata item for infobox”)表示非基因/蛋白质维基数据项或不完整的维基数据项。

分类

[编辑]

包含此模板将自动根据基因的属性添加相关分类。这些类别包括“分类:人类蛋白质”以及与基因所在染色体对应的类别,例如“分类:(位于)人类第19号染色体上的基因”。除模板外,手动添加到文章的其他类别将照常运行。

数据结构

[编辑]
Basic network structure of the ProteinBoxBot wikidata project

Data structure of gene and protein data in Wikidata is a bit complex. Even if there is only one gene/protein article in Wikipedia, there are many data pages in Wikidata.

Basically Wikidata has distinct pages for gene and protein each, for respective species (See the table below). And pages are interconnected based on following rules.

  • Wikipedia articles are connected to Wikidata's gene data page (#情况一) or protein data page (#情况二) through d:Help:Sitelinks. In most cases, articles are connected to gene data page.
  • Gene and protein pages are interconnected through "encodes (d:P:P688)" and "encoded by (d:P:P702)" property claims (horizontal arrows "→", "←" in the table).
  • Gene pages from different species are interconnected through "ortholog (d:P:P684)" property claims (vertical arrows "↑", "↓" in the table).

The data which infobox_gene shows to readers are collected from somewhere of this interconnected Wikidata pages.

情况一

[编辑]

In most cases, Wikipedia article page is connected to Human gene data page. For example, Sonic hedgehog.

Wikipedia
(Article)
Wikidata
(Gene)
Wikidata
(Protein)
Human Wikipedia article page
Sonic hedgehog
→d:Help:Sitelinks→
←d:Help:Sitelinks←
Human gene data page
SHH (d:Q14860072)
→encodes (d:P:P688)→
←encoded by (d:P:P702)←
Human protein data page
Sonic hedgehog (d:Q2477760)
↑   ↓
ortholog (d:P:P684)
↑   ↓
Mouse Mouse gene data page
Shh (d:Q14860079)
→encodes (d:P:P688)→
←encoded by (d:P:P702)←
Mouse protein data page
Sonic hedgehog (d:Q14860215)
↑   ↓
ortholog (d:P:P684)
↑   ↓
⋮ ⋮ ⋮

情况二

[编辑]

In some cases, Wikipedia article page is connected to Human protein data page. For example, Reelin.

Wikidata
(Gene)
Wikidata
(Protein)
Wikipedia
(Article)
Human Human gene data page
RELN (d:Q414043)
→encodes (d:P:P688)→
←encoded by (d:P:P702)←
Human protein data page
Reelin (d:Q13561329)
→d:Help:Sitelinks→
←d:Help:Sitelinks←
Wikipedia article page
Reelin
↑   ↓
ortholog (d:P:P684)
↑   ↓
Mouse Mouse gene data page
Reln (d:Q14331135)
→encodes (d:P:P688)→
←encoded by (d:P:P702)←
Mouse protein data page
Reelin (d:Q14331165)
↑   ↓
ortholog (d:P:P684)
↑   ↓
⋮ ⋮ ⋮

数据位置

[编辑]

The followings are list of data which are used in this template. Showing data example and data location in the case of Sonic hedgehog.

Data Wikidata
property
Data example Data location Other
Human
Gene
Page
Human
Protein
Page
Mouse
Gene
Page
Mouse
Protein
Page
Q14860072 Q2477760 Q14860079 Q14860215
Gene name Label ● ●
Aliases Aliases ● ●
HGNC gene symbol P353 ●
Entrez Gene ID P351 ● ●
Image P18 ●
Ensembl Gene ID P594 ● ●
UniProt ID P352 ● ●
EC number P591 ● ●
OMIM ID P492 ●
MGI ID P671 ●
HomoloGene ID P593 ● ●
PDB id P638 ● ●
Gene Atlas Image P692 ●
Gene ontology P680
P681
P682
● ●
RefSeq RNA ID P639 ● ●
RefSeq Protein ID P637 ● ●
Ensembl Transcript ID P704 ● ●
Chromosome P1057 ● ●
Chromosome number P1813 ●
Chromosome length P2043 ●
Chromosome category P910 ●
Cytogenetic location P4196 ● ●
Genomic start P644 ● ●
Genomic end P645 ● ●
Strand orientation P2548 ● ●

相似模板

[编辑]

参阅

[编辑]

外部链接

[编辑]
  • BioGPS,一个允许使用此模板自动创建人类基因页面存根的网站
  • Huss, Jon W; Orozco, Camilo; Goodale, James; Wu, Chunlei; Batalov, Serge; Vickers, Tim J; Valafar, Faramarz; Su, Andrew I. A Gene Wiki for Community Annotation of Gene Function. PLoS Biology. 8 July 2008, 6 (7): e175. PMID 18613750. doi:10.1371/journal.pbio.0060175 可免费查阅.