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.
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.
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
#!/bin/bash | |
SRA=$1 | |
mkdir dl_$SRA | |
cd dl_$SRA | |
echo downloading $SRA | |
DL_CMD="bionode-ncbi download sra $SRA" | |
echo $DL_CMD | |
eval $DL_CMD | |
find . | grep -P '.sra$'>sra_list |
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
#!/bin/sh | |
ipython notebook --notebook-dir="~/ipython" --ip="*" --no-browser |
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
install.packages(c("VGAM", "irlba", "matrixStats", "igraph", | |
"combinat", "fastICA", "grid", "ggplot2", "Hmisc", | |
"reshape2", "plyr", "parallel", "methods"), repos='http://cran.us.r-project.org') | |
source("http://bioconductor.org/biocLite.R") | |
biocLite() |
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
def muzak(ob): | |
from IPython.display import HTML | |
from IPython.display import display | |
sound_tag = """ | |
<audio controls autoplay> | |
<source src="http://k007.kiwi6.com/hotlink/9edy0q33fi/jazzy_elevator_music.mp3" type="audio/mpeg"> | |
</audio> | |
""" | |
display(HTML(sound_tag)) | |
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
sekcss = """ | |
<style> | |
.rendered_html | |
{ | |
font-size: 140%; | |
line-height: 1.1; | |
margin: 0.5em 0; | |
} |
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
FROM bgruening/galaxy-stable:dev | |
RUN git clone https://github.com/bgruening/galaxy-ipython.git config/plugins/visualizations/ipython | |
ADD ./startup /usr/bin/startup | |
ADD ./clean.sh /usr/bin/clean.sh | |
RUN chmod 755 /usr/bin/startup && chmod 755 /usr/bin/clean.sh | |
RUN sudo apt-get install -y apache2 | |
ADD ./apache_conf /apache_conf | |
RUN cat /apache_conf >> /etc/apache2/apache2.conf |
OlderNewer