Git Product home page Git Product logo

mr-dna's Introduction

MR-DNA

This repository includes the implementation of 'MR-DNA: Flexible DNA 5mC-Methylation-Site Recognization in DNA sequences using Token Classification'.

Installation

Download MR-DNA from the github repository.

git clone https://github.com/husonlab/MR-DNA.git
cd MR-DNA

We recommend you run MR-DNA in a Python virtual environment built by Anaconda, creating a conda environment equipped with the required packages from the MR-DNA yml file.

conda env create -n MR-DNA --file MR-DNA.yml
# If failed, please try to update your conda to the latest version using
conda update -n base -c conda-forge --all
# Check the installation of the required environment
conda info --env
conda activate MR-DNA
# Install the required package additionally
pip install pytorch-crf

Get started

Training DNA-MR on DNA-MR-50 dataset

cd MR-DNA
python ./scripts/main.py --dataset MR-DNA-50 --status train --model DistilBertCRF_MethyLoss --savePath result/model/

Evaluating DNA-MR performance on the test dataset. Training steps saved models whose performance improved. The user needs to give the specific model name when runing the following command.

cd MR-DNA
python ./scripts/main.py --dataset MR-DNA-50 --status test --model DistilBertCRF_MethyLoss --savePath result/model/ --trainedModel <model>

mr-dna's People

Contributors

wenhuan22 avatar

Stargazers

Peter Clarke avatar

Watchers

Daniel Huson's lab avatar  avatar

Forkers

wenhuan22

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.