Skip to content

Instantly share code, notes, and snippets.

View simon-anders's full-sized avatar

Simon Anders simon-anders

  • University of Heidelberg
  • Heidelberg, Germany
View GitHub Profile
import numpy as np
import pysam
import numba
@numba.njit
def _check_cigar_pos(pos, cigar):
if pos > cigar.shape[0]:
raise ValueError("Invalid CIGAR string (1)")
@numba.njit
@simon-anders
simon-anders / Dockerfile
Last active July 8, 2026 12:25
Dockerfile
# Docker container with Monocle3
FROM debian:latest
ARG NCORES=3
RUN apt-get update
RUN apt-get install -y r-base-dev
ARG BIOC_INSTALL_ARGS="Ncpus=$NCORES, verbose=TRUE"