Skip to content

Commit 42a93c0

Browse files
committed
readme
1 parent 8b906d7 commit 42a93c0

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,19 @@ If a reference is provided in either `.fasta` or `.mmi` format then bonito will
1515
$ bonito basecaller dna_r9.4.1 --reference reference.mmi /data/reads > basecalls.sam
1616
```
1717

18+
## Developer Quickstart
19+
20+
```bash
21+
$ git clone https://github.com/nanoporetech/bonito.git # or fork first and clone that
22+
$ cd bonito
23+
$ python3 -m venv venv3
24+
$ source venv3/bin/activate
25+
(venv3) $ pip install --upgrade pip
26+
(venv3) $ pip install -r requirements.txt
27+
(venv3) $ python setup.py develop
28+
(venv3) $ bonito download --models --latest
29+
```
30+
1831
## Training your own model
1932

2033
To train a model using your own reads, first basecall the reads with the additional `--save-ctc` flag and use the output directory as the input directory for training.
@@ -64,19 +77,6 @@ The `pairs.csv` file is expected to contain pairs of read ids per line *(seperat
6477
- `bonito download` - download pretrained models and training datasets.
6578
- `bonito basecaller` - basecaller *(`.fast5` -> `.fasta`)*.
6679

67-
## Developer Quickstart
68-
69-
```bash
70-
$ git clone https://github.com/nanoporetech/bonito.git # or fork first and clone that
71-
$ cd bonito
72-
$ python3 -m venv venv3
73-
$ source venv3/bin/activate
74-
(venv3) $ pip install --upgrade pip
75-
(venv3) $ pip install -r requirements.txt
76-
(venv3) $ python setup.py develop
77-
(venv3) $ bonito download --all
78-
```
79-
8080
### References
8181

8282
- [Sequence Modeling With CTC](https://distill.pub/2017/ctc/)

0 commit comments

Comments
 (0)