Skip to content

Instantly share code, notes, and snippets.

View olegs's full-sized avatar

Oleg Shpynov olegs

  • JetBrains
  • Munich, Germany
View GitHub Profile
@olegs
olegs / analysis.ipynb
Created January 12, 2024 11:07
Rapid unleashing of macrophage efferocytic capacity via transcriptional pause/release (commands.sh)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@olegs
olegs / batch-fast-style-transfer.sh
Last active January 20, 2019 11:56
Batch processing of fast-style-transfer for Udacity Deep Learning Nanodegree
# This is a bash script for batch images processing using https://github.com/lengstrom/fast-style-transfer code.
# Used in udacity Deep Learning Nanodegree https://www.udacity.com/course/deep-learning-nanodegree--nd101
# Step 1. Configure environment
# conda create -n style-transfer python=3
# activate style-transfer
# conda install tensorflow scipy pillow
# pip install moviepy
# python -c "import imageio; imageio.plugins.ffmpeg.download()"
#
# Step 2. Close source code and have fun
@olegs
olegs / tdf.rst
Created March 30, 2018 18:56 — forked from superbobry/tdf.rst
TDF format spec

TDF

TDF is a binary format developed by the IGV team at Broad Institute.

Overview

Concepts

@olegs
olegs / wait.sh
Last active May 11, 2017 14:17
Code to wait for the asynchronous tasks to finish on Portable Batch System using qsub
# Small procedure to wait until all the tasks are finished on the qsub cluster
# Example of usage: wait_complete $TASKS, where $TASKS is a task ids returned by qsub.
wait_complete()
{
echo "Waiting for tasks..."
for TASK in $@
do :
echo -n "TASK: $TASK"
# The task id is actually the first numbers in the string
TASK_ID=$(echo ${TASK} | sed -e "s/\([0-9]*\).*/\1/")