Socket
Socket
Sign inDemoInstall

dscore

Package Overview
Dependencies
9
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    dscore

Python tool for automated, multiserver query for disordered regions in protein sequences.


Maintainers
1

Readme

D-score

DOI PyPI version

dscore is a meta-server tool for the prediction of disordered regions in protein sequences. It works by querying several webservers and gathering the results in an easy-to-use format. All the work is automated using simple web requests where possible, falling back to webscraping with selenium for servers without a public API.

The servers currently used are the following (follow the links for more information and references to papers): disembl, disopred, disprot, espritz, globplot, iupred, jpred, pondr, prdos, foldindex, metapredict (used for comparison, but not included in the final dscore), seg (for complexity prediction)

Multiple algorithms are used from all servers, but not all the available ones. Check the output for details.

Features

dscore then aggregates the data in a single table in a text file for further processing. It will also automatically generate a few plots for quickly visualising the data.


Server summary plot: disorder predictions from each algorithm available and consensus D-score.


D-score plot: line plot of the raw averaged value used for D-score prediction.


Consensus plot: an indication of how close to the consensus each server is, useful to find outliers.


Text outputs: can easily be parsed for more advanced analysis.

# 0. resn
# 1. residue
# 2. disprot_VSL2
# 3. disprot_VSL3
# 4. disprot_VLXT
# 5. disprot_PONDR-FIT
# 6. dscore_raw
# 7. dscore
  0  1    2    3    4    5       6  7
---  ---  ---  ---  ---  ---  ----  ---
  1  M    D    D    D    D    0     D
  2  T    D    D    D    D    0     D
  3  K    D    D    D    D    0     D
  4  K    D    D    D    D    0     D
  [...]

Installation

dscore is available on PyPi and easily installable with pip:

pip install dscore

Firefox webdriver

To run, dscore also requires the Firefox webdriver to be installed. Download the latest version of the driver from the official github release: scroll down and choose the appropriate one (for example, the ...linux64.tar.gz for a 64bit linux installation). Make sure to unzip/untar the driver and make it accessible on the PATH enviroment variable. Here's a detailed guide on how to do this.

Usage

Note that this program works by opening a ton of firefox windows and issuing automated commands. Let it do its thing and don't get scared! :)

DISCLAIMER: dscore relies on other webservers for its results. Some of these servers have limitations on the amount of requests per user, so you may get temporarily blocked if you submit too many sequences. Spread them out!

dscore can be used either as a python library or from the command line. The latter has a simple interface:

dscore <sequence_or_fasta_file>

Use the --help option for more information.


You can also generate a new dscore and new plots from a subset of columns of an existing .dscore file:

dscore_plot <dscore_file> <column> <other_column>

References

This tool implements a simple automated version of the D-score calculation and analysis performed in the paper Modular organization of rabies virus phosphoprotein by F. Gerard et Al.

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc