Giter Site home page Giter Site logo

wangjun258 / signalp-6.0 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fteufel/signalp-6.0

0.0 1.0 0.0 12.16 MB

Multi-class signal peptide prediction and structure decoding model.

Home Page: https://services.healthtech.dtu.dk/service.php?SignalP-6.0

License: Other

Python 77.36% Jupyter Notebook 22.64%

signalp-6.0's Introduction

SignalP 6.0

Signal peptide prediction model based on a Bert protein language model encoder and a conditional random field (CRF) decoder.

This is the development codebase. If you are looking for the prediction service, go to https://services.healthtech.dtu.dk/service.php?SignalP-6.0.

The installation instructions for the installable SignalP 6.0 prediction tool can be found here.

Install in editable mode with pip install -e ./ to experiment.

Data

The training dataset as well as the full dataset before homology partitioning are in data. The directory additionally contains the extended vocabulary of the ProtTrans BertTokenizer used.

Training

You can find the training script in scripts/train_model.py. The pytorch model is in src/signalp6/models. Please refer to the training script source for the meaning of all parameters.

A basic training command looks like this:

python3 scripts/train_model.py --data data/train_set.fasta --test_partition 0 --validation_partition 1 --output_dir testruns --experiment_name testrun1 --remove_top_layers 1 --kingdom_as_token --sp_region_labels --region_regularization_alpha 0.5 --constrain_crf --average_per_kingdom

Other things in package

  • training_utils contains parts that were used to fit the model, e.g. dataloading and regularization.
  • utils contains other utilities, such as functions to calculate metrics or region statistics.

signalp-6.0's People

Contributors

fteufel avatar

Watchers

James Cloos 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.