Skip to content

Instantly share code, notes, and snippets.

View fransua's full-sized avatar
🐜
epigenomiking

Francois Serra fransua

🐜
epigenomiking
  • Computational Biology - BSC
  • Barcelona, Spain
  • 19:43 (UTC +02:00)
  • X @fransua_serra
View GitHub Profile
@fransua
fransua / kimchi.py
Created January 26, 2020 21:43 — forked from rebeccabilbro/kimchi.py
For converting Python 2 pickles to Python 3
# kimchi.py
# For converting Python 2 pickles to Python 3
import os
import dill
import pickle
import argparse
def convert(old_pkl):
@fransua
fransua / notebook_mem_usage.py
Created June 27, 2019 12:57 — forked from aiguofer/README.md
Find out how much memory each of the jupyter notebooks running on a server is using. Helpful for knowing which ones to shut down. Original code from http://stackoverflow.com/questions/34685825/jupyter-notebook-memory-usage-for-each-notebook
import argparse
import re
import subprocess
import pandas as pd
import psutil
import requests
import tabulate
kernel_regex = re.compile(r".+kernel-(.+)\.json")
@fransua
fransua / figure_1.png
Created March 9, 2016 21:29 — forked from daler/LICENSE
Plot chromosome ideograms along with other genomic data
figure_1.png