Skip to content
/ SCOPE Public

Search and Chemical Ontology Plotting Environment

License

Unknown, Apache-2.0 licenses found

Licenses found

Unknown
LICENCE.md
Apache-2.0
LICENSE.txt
Notifications You must be signed in to change notification settings

ReinV/SCOPE

Repository files navigation

SCOPE

1. Introduction
     1.1 What is SCOPE?
     1.2 How does it work?
     1.3 What can it be used for?
2. Prepare SCOPE
     2.1 Pull the git repo
     2.2 Download the required files
3. Usage
     3.1 Create query file
     3.2 Search for all publications using the query file
     3.3 Summarize the query results
4. Further reading

Introduction

1.1 What is SCOPE?

SCOPE is a literature review tool for detecting chemical patterns. Chemicals resulting from a query search can be visualized in an interactive density plot (mass over logP). The more a chemical is mentioned, the brighter the spot. More information is shown in a table by hovering over a spot. The user can easily switch between plots, and add blur and saturation. This allows for comparison of mass/logP distributions between different query searches.

1.2 How does it work?

Chemicals in publications on the Europe PMC site are tagged with a CheBI identifier. Several chemical properties can be retrieved from the ChEBI Ontology using a ChEBI identifier as a key. Log P and log S values are predicted using the AlogPS3.0 model from the OCHEM website ochem.eu site with SMILES (notification for chemical structures, also retrieved from the ontology). SCOPE connects ChEBI identifiers resulting from a query results with chemical properties of interest.

1.3 What can it be used for?

  • Compare chemical detection methods
  • Compare vendors
  • Compare medicines/diseases

2. Prepare SCOPE

2.1 Pull the git repo

using ssh

git pull [email protected]:ReinV/SCOPE.git

or https

git pull https://github.com/ReinV/SCOPE.git

2.2 Download the required files from our OSF project

python download_files.py

In these files, ChEBI identifiers are linked to properties of interest (for plotting).

Everything should now be in place for using SCOPE.

3. Usage

Execute "python <script name> -h" to get a description of the required arguments.

3.1 Create query file

Put the search queries (at least one) in a text file in the following structure:

<output-tag-1>, <query-1>
<output-tag-2>, <query-2>
<output-tag-3>, <query-3>

The search query should be written with the syntax used on the Europe PMC site. For example:

METHODS:"Nuclear Magnetic Resonance" OR METHODS:NMR OR METHODS:"NMR spectrometry" OR METHODS:"nuclear magnetic resonance spectrometry" OR METHODS:"NMR spectroscopy" OR METHODS:"nuclear magnetic resonance (NMR) spectroscopy"

We provide one example input file in the "queries" folder.

3.2 Search for all publications using the query file

python search_query.py -i <path-to-input-file>

The results will be stored in the "results" folder with the output tag as output name.

Warning: this may take up to several hours if there are many search hits. It is recommended to start with a more specific search when trying out SCOPE for the first time.

3.3 Summarize the query results

Use the results folder as input

python make_table.py -i results -t folder

or a specific file

python make_table.py -i <path-to-result-file> -t file

3.4 Plot the query results

python visualize_multiplot.py -i tables -o <plot-name>

This plot will be saved in the "plots" folder.

4 Further reading

About

Search and Chemical Ontology Plotting Environment

Resources

License

Unknown, Apache-2.0 licenses found

Licenses found

Unknown
LICENCE.md
Apache-2.0
LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages