Skip to content

Instantly share code, notes, and snippets.

View eachanjohnson's full-sized avatar

Eachan Johnson eachanjohnson

View GitHub Profile
@sirselim
sirselim / basecalling_notes.md
Last active August 16, 2024 07:37
a collection of my notes while working on nanopore basecalling on the Jetson Xavier

Jetson Xavier basecalling notes

initial basecalling runs

'fast' flip-flop calling on the Jetson Xavier

guppy_basecaller --disable_pings --compress_fastq -c dna_r9.4.1_450bps_fast.cfg -i flongle_fast5_pass/ -s flongle_test2 -x 'auto' --recursive 
@eachanjohnson
eachanjohnson / errR.R
Created October 28, 2016 15:01
Error handling binary operator in R
`%except%` <- function (try.expression, catch.expression) {
tryCatch(try.expression,
error=function(e) {
if ( inherits(catch.expression, 'function') ) {
catch.expression(e)
} else {
catch.expression
}
})