Git Product home page Git Product logo

basecaller's Introduction

GeneSeq_BaseCaller

PyPI version py37 py38 py39 cu111 cu113

Overview

Nanopore sequencing is a third generation approach used in the sequencing of biopolymers-specifically, polynucleotides in the form of DNA or RNA.

GeneSeq_BaseCaller is developed to build AI applications for Gene Sequence Base calling.

Quickstart

# build docker image
docker image build -t lt_basecaller:0.1 . -f Dockerfile

# create container and run
docker run --gpus all -p 8899:8899 --name basecaller_dev --ipc=host -it -v /workspace/GeneSeq_BaseCaller:/workspace/GeneSeq_BaseCaller lt_basecaller:0.1

cd GeneSeq_BaseCaller

# setup
python setup.py develop

Datasets

# to download ont data
python bonito/download.py --training --data_dir /workspace/datasets/ 

# to download ont models
python bonito/download.py --model --show
python bonito/download.py --model --model_dir /workspace/model_bin/

If you have your own hdf5 file, then convert it to numpy data directly.

python bonito/convert.py /workspace/datasets/*.fast5 /workspace/datasets/

To train your own model or evaluation

bash scripts/train.sh
bash scripts/val.sh

Basecalling

python bonito/basecaller.py /workspace/model_bin/MODEL /workspace/datasets/READs -v --reference /workspace/datasets/REF > basecalls.bam

Performance

dataset model mean_acc device epoch
dna_r9.4.1 lstm_ctc_crf 96.37 A10 20
dna_r9.4.1 quartznet 95.72 A10 20
dna_r9.4.1 TransEnc_ctc_crf 96.04 A10 10
dna_r9.4.1 conformer_ctc_crf 97.18 A100 10

basecaller's People

Watchers

 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.