Skip to content

Instantly share code, notes, and snippets.

@thanhleviet
Last active December 1, 2023 11:29
Show Gist options
  • Select an option

  • Save thanhleviet/b5b8398baa75c35e47aeb3593bfcdeb6 to your computer and use it in GitHub Desktop.

Select an option

Save thanhleviet/b5b8398baa75c35e47aeb3593bfcdeb6 to your computer and use it in GitHub Desktop.

1. Nanopore basecalling with Dorado

https://github.com/nanoporetech/dorado

Setup

Running

We'd like to test simplex basecalling with three models https://github.com/nanoporetech/dorado#simplex-basecalling

dna_r10.4.1_e8.2_400bps_fast@v4.2.0
dna_r10.4.1_e8.2_400bps_hac@v4.2.0
dna_r10.4.1_e8.2_400bps_sup@v4.2.0
#!/sur/bin/env bash

DORADO=/home/boston/dorado-0.4.3-linux-x64/bin/dorado
MODELS=("dna_r10.4.1_e8.2_400bps_fast@v4.2.0" "dna_r10.4.1_e8.2_400bps_hac@v4.2.0" "dna_r10.4.1_e8.2_400bps_sup@v4.2.0")
DATA=/home/boston/benchmarking/
for model in "${MODELS[@]}";
do
echo "Running $model"
$DORADO basecaller -v models/$model $DATA 2>> $model.log > $model.bam
done

Metrics

  • Runtime and samples/s which are reported when dorado completes successfully.
  • GPU memory usage

2. ai-benchmarking

https://pypi.org/project/ai-benchmark/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment