Skip to content

Instantly share code, notes, and snippets.

View bede's full-sized avatar

Bede Constantinides bede

View GitHub Profile
@bede
bede / gist:fb8683029c6c10d4ad99a015c9fc8b7b
Created May 20, 2016 11:09
GKNO build failure - cat build_freebayes.*
$ cat build_freebayes.*
bgzf.c:44:1: warning: unused function 'kh_clear_cache' [-Wunused-function]
KHASH_MAP_INIT_INT64(cache, cache_t)
^
./khash.h:468:2: note: expanded from macro 'KHASH_MAP_INIT_INT64'
KHASH_INIT(name, uint64_t, khval_t, 1, kh_int64_hash_func, kh_int64_hash_equal)
^
./khash.h:140:21: note: expanded from macro 'KHASH_INIT'
static inline void kh_clear_##name(kh_##name##_t *h) \
^
After replacing /usr/bin/gcc and /usr/bin/g++ with symlinks to GCC 5.3 binaries...
l-umobcdja2:freebayes Bede$ make
wget -q http://hypervolu.me/freebayes/build/v1.0.2-6-g3ce827d &
cd src && /Applications/Xcode.app/Contents/Developer/usr/bin/make
DETECTED_VERSION = v1.0.2-6-g3ce827d-dirty
CURRENT_VERSION = v1.0.2-6-g3ce827d
Updating version file.
cd ../bamtools && mkdir -p build && cd build && cmake .. && /Applications/Xcode.app/Contents/Developer/usr/bin/make
-- Configuring done
@bede
bede / onecodex_real-time_k-mer_search_api.ipynb
Last active February 11, 2016 11:04
OneCodex real-time search API
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bede
bede / plotly-streaming-example.ipynb
Last active February 4, 2016 14:40
Plotly Streaming API example
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bede
bede / gist:daf0a895ac40e9d2612b
Created January 15, 2016 12:46
spades.rb candidate
class Spades < Formula
desc "SPAdes: de novo genome assembly"
homepage "http://bioinf.spbau.ru/spades/"
# tag "bioinformatics"
# doi "10.1089/cmb.2012.0021"
url "http://spades.bioinf.spbau.ru/release3.6.2/SPAdes-3.6.2.tar.gz"
sha256 "20897e2707623ee1033d3c88fefc42771fa4bbaafaf0f95642991d83b361eb5f"
@bede
bede / gist:af60ee549cc746a8bc75
Created January 15, 2016 12:43
SPAdes 3.6.2 formula
l-umobcdja2:homebrew-science Bede$ brew audit spades
homebrew/science/spades:
* Non-executables were installed to "/usr/local/Cellar/spades/3.6.2/bin"
The offending files are:
/usr/local/Cellar/spades/3.6.2/bin/spades_init.pyc
Error: 1 problem in 1 formula
l-umobcdja2:homebrew-science Bede$
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bede
bede / data.js
Created October 21, 2015 17:10
IslandPlot track and plot stacking
var tracks = [
{
trackName: "track1",
trackType: "track",
visible: true,
trackFeatures: "complex",
featureThreshold: 1000,
mouseover_callback: 'islandPopup',
mouseout_callback: 'islandPopupClear',
linear_mouseclick: 'linearPopup',
@bede
bede / assembly_graph.fastg
Last active October 21, 2015 12:14
SPAdes 3.6.1 FASTG - broken?
>EDGE_1_length_179_cov_1.64557;
TAGCATTTTAATATTATACATAACATGGTATAATATTAGATGTGTAATATAAAATCTAAA
GCAACTACTACAAAAACAATACTAGAAGTTATGGCTACTAAGCCAACAAAGGATAAAAAA
TAGAATCAAAATTAATTAATCCAAAAGAAGGAAGTAAAAGGGAACAAAGAATAGGTGGG
>EDGE_1_length_179_cov_1.64557';
CCCACCTATTCTTTGTTCCCTTTTACTTCCTTCTTTTGGATTAATTAATTTTGATTCTAT
TTTTTATCCTTTGTTGGCTTAGTAGCCATAACTTCTAGTATTGTTTTTGTAGTAGTTGCT
TTAGATTTTATATTACACATCTAATATTATACCATGTTATGTATAATATTAAAATGCTA
>EDGE_2_length_255_cov_1.11111;
GAAAAACTCATTCTATGAGTGAATACACTTGGCAAGAAGTAGTGGGGCTGTAATTGTGAT