Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Software Requirements

  • an initial python venv

  • bonito has a very specific requirement on pytorch 1.10.0, so depending on the base CUDA version we'll look at setting up one of these two:

...

  • could look at the web server versionĀ 

Bonito

eresearchqut/bonito: A docker image for the Oxford Nanopore Technologies Bonito software (github.com)

...

Use threads and redirect STDOUT to a file (line 6)

Bonito Standalone

Code Block
#!/bin/bash -l
#PBS -N bonito-gpu
#PBS -l select=1:ncpus=8:mem=32gb:ngpus=1:gputype=A100
#PBS -l walltime=72:00:00

#Change to folder where the job was submitted
cd $PBS_O_WORKDIR

# Run Bonito - check paths and parameters are correct
singularity exec -B /work/ont --nv docker://ghcr.io/eresearchqut/bonito:v0.0.5 bonito \
  basecaller dna_r9.4.1_e8_sup@v3.3 \
  ./example_fast5 \
  --modified-bases 5mC \
  --reference ./reference/GCA_000001405.15_GRCh38_no_alt_analysis_set.mmi \
  --recursive \
  --alignment-threads 4 | \
  samtools view -u | samtools sort -@ 4 > ./bonito_test/bam/HG002_as_test.bam
  
# Run samtools index
singularity exec -B /work/ont --nv docker://ghcr.io/eresearchqut/bonito:v0.0.5 \
  samtools index HG002_as_test.bam

Clair3

Clair3 is available in a nextflow pipeline:

...

Code Block
nextflow run epi2me-labs/wf-human-snp -profile singularity \
    --bam /work/ont/clair3/sample_data/chr6_chr20.bam \
    --bed /work/ont/clair3/sample_data/chr6_chr20.bed \
    --ref /work/ont/clair3/sample_data/chr6_chr20.fasta \
    --out_dir "results" \
    --process.executor "pbspro"

...