将tagtog的pubtator格式转换为anndoc格式
PubTator2Anndoc的Python项目详细描述
将pubtator格式的注释转换为tagtog格式。
发布者格式
pubtator格式使用以下格式:
<PMID>|t|<TITLE> <PMID>|a|<ABSTRACT> <PMID> <START OFFSET 1> <LAST OFFSET 1> <MENTION 1> <TYPE 1> <IDENTIFIER 1> <PMID> <START OFFSET 2> <LAST OFFSET 2> <MENTION 2> <TYPE 2> <IDENTIFIER 2> <PMID>|t|<TITLE> <PMID>|a|<ABSTRACT> <PMID> <START OFFSET 1> <LAST OFFSET 1> <MENTION 1> <TYPE 1> <IDENTIFIER 1> <PMID> <START OFFSET 2> <LAST OFFSET 2> <MENTION 2> <TYPE 2> <IDENTIFIER 2>
其中:
- 第一行包含论文标题。
- 第二行是论文的摘要。
- 后面的行包含
制表符分隔格式:
- PMID
- 开始偏移量
- 结束偏移
- 提及(实体文本)
- 实体类型
- 标识符(规范形式)
例如,
20085714|t|Autosomal-dominant striatal degeneration is caused by a mutation in the phosphodiesterase 8B gene. 20085714|a|Autosomal-dominant striatal degeneration is caused by a mutation in the phosphodiesterase 8B gene. Autosomal-dominant striatal degeneration (ADSD) is an autosomal-dominant movement disorder affecting the striatal part of the basal ganglia. ADSD is characterized by bradykinesia, dysarthria, and muscle rigidity. These symptoms resemble idiopathic Parkinson disease, but tremor is not present. Using genetic linkage analysis, we have mapped the causative genetic defect to a 3.25 megabase candidate region on chromosome 5q13.3-q14.1. A maximum LOD score of 4.1 (Theta = 0) was obtained at marker D5S1962. Here we show that ADSD is caused by a complex frameshift mutation (c.94G>C+c.95delT) in the phosphodiesterase 8B (PDE8B) gene, which results in a loss of enzymatic phosphodiesterase activity. We found that PDE8B is highly expressed in the brain, especially in the putamen, which is affected by ADSD. PDE8B degrades cyclic AMP, a second messenger implied in dopamine signaling. Dopamine is one of the main neurotransmitters involved in movement control and is deficient in Parkinson disease. We believe that the functional analysis of PDE8B will help to further elucidate the pathomechanism of ADSD as well as contribute to a better understanding of movement disorders. 20085714 72 92 phosphodiesterase 8B Gene 8622 20085714 99 139 Autosomal-dominant striatal degeneration Disease 609161 20085714 671 678 c.94G>C Mutation c|SUB|G|94|C 20085714 679 687 c.95delT Mutation c|DEL|95|T 20085714 696 716 phosphodiesterase 8B Gene 8622 20085714 981 989 Dopamine Chemical D004298
有关pubtator格式的更多详细信息,请访问此link。
tagtog格式-anndoc
tagtog使用两个文件-一个html(.html)文件和一个json
(.ann.json)表示注释的文件。
HTML文件被分成几个部分-每个部分都有一个ID。
json文件具有特定于文档的注释,后跟en