Skip to content

Instantly share code, notes, and snippets.

View bede's full-sized avatar

Bede Constantinides bede

View GitHub Profile
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
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
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$
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
@bede
bede / subprocess.run.ipynb
Last active October 9, 2015 11:19
Python 3.5 subprocess.run()
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.