git clone https://github.com/bioconda/bioconda-recipes.git
cd bioconda-recipes/recipes/
ls > ~/bioconda.pkglist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
command -v inkscape >/dev/null 2>&1 || { echo >&2 "Inkscape is not installed. Aborting."; exit 1; } | |
# SVG files must be in "./svg/" and PNG files will be outputed in './png/' | |
echo "starting..." | |
mkdir -p ./png/ | |
rm ./png/*png | |
## ./svg/ can contain links to SVG files. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [ "$EUID" -ne 0 ] | |
then echo "Please run as root." ; | |
exit 1 ; | |
fi | |
#-- little clean up ---------------------------------- | |
apt-get -yqq autoremove software-center landscape-client-ui-install example-content rhythmbox* thunderbird* totem totem-common unity-lens-shopping unity-lens-friends unity-scope-musicstores unity-scope-video-remote ; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Lines configured by zsh-newuser-install | |
HISTFILE=~/.histfile | |
HISTSIZE=100000 | |
SAVEHIST=100000 | |
setopt extendedglob | |
unsetopt autocd | |
bindkey -e | |
# End of lines configured by zsh-newuser-install | |
# The following lines were added by compinstall |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"cmd": ["pandoc --latex-engine=xelatex --filter=pandoc-citeproc -o '$file_base_name.pdf' '$file_name'"], | |
"selector": "text.html.markdown", | |
"shell": true | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# usage: join_rec file1.tsv file2.tsv file3.tsv file*.tsv | |
# do not try to join 23k files... | |
function join_rec { | |
f1=$1; f2=$2; | |
shift 2; | |
if [ $# -gt 0 ]; then | |
join -a1 -a2 -e 0 -o auto -t$'\t' "$f1" "$f2" | join_rec - "$@" ; | |
else | |
join -a1 -a2 -e 0 -o auto -t$'\t' "$f1" "$f2" ; | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
#-- Set some useful bash options | |
set -e # this script exits on error | |
set -o pipefail # a pipeline returns error code if any command fails | |
set -u # unset variables as an error, and immediately exit | |
set -x # print each command on STDERR before running it, useful for logging and debugging | |
set +x # turn off 'set -x' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# usage: make -f maxbin.makefile | |
# Config | |
DEBUG := 0 | |
BUILDDIR := build | |
# End config | |
CXX := g++ | |
CXXFLAGS := -MMD -Wall -Wextra -ansi -pedantic -std=c++11 | |
LDFLAGS := -lpthread |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Config | |
DEBUG := 0 | |
BUILDDIR := build | |
SOURCEDIR := src | |
PREFIX := | |
# End config | |
CXX := g++ | |
CXXFLAGS := -fopenmp -MMD -Wall -Wextra -ansi -pedantic -std=c++11 | |
LDFLAGS := -lpthread -lboost_system -fopenmp -Wl,-rpath=$(PREFIX)/lib/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# generate a ggplot2 color palette | |
gg_color_hue <- function(n) { | |
hues = seq(15, 375, length = n + 1) | |
hcl(h = hues, l = 65, c = 100)[1:n] | |
} |
OlderNewer