An Update to PubChem Widgets

PubChem Widgets 2.0f is released. The update substantially updates all table-based widgets and classification widgets, while adding new capabilities and features. The autocomplete widget remains unchanged from the previous version.

 

What are PubChem Widgets?

PubChem content is enormous and changes on a daily basis.  Keeping an effective mirror of this corpus is not trivial.  PubChem Widgets enable scientific web developers to display PubChem content within webpages they design.  All data comes directly from PubChem and, therefore, obviates the need to mirror that content.  This makes it easier to harness the vast scientific knowledge within PubChem on your own webpage, such as summaries of patents, bioactivities and PubMed articles linked to a PubChem record. They can also be used to provide an autocomplete function that suggests a list of terms when you type input into a search field.

 

What is new in PubChem Widgets 2.0f?

  • Simpler to embed
    It is now simpler to embed a data view widget into any web page using PubChem Widgets 2.0f. All you need is to include an HTML iframe tag with a proper URL as the ‘src’ attribute. For instance, to embed a PubChem widget from the above example, add the following code to your webpage at the location where you want the widget to appear:

    <iframe class="pubchem-widget" 
            src="https://pubchem.ncbi.nlm.nih.gov/compound/tiformin#section=InChI&embed=true" 
            style="border: 0;  width: 100%; height: 250px;">
    </iframe>
    

    The widget then renders the desired content for you.

  • Easier to resize
    The open source iframe resizer is able to resize an iframe automatically for you. To use it, add the following code to your page (only once, even if you have multiple PubChem widgets on the same page) just before the closing body tag:

    <script type="text/javascript" src="https://pubchem.ncbi.nlm.nih.gov/pcfe/libs/iframeResizer.min.js"></script>
    <script type="text/javascript">iFrameResize({log:false,checkOrigin:false}, '.pubchem-widget')</script>
    

 

How to convert to PubChem Widgets 2.0f?

Detailed instruction on how to convert PubChem Widgets 2.0f is given in this Conversion Guide.  PubChem Widgets 1.0 will be retired soon.  If you are using the PubChem Widgets 1.0 tables and classifications in your web pages, please update to PubChem Widgets 2.0f as soon as possible.  [Please note there is no change required for conversion of the autocomplete widgets.]

 

For more information on PubChem Widgets 2.0f, please read these pages:

PubChem presents at the 252nd ACS national meeting in Philadelphia

The 252nd American Chemical Society National Meeting will be held in Philadelphia, PA from August 21 to August 25, 2016.  At this meeting, whose theme is “of the people, by the people, for the people”, Drs. Stephen Bryant and Evan Bolton will be presented the Herman Skolnik Award honoring their leadership in the PubChem project.  See here for more details about the Herman Skolnik Award.

In addition, the PubChem team and collaborators will give a total of eight oral presentations at the meeting to present recent developments and updates in PubChem.

Monday, August 22

Tuesday, August 23

Wednesday, August 24

Thursday, August 25

The PubChem team is also involved in organizing several symposia at this meeting, including:

Important Changes to PubChem Web Protocols

PubChem will no longer use HTTP web URLs in favor of HTTPS by September 30, 2016.

What does this mean to you?

Currently, PubChem supports both HTTP and HTTPS web URLs. For example, both URLs http://pubchem.ncbi.nlm.nih.gov and https://pubchem.ncbi.nlm.nih.gov take you to PubChem. However, by September 30, 2016, the HTTP web protocol will be retired in favor of the HTTPS protocol. Furthermore, the HTTPS web protocol will be implemented according to the HTTPS-Only Standard. Any attempt to access PubChem after September 30, 2016 using a web URL starting with “http:” may no longer work.

For the most part, this change will be invisible to you as PubChem started to use HTTPS protocol in early 2014. Today, many sites are using HTTPS when linking to PubChem with an URL. However, those still accessing PubChem using the HTTP protocol will need to be updated to the HTTPS protocol.

Why the change?

On June 8, 2015, the US federal government issued a HTTPS-only policy for all publicly accessible Federal websites.  As a part of this mandate, the National Center for Biotechnology Information (NCBI) recently announced important changes to NCBI Web Protocols to adopt HTTPS on September 30, 2016. A webinar is available on the NCBI YouTube channel that explains how this will affect access to web pages. PubChem resides at NCBI and will adopt the same HTTPS-only policy.

Why is this change being mandated?

The unencrypted HTTP protocol does not protect data from interception or alteration, which can subject users to eavesdropping, tracking, and the modification of received data. The regular unencrypted HTTP protocols create some vulnerabilities and may expose potentially sensitive information about users to hackers. The information may include browser identities, website contents, search terms, user submitted information, and more. Many commercial organizations such as banks have already adopted HTTPS-only policies to protect users when using their websites and services.

HTTPS verifies the identity of a website or web service for a connecting client, and encrypts nearly all information sent between the website or service and the user. Protected information includes cookies, user agent details, URL paths, form submissions, and query string parameters. HTTPS is designed to prevent this information from being read or changed while in transit. HTTPS provides a layer of protection for web users, however, it may be worth noting that HTTPS has several important limitations. IP addresses and destination domain names are not encrypted during communication. Even encrypted traffic can reveal some information indirectly, such as time spent on site, or the size of requested resources or submitted information.

To learn more, visit these websites:

 

PubChem presents at the American Chemical Society National Meeting in San Diego (March 13-17, 2016)

On March 13-17, 2016, the 251st American Chemical Society National Meeting will be held in San Diego, CA, the theme of which is “Computers in Chemistry”.  The PubChem team will be at the ACS meeting to present new developments and recent changes in PubChem.  Below is a list of presentations that will be given by the PubChem staff.

 

