Skip to content

Instantly share code, notes, and snippets.

Luca Beltrame lbeltrame

Block or report user

Report or block lbeltrame

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@lbeltrame
lbeltrame / nonworking.yaml
Created Dec 22, 2014
Non working config file
View nonworking.yaml
details:
- algorithm:
aligner: bwa
archive: cram
clinical_reporting: true
coverage: my_regions
coverage_depth: high
coverage_interval: regional
effects: vep
indelcaller: scalpel
View keybase.md

Keybase proof

I hereby claim:

  • I am lbeltrame on github.
  • I am einar (https://keybase.io/einar) on keybase.
  • I have a public key whose fingerprint is CBD6 EEE3 7132 027A A237 9659 013F A50B 6E1A 4E79

To claim this, I am signing this object:

@lbeltrame
lbeltrame / gogs.init
Last active Apr 16, 2016
CentOS Gogs init script
View gogs.init
#!/bin/bash
#
# /etc/rc.d/init.d/gogs
#
# Runs the Gogs Go Git Service.
#
#
# chkconfig: - 85 15
#
@lbeltrame
lbeltrame / gist:9888910
Created Mar 31, 2014
Calculate coverage for a directory containing BAM files, given a BED file
View gist:9888910
#!/usr/bin/python3
# This file is part of utils
#
# Copyright (C) 2014 Luca Beltrame <luca.beltrame@marionegri.it>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
View reviewboard-am.py
#!/usr/bin/env python
# encoding: utf-8
import json
import os
import subprocess
import sys
import requests
from argparse import ArgumentParser
@lbeltrame
lbeltrame / create_ipython_notebook.py
Last active Dec 11, 2015
PyQt4 + PyKDE4 script to auto-create IPython notebooks based on date, including starting the interpreter and browser (chromium). Depends upon having a "nbserver" profile set up in IPython. Depends upon: pathlib, psutil, PyQt4, PyKDE4, Pynotify.
View create_ipython_notebook.py
#!/usr/bin/env python
from datetime import datetime
import sys
from IPython.nbformat import current
from pathlib import Path
from PyKDE4.kdecore import KStandardDirs
from PyKDE4.kio import KRun
import PyQt4.QtCore as QtCore
You can’t perform that action at this time.