# @datagica/parse-proteins

> Extract proteins from text

Latest version **0.0.1** (published 2018-05-29) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install @datagica/parse-proteins
pnpm add @datagica/parse-proteins
yarn add @datagica/parse-proteins
bun add @datagica/parse-proteins
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2018-05-29 |
| First published | 2017-07-10 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 338.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Julian Bilcke |
| Maintainers | datagica |

## Links

- npm: https://www.npmjs.com/package/@datagica/parse-proteins
- Repository: https://github.com/datagica/parse-proteins
- Homepage: https://github.com/datagica/parse-proteins#readme
- Issues: https://github.com/datagica/parse-proteins/issues
- npm.io page: https://npm.io/package/@datagica/parse-proteins

## Dependencies (1)

- [@datagica/parse-entities](https://npm.io/package/@datagica/parse-entities.md) ^0.2.7

## Recent versions

- 0.0.1 (latest) — 2018-05-29
- 0.0.0 — 2017-07-10

## README

# Parse Proteins

If a protein, license or copyright is missing you can create a pull request

## Installation

    $ npm i @datagica/parse-proteins

## Usage

Example:

```javascript
await parse('In Humans, myomesin is encoded by the genes MYOM1 and MYOM2.')
```

Output:

```json
[
  {
    "ngram": "myomesin",
    "value": {
      "id": "myomesin",
      "label": {
        "en": "Myomesin",
        "fr": "Myomésine"
      },
      "description": {
        "en": "Myomesin",
        "fr": "Myomésine"
      },
      "keywords": [],
      "category": "protein",
      "aliases": {
        "en": [
          "Myomesin",
        ],
        "fr": [
          "Myomésine",
        ],
      },
    },
    "score": 1,
    "position": {
      "sentence": 0,
      "word": 3,
      "begin": 11,
      "end": 19
    }
  }
]
```

Also support some french:

```javascript
await parse('Les protéines S100A8 et S100A9 forment un hétérodimère appelé calprotectine.')
```

```json
[
  {
    "ngram": "S100A8",
    "value": {
      "id": "calgranulin-a",
      "label": {
        "en": "Calgranulin A",
        "fr": "Calgranuline A"
      },
      "description": {
        "en": "S100 calcium-binding protein A8 (S100A8, Calgranulin A)",
        "fr": "S100A8 (Calgranuline A)"
      },
      "keywords": [],
      "category": "protein",
      "aliases": {
        "en": [
          "S100 calcium-binding protein A8",
          "S100 calcium binding protein A8",
          "S100A8",
          "calgranulin A",
          "calgranulins A",
        ],
        "fr": [
          "calgranuline A",
          "calgranulines A",
        ],
      },
    },
    "score": 1,
    "position": {
      "sentence": 0,
      "word": 2,
      "begin": 14,
      "end": 20
    }
  }, {
    "ngram": "S100A9",
    "value": {
      "id": "calgranulin-b",
      "label": {
        "en": "S100A9 (Calgranulin B)",
        "fr": "S100A9 (Calgranuline B)"
      },
      "description": {
        "en": "S100 calcium-binding protein A9 (S100A9, Calgranulin B)",
        "fr": "S100A9 (Calgranuline B)"
      },
      "keywords": [],
      "category": "protein",
      "aliases": {
        "en": [
          "calgranulin B",
          "calgranulins B",
          "S100 calcium-binding protein A9",
          "S100A9",
          "migration inhibitory factor-related protein 14",
          "migration inhibitory factor related protein 14",
          "MRP14",
        ],
        "fr": [
          "calgranuline B",
          "calgranulines B",
        ],
      },
    },
    "score": 1,
    "position": {
      "sentence": 0,
      "word": 4,
      "begin": 24,
      "end": 30
    }
  }, {
    "ngram": "calprotectine",
    "value": {
      "id": "calprotectin",
      "label": {
        "en": "Calprotectin",
        "fr": "Calprotectin"
      },
      "description": {
        "en": "Calprotectin",
        "fr": "Calprotectine"
      },
      "keywords": [],
      "category": "protein",
      "aliases": {
        "en": [
          "calprotectin",
          "calprotectins",
        ],
        "fr": [
          "calprotectine",
          "calprotectines",
        ],
      },
    },
    "score": 1,
    "position": {
      "sentence": 0,
      "word": 9,
      "begin": 62,
      "end": 75
    }
  }
]
```

---
_Source: https://npm.io/package/@datagica/parse-proteins · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
