Giter VIP home page Giter VIP logo

pubchem-utils's Introduction

pubchem-utils Build Status

Utilities for interacting with PubChem

Quick Start

from pubchem_utils import PubChem
pc = PubChem()

Download 3D structures for a batch of CIDs:

pc.get_records([2244, 3672], filename='painkillers.sdf.gz', use_3d=True)

Retrieve SIDs active in a PubChem BioAssay experiment:

sids = pc.get_ids_from_assay(466, sids=True, activity_outcome='active')

Download the data table for a PubChem BioAssay experiment:

pc.get_assay_data(466, filename='AID466.csv.gz')

Get the PubChem CID for a compound in ChEMBL:

id_map = pc.id_exchange('CHEMBL25')  # source is inferred from ID string

Search PubChem for the CID matching a SMILES string:

cid = pc.structure_search('CC(=O)OC1=CC=CC=C1C(=O)O')

pubchem-utils's People

Contributors

skearnes avatar

Stargazers

HIbrahim avatar

Watchers

Robert T. McGibbon avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.