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 serpentine(n_max): | |
# \ / | |
# Y | |
# # | |
# # | |
# # | |
# # |
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
import pandas as pd | |
import numpy as np | |
from scipy.spatial.distance import squareform, pdist | |
from scipy.cluster import hierarchy | |
from scipy.spatial import distance | |
from scipy.cluster.hierarchy import linkage | |
import itertools | |
import matplotlib.pyplot as plt | |
import seaborn |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>NewPlugins</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> |
This file has been truncated, but you can view the full file.
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
<h2> Instructions </h2> | |
<h3>Use this plot to browse post-translational modifications from Uniprot.</h3> | |
<br> | |
<p> | |
The buttons at the bottom left allow viewport scaling. | |
Use the magnifying glass to zoom, the arrows to pan and the home button to return to the original view. | |
</p> | |
<p> | |
Mouse over modifications and domains to see their descriptions. |
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
chr1 249132529 249132530 6425 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 | |
EXPOSE 8894 | |
RUN cd /galaxy-central/lib/galaxy/web/proxy/js/ && npm install -g | |
ADD ./galaxy.ini /galaxy-central/config/galaxy.ini | |
ADD ./startup /usr/bin/startup | |
ADD ./clean.sh /usr/bin/clean.sh | |
RUN chmod 755 /usr/bin/startup && chmod 755 /usr/bin/clean.sh |
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 | |
ADD ./startup /usr/bin/startup | |
ADD ./clean.sh /usr/bin/clean.sh | |
RUN chmod 755 /usr/bin/startup && chmod 755 /usr/bin/clean.sh |
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 |
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
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)) | |
NewerOlder