Giter VIP home page Giter VIP logo

codon_optimization's Introduction

A training tool for the codon optimization model for E. coli.

In order to accurately capture the codon distribution of the host genes, the codon optimization problem can be converted into that of sequence annotation in deep learning.Sequence labeling models are quite popular in many NLP tasks, such as Named Entity Recognition (NER), part-of-speech (POS) tagging and word segmentation.NCRF++ is a PyTorch based framework with flexiable choices of input features and output structures.

This is a training tool for the codon optimization model for E. coli,which is based on NCRF++

Welcome to start this repository!

Requirement:

Python: 3  
PyTorch: 1.4 (Currently, 0.3 and earlier are not supported)

1.Usage:

The program can run in two status; training and decoding.

In training status: python main.py --config demo.train.config

In decoding status: python main.py --config demo.decode.config

The configuration file controls the network structure, I/O, training setting and hyperparameters.

Detail configurations and explanations are listed here.

2.Data format:

You can refer to the data format in CPA.

In sample_data,we have prepared train_set, dev_set and test_set for training model.

You can also use our trained_model to decode.

3.Data transform:

codonToBox and boxToCodon is provided to transform data.

Updating...

codon_optimization's People

Contributors

devil625 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.