Skip to main content

Convert PubTator format to Anndoc Format for TagTog

Project description

Convert annotations in PubTator format to TagTog format.

PubTator Format

The PubTator format uses the following format:

<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>

where:

  • The first line contains the title of the paper.

  • The second line contains the abstract of the paper.

  • The subsequent lines contain the annotations for the entities in a tab separated format:

    • PMID

    • Start Offset

    • End Offset

    • Mention (entity text)

    • Type of Entity

    • Identifier (normalized form)

For example,

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

For more details about the PubTator format, visit this link.

TagTog format - Anndoc

TagTog employs two files - one HTML (.html) file and one JSON (.ann.json) file to represent annotations.
The HTML file is separated into parts - where each part has an ID.
The JSON file has document specific annotations, followed by en

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PubTator2Anndoc-0.2.0.tar.gz (4.0 kB view details)

Uploaded Source

File details

Details for the file PubTator2Anndoc-0.2.0.tar.gz.

File metadata

File hashes

Hashes for PubTator2Anndoc-0.2.0.tar.gz
Algorithm Hash digest
SHA256 343e7ef284dbe121368f95a6c18e29b2cab932d75fd066e20843f128b22589c2
MD5 60865f1319a4eed7a4c67b4b95d4c939
BLAKE2b-256 4c6814088ccd4e3a7bc035fe60e923af2a6f6a6092c50a426b3562daaa58bafb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page