Day 1 (Sunday, March 13)

Day 2 (Monday, March 14)

Day 3 (Tuesday, March 15)

Day 4 (Wednesday, March 16)

Day 5 (Thursday, March 17)

Recent PubChem Publications: Read about What’s New!

PubChem PublicationsThe PubChem team published an article in the 2016 Nucleic Acids Research Database issue (Kim et al., Nucl. Acids Res., 2016, 44(D1), D1202-D1213, PMID: 26400175).  This article provides an overview of the PubChem Compound and Substance databases, including organization, contents, interfaces, programmatic access and other relevant tools and services.  Considerable changes have been made since these two databases were described in a previous paper published in 2008 (Bolton et al., Ann. Rep. Comput. Chem., 2008, 4, 217-241), and the newly published paper provides updated information on these resources.

Additional papers published about PubChem by the team in 2015 include:

To get a complete list of all articles published by the PubChem team, please visit the PubChem Publication page.

BioAssay Record Page Released

The PubChem BioAssay Record page is now available.  It complements a recent revamp of the PubChem Compound Summary page and the Substance Record page.

What is the BioAssay Record Page?

PubChem Legacy Designation 1As explained in a previous post, PubChem organizes data into three primary databases: Substance, Compound, and BioAssay.  The BioAssay database contains over one million biological assay experiments containing more than 229 million bioactivity outcomes.  For each assay, PubChem now provides a BioAssay Record page (formerly called the Assay Summary page), which displays information provided by the data contributor about the assay as well as annotations and links to tools that support data interpretation and analysis.

What changed?

The key improvements include:

  • Technology refresh
    As with the recent update to the Compound Summary and the Substance Record pages, the new data-driven BioAssay interface is optimized for both touch- and mouse-based devices.  Using a responsive design, it automatically adapts to the available screen size, making it friendly for desktops, tablets, and mobile phones.
  • Data contents reorganized
    In the new BioAssay Record page, depositor-provided information is presented first, followed by annotations based on third-party curation and PubChem processing.  In the now deprecated Assay Summary page, depositor-provided information was intermingled with annotations from third-party curation and PubChem processing, often causing confusion about data provenance (i.e., the information source).
  • Improved data table
    PubChem Legacy Designation 1While a full bioactivity data set is retrieved by default, the data table is partitioned according to activity outcomes (e.g., active, inactive, submicromolar activity, subnanomolar activity, and so on), allowing users to quickly filter results.  In addition, users can download the entire data table or a filtered subset.  To support comparative evaluation, a link to a cross-assay bioactivity analysis page is provided for each compound displayed in the data table.
  • Extended download functionality
    PubChem Legacy Designation 1The top bar ‘Download’ button provides access to all downloadable data on the page.  This includes depositor-provided description, data table results, chemical structures tested in an assay, and annotations shown in an individual section.
  • Integrated Related BioAssay Summary
    At the bottom of the BioAssay Record page, BioAssays from the same assay project and other related BioAssays are displayed in a tabular format, facilitating assay data interpretation and comparison.
  • URL change
    BioAssay Record page uses a different URL from the now deprecated Assay Summary page.  For example, the URL for the BioAssay Record for AID 1284 is:
     
    https://pubchem.ncbi.nlm.nih.gov/bioassay/1284
     
    Links to the now deprecated Assay Summary page will automatically redirect to the new location for the BioAssay Record page.

Future plans?

The now deprecated Assay Summary page will remain accessible from a link at the top of the BioAssay Record page until May 2016.

A PubChem Target Summary page is in progress, helping to summarize available biological activity and annotation information in PubChem is in progress.

PubChem adds a “legacy” designation for outdated data

Sometimes information provided to PubChem by data contributors becomes outdated.  To address this, PubChem is introducing a “legacy” designation for collections that are not regularly updated.  This “legacy” designation applies to project/contributors that appear to no longer be active, as well as to their individual records.  This designation will help PubChem users quickly identify records that may have out-of-date information and/or hyperlinks.

Why a “legacy” designation?

PubChem Legacy Designation 1As an archive, PubChem accepts scientific data from contributors and maintains that data even if the contributing project is discontinued. While this helps ensure community access to the information lasts beyond the lifetime of a given scientific endeavor, the archival nature of PubChem does not allow anyone other than the data contributor to modify provided information.  Therefore, some records in PubChem can persist with outdated (or incorrect) data.  To help identify such cases, we are introducing a “legacy” indication for contributors and their records.  Please note that this does not mean that data identified as “legacy” is without value.  Quite to the contrary, some legacy collections successfully collected valuable scientific data for the research community, and are simply no longer updating the information.

How is a “legacy” designation determined?

A “legacy” designation is arrived at via a semi-manual, semi-automated procedure.  It involves aspects of examining contributor account information, individual records, and user reports.  For example, if the depositor website does not work for a period of time, attempts are made to contact the submitting organization.  If PubChem staff are unable to make contact with the data contributor or if an organization is no longer updating records, a legacy designation may be initiated.  Please note that a “legacy” designation can be removed at any time, when contact is reestablished and updates resume.

Impacts of legacy designation?

PubChem Legacy Designation 2If a data contributor is designated as “legacy”, all records deposited by the contributor are also designated as “legacy”.  While still searchable, these records will clearly indicate that they are “legacy”.  Please note that “legacy” records will not be shown in the “Chemical Vendors” section of Compound Summary pages.  In addition, in the “Substances by Category” section of the Compound Summary page, “legacy” substance records only will be found under “Legacy Depositors”.

Future plans?

The way PubChem implements both manual and automated processes to ascertain a “legacy” indication will likely evolve over time.  In addition, we are looking at the possibility of enabling users to separate out legacy records when searching and analyzing the database.