Skip to content

Instantly share code, notes, and snippets.

@hcraT
hcraT / bioviz-igb-8.1.12
Last active August 29, 2015 14:10
bioviz-igb version 8.1.12
# Contributor: Decrypted Epsilon <decrypted.epsilon@gmail.com>
pkgname=bioviz-igb
__pkgname=igb
_pkgname="igb_exe.jar"
pkgver=8.1.12
pkgrel=1
pkgdesc="Integrated Genome Browser is an easy-to-use, highly customizable genome browser you can use to view and explore genomic data and annotations, especially RNA-Seq and ChIP-Seq data sets."
arch=('any')
url="http://bioviz.org/igb/"
@hcraT
hcraT / Collapse intervals
Created September 29, 2014 09:47
Collapse intervals
seq 0 1000 | awk 'BEGIN{srand()}rand() > 0.5' | perl -ane '$d = !@n||($F[0]-$n[$#n]); if ($d > 1){ $o = $n[0]; $o.= "-$n[$#n]" if @n> 1; print "$o, ";@n=();} if (!@n||$d== 1) {push @n,$F[0];}END{$o=$n[0];$o.="-$n[$#n]" if @n> 1; print "$o";}'
# Maintainer: Jason Axelson <jason.axelsonATgmail.com>
# Contributor: Sean Escriva <sean.escrivaATgmail.com>
# Contributor: William Ting <william.h.tingATgmail.com>
# Contributor: Tarcisio Fedrizzi <tarcisio.fedrizziATgmail.com>
# PKGBUILD source is on github: https://github.com/axelson/autojump-aur
# Pull requests appreciated
# vim:set ts=4 sw=4 et: