Skip to content

Instantly share code, notes, and snippets.

View vellamike's full-sized avatar

Mike Vella vellamike

  • Oxford Nanopore
  • Oxford, UK
View GitHub Profile
@vellamike
vellamike / kseqpp_vs_htslib.cpp
Created December 10, 2019 20:57
kseq vs htslib
#include <iostream>
#include "seqio.h"
#include <zlib.h>
extern "C" {
#include <htslib/faidx.h>
}
using namespace klibpp;
@vellamike
vellamike / install-tensorflow.md
Last active April 7, 2021 23:30
Install tensorflow on Jetson TX2 (Jetpack 3.2)

Building TensorFlow from source for Jetson TX2 with Jetpack 3.2

Jetpack 3.2 includes Cuda 9 and CuDNN 7 so it is necessary to compile it from source.

Step 1 - Get Java

sudo apt-get install openjdk-8-jdk

Step 2 - Get some dependencies

## Pairing exercise
Draw the below on paper, showing some Event categories along with some events.
```
[ Sky tickets ]
|
|
{'all': 'all', 'izhikevichCell': 'izhikevich_cells', 'inhomogeneousParam': 'inhomogeneous_params', 'tsodyksMarkramDepMechanism': 'tsodyks_markram_dep_mechanism', 'skip': 'skips', 'random': 'random', 'tauDecay': 'tau_decay', 'gateHHtauInf': 'gate_hh_tau_infs', 'ySpacing': 'y_spacing', 'spikeGeneratorPoisson': 'spike_generator_poissons', 'proximal': 'proximal', 'morphology': 'morphology', 'tsodyksMarkramDepFacMechanism': 'tsodyks_markram_dep_fac_mechanism', 'xStart': 'x_start', 'xs:float': 'xs:float', 'startAmplitude': 'start_amplitude', 'tauRise': 'tau_rise', 'member': 'members', 'tau_m': 'tau_m', 'layout': 'layout', 'q10Settings': 'q10_settings', 'reverseRate': 'reverse_rate', 'true': 'true', 'rampGenerator': 'ramp_generators', 'gateHHrates': 'gate_hh_rates', 'to': 'to', 'voltageClamp': 'voltage_clamps', 'extends': 'extends', 'basePyNNIaFCondCell': 'basePyNNIaFCondCell', 'distal': 'distal', 'tau_w': 'tau_w', 'voltageConcDepBlockMechanism': 'voltage_conc_dep_block_mechanism', 'xSpacing': 'x_spacing', 'tau_refr
@vellamike
vellamike / warnings
Created August 15, 2013 21:05
python-mode install fail
Leaving directory `/home/mike/.emacs.d/elpa/python-mode-6.0.10'
Compiling file /home/mike/.emacs.d/elpa/python-mode-6.0.10/python-mode-pkg.el at Thu Aug 15 21:58:54 2013
Entering directory `/home/mike/.emacs.d/elpa/python-mode-6.0.10/'
Compiling file /home/mike/.emacs.d/elpa/python-mode-6.0.10/python-mode.el at Thu Aug 15 21:58:54 2013
In py-guess-pdb-path:
python-mode.el:160:20:Warning: `interactive-p' is an obsolete function (as of
23.2); use `called-interactively-p' instead.