Skip to main content

Simple API for Python Integration with NCBI

Project description

Stargazers Commits Issues MIT License LinkedIn


Logo

PyNCBI

Simple API for Python Integration with NCBI .
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents

About The Project

Here's Why PyNCBI :dna: :

When working with methylation data, NCBI might be one of the most extensive open source databases that provide the methylation data and the information around it. When working with NCBI on a day-to-day basis, searching, querying, and extracting information may prove to be a time-consuming and headache-producing challenge. PyNCBI strives to answer all needs a researcher might need when communicating with NCBI using a straightforward python API that allows to quickly test, extract, analyze and download relevant data.

Installation

pip install PyNCBI

Usage

GSE Wise Info Retrival

from PyNCBI import GEOReader
# Create Reader Instance
reader= GEOReader()
# Extact all GSM info associated to GSE99624 (Saved csv will appear in your downloads folder)
reader.extract_gse_sample_info('GSE99624')

GSE Wise Data Retrival

from PyNCBI import GEOReader
# Create Reader Instance
reader= GEOReader()
# Extact all GSM methylation data associated to GSE142512 (Saved files will appear in your downloads folder per GSM depending on page data status)
reader.download_gse_data('GSE142512')

Single GSM Data Retrival

from PyNCBI import GEOReader
# Create Reader Instance
reader= GEOReader()
# Extact GSM methylation data associated to GSE142512 (Saved file will appear in your downloads folder per GSM depending on page data status)
reader.download_gsm_data('GSM1518180')

Parsing IDAT files

from PyNCBI import parse_idat_files

# Beta Values will be stored in a parquet file in path
parse_idat_files("Path_To_IDAT_FILES/", 'array_type')

Currently Supported Data Features

  • GSE Wise Card Information Extraction
  • GSM Card Information Extraction
  • GSE Wise Methylation Data Extraction
  • GSM Card Methylation Data Extraction
  • IDAT File Parsing Management Based on methylprep

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open-source community such a powerful place to create new ideas, inspire, and make progress. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT license. See LICENSE for more information.

Contact

Thomas Konstantinovsky - thomaskon90@gmail.com

Project Link: https://github.com/MuteJester/PyNCBI

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

PyNCBI-0.1.5.1.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

PyNCBI-0.1.5.1-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file PyNCBI-0.1.5.1.tar.gz.

File metadata

  • Download URL: PyNCBI-0.1.5.1.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.13

File hashes

Hashes for PyNCBI-0.1.5.1.tar.gz
Algorithm Hash digest
SHA256 12d6724f52da78fed9105ca9c3653a789ae80c20bb9447db1a22df78b2089a8f
MD5 2bcb664de9206a4e97579e97f060b4cd
BLAKE2b-256 ea2aa586ad87c420beb7e50914188d1fa91d726078f02b55c016be9c18b02984

See more details on using hashes here.

File details

Details for the file PyNCBI-0.1.5.1-py3-none-any.whl.

File metadata

  • Download URL: PyNCBI-0.1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.13

File hashes

Hashes for PyNCBI-0.1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aa0df57100319bf289b2d7efa6e89d03f159e5983107aa0084d7a251e29eb18f
MD5 5dc6390c02c93eaa259f7815c3344eb8
BLAKE2b-256 3faebd0e2eec747638e470fcfb75965c2ee6e51c0bfdad28bd751d8f2a1b74b8

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