iseqpharmgkb


Nameiseqpharmgkb JSON
Version 0.0.9 PyPI version JSON
download
home_pagehttps://gitlab.com/intelliseq/iseqpharmgkb
SummaryPackage for creating database from PharmGKB and querying for specific variant/allele
upload_time2023-09-27 13:50:33
maintainer
docs_urlNone
authorMateusz Marynowski, Olaf Tomaszewski
requires_python>=3.6
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ISEQPHARMGKB

Scripts that allow you to:
1) Create databases (clinical and variant) from [PharmGKB](https://www.pharmgkb.org/) 
2) Get clinical or variant annotations from PharmGKB for own queries

## Install iseqpharmgkb library

Optional steps (create virtual environment):
```
python3 -m venv venv
source venv/bin/activate
```

Obligatory steps:
```
python3 -m pip install --upgrade pip
pip install iseqpharmgkb
```

## Requirements

- python >=3.6
- pandas >= 1.2.4
- requests >= 2.22.0
- SQLAlchemy >= 1.3.17

## Create databases

```
create_database
```

## Get clinical annotations

```
get_clinical_annotation --queries /path/to/query.json --output-filename /output/filename.json
```

An example `query.json` file should look like this:
```
{
    "rs1050828": "CC",
    "rs5030868": "CC",
    "CYP2D6*2": "*2",
    "CYP2D6*1": "*1/*1"
}
```

## Get variant annotations

```
get_variant_annotation --queries /path/to/query.json --output-filename /output/filename.json
```

An example `query.json` file should look like this:
```
{
    "rs1050828": "CC",
    "rs5030868": "CC",
    "CYP2D6*2": "*2",
    "CYP2D6*1": "*1/*1"
}
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://gitlab.com/intelliseq/iseqpharmgkb",
    "name": "iseqpharmgkb",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "Mateusz Marynowski, Olaf Tomaszewski",
    "author_email": "mateusz.marynowski@intelliseq.pl, olaf.tomaszewski@intelliseq.pl",
    "download_url": "https://files.pythonhosted.org/packages/29/c4/a726bee434ab14253fe2daa306c40c66bd817e6a60f42256e5ce7be30f4b/iseqpharmgkb-0.0.9.tar.gz",
    "platform": null,
    "description": "# ISEQPHARMGKB\n\nScripts that allow you to:\n1) Create databases (clinical and variant) from [PharmGKB](https://www.pharmgkb.org/) \n2) Get clinical or variant annotations from PharmGKB for own queries\n\n## Install iseqpharmgkb library\n\nOptional steps (create virtual environment):\n```\npython3 -m venv venv\nsource venv/bin/activate\n```\n\nObligatory steps:\n```\npython3 -m pip install --upgrade pip\npip install iseqpharmgkb\n```\n\n## Requirements\n\n- python >=3.6\n- pandas >= 1.2.4\n- requests >= 2.22.0\n- SQLAlchemy >= 1.3.17\n\n## Create databases\n\n```\ncreate_database\n```\n\n## Get clinical annotations\n\n```\nget_clinical_annotation --queries /path/to/query.json --output-filename /output/filename.json\n```\n\nAn example `query.json` file should look like this:\n```\n{\n    \"rs1050828\": \"CC\",\n    \"rs5030868\": \"CC\",\n    \"CYP2D6*2\": \"*2\",\n    \"CYP2D6*1\": \"*1/*1\"\n}\n```\n\n## Get variant annotations\n\n```\nget_variant_annotation --queries /path/to/query.json --output-filename /output/filename.json\n```\n\nAn example `query.json` file should look like this:\n```\n{\n    \"rs1050828\": \"CC\",\n    \"rs5030868\": \"CC\",\n    \"CYP2D6*2\": \"*2\",\n    \"CYP2D6*1\": \"*1/*1\"\n}\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Package for creating database from PharmGKB and querying for specific variant/allele",
    "version": "0.0.9",
    "project_urls": {
        "Homepage": "https://gitlab.com/intelliseq/iseqpharmgkb"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "29c4a726bee434ab14253fe2daa306c40c66bd817e6a60f42256e5ce7be30f4b",
                "md5": "59a7d10534ac7d285668dcc69f61dfef",
                "sha256": "311d9404e7e29c93db0e38d9baa309ba5a726c87bb26973ee3e5baf6285c5227"
            },
            "downloads": -1,
            "filename": "iseqpharmgkb-0.0.9.tar.gz",
            "has_sig": false,
            "md5_digest": "59a7d10534ac7d285668dcc69f61dfef",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 9119,
            "upload_time": "2023-09-27T13:50:33",
            "upload_time_iso_8601": "2023-09-27T13:50:33.843609Z",
            "url": "https://files.pythonhosted.org/packages/29/c4/a726bee434ab14253fe2daa306c40c66bd817e6a60f42256e5ce7be30f4b/iseqpharmgkb-0.0.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-27 13:50:33",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "intelliseq",
    "gitlab_project": "iseqpharmgkb",
    "lcname": "iseqpharmgkb"
}
        
Elapsed time: 0.17264s