Merge pull request #3060 from martenson/remimarenco-gcc2015_talk

Add Galaxy Architecture slides in .md
This commit is contained in:
John Chilton
2016-10-18 11:23:14 -04:00
committed by GitHub
45 changed files with 2824 additions and 4 deletions
+3
View File
@@ -42,6 +42,9 @@ reports_webapp.lock
reports_webapp.log
reports_webapp.pid
# Jupyter Runtime Files
.ipynb_checkpoints
# Config files
universe_wsgi.ini
reports_wsgi.ini
+20 -2
View File
@@ -14,8 +14,10 @@ PROJECT_URL?=https://github.com/galaxyproject/galaxy
GRUNT_DOCKER_NAME:=galaxy/client-builder:16.01
GRUNT_EXEC?=node_modules/grunt-cli/bin/grunt
DOCS_DIR=doc
DOC_SOURCE_DIR=$(DOCS_DIR)/source
SLIDESHOW_DIR=$(DOC_SOURCE_DIR)/slideshow
OPEN_RESOURCE=bash -c 'open $$0 || xdg-open $$0'
SLIDESHOW_TO_PDF?=bash -c 'docker run --rm -v `pwd`:/cwd astefanutti/decktape /cwd/$$0 /cwd/`dirname $$0`/`basename -s .html $$0`.pdf'
all: help
@echo "This makefile is primarily used for building Galaxy's JS client. A sensible all target is not yet implemented."
@@ -24,6 +26,14 @@ docs: ## generate Sphinx HTML documentation, including API docs
$(IN_VENV) $(MAKE) -C doc clean
$(IN_VENV) $(MAKE) -C doc html
docs-slides-ready:
test -f plantuml.jar || wget http://jaist.dl.sourceforge.net/project/plantuml/plantuml.jar
java -jar plantuml.jar -c $(DOC_SOURCE_DIR)/slideshow/architecture/images/plantuml_options.txt -tsvg $(SLIDESHOW_DIR)/architecture/images/ *.plantuml.txt
$(IN_VENV) python scripts/slideshow/build_slideshow.py 'Galaxy Architecture' $(SLIDESHOW_DIR)/architecture/galaxy_architecture.md
docs-slides-export: docs-slides-ready
$(SLIDESHOW_TO_PDF) $(SLIDESHOW_DIR)/galaxy_architecture/galaxy_architecture.html
docs-schema-ready: ## Build Github-flavored Markdown from Galaxy Tool XSD (expects libxml in environment)
python $(DOCS_DIR)/parse_gx_xsd.py > $(DOCS_DIR)/schema.md
@@ -33,6 +43,14 @@ docs-schema-html: docs-schema-ready ## Convert Galaxy Tool XSD Markdown docs int
open-docs-schema: docs-schema-html ## Open HTML generated from Galaxy Tool XSD.
$(OPEN_RESOURCE) $(DOCS_DIR)/schema.html
ready-slides:
test -f plantuml.jar || wget http://jaist.dl.sourceforge.net/project/plantuml/plantuml.jar
java -jar plantuml.jar -c $(DOC_SOURCE_DIR)/slideshow/galaxy_architecture_2015/images/plantuml_options.txt -tsvg $(DOC_SOURCE_DIR)/slideshow/galaxy_architecture_2015/images/ *.plantuml.txt
./node_modules/mermaid/bin/mermaid.js --svg $(DOC_SOURCE_DIR)/slideshow/galaxy_architecture_2015/images/server_client.mermaid --o $(DOC_SOURCE_DIR)/slideshow/galaxy_architecture_2015/images -t ./node_modules/mermaid/dist/mermaid.forest.css -c $(DOC_SOURCE_DIR)/slideshow/galaxy_architecture_2015/images/sequence.json
./node_modules/mermaid/bin/mermaid.js --svg $(DOC_SOURCE_DIR)/slideshow/galaxy_architecture_2015/images/server_client_old.mermaid --o $(DOC_SOURCE_DIR)/slideshow/galaxy_architecture_2015/images -t ./node_modules/mermaid/dist/mermaid.forest.css -c $(DOC_SOURCE_DIR)/slideshow/galaxy_architecture_2015/images/sequence.json
$(IN_VENV) python scripts/slideshow/build_slideshow.py 'Galaxy Architecture' doc/source/slideshow/galaxy_architecture_2015/galaxy_architecture_2015.md
_open-docs:
$(OPEN_RESOURCE) $(DOCS_DIR)/_build/html/index.html
@@ -102,7 +120,7 @@ grunt-watch-develop: npm-deps ## Execute watching grunt builder for dev purposes
cd client && $(GRUNT_EXEC) watch --develop
webpack-watch: npm-deps ## Execute watching webpack for dev purposes
cd client && ./node_modules/webpack/bin/webpack.js --watch
cd client && ./node_modules/webpack/bin/webpack.js --watch
client-develop: grunt-watch-style grunt-watch-develop webpack-watch ## A useful target for parallel development building.
@echo "Remember to rerun `make client` before committing!"
+7 -1
View File
@@ -15,6 +15,12 @@ import datetime
import os
import sys
# Library to make .md to slideshow
from recommonmark.parser import CommonMarkParser
source_parsers = {
'.md': CommonMarkParser,
}
####### REQUIRED GALAXY INCLUDES
@@ -43,7 +49,7 @@ templates_path = ['_templates']
autodoc_default_flags = [ 'members', 'undoc-members', 'show-inheritance' ]
# The suffix of source filenames.
source_suffix = '.rst'
source_suffix = ['.rst', '.md']
# The encoding of source files.
#source_encoding = 'utf-8-sig'
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,152 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="890.447px" height="167.398px" viewBox="0 0 890.447 167.398" enable-background="new 0 0 890.447 167.398"
xml:space="preserve">
<path fill="#5C8BEE" d="M108.421,75.665h80.791v-10h-80.791c-9.799,0-17.771,7.971-17.771,17.771
c0,9.797,7.972,17.771,17.771,17.771h39.413v5.438l24.834-10.439l-24.834-10.438v5.438h-39.413c-4.285,0-7.771-3.479-7.771-7.771
C100.65,79.151,104.136,75.665,108.421,75.665z"/>
<polygon fill="#5C8BEE" points="328.457,76.665 632.869,76.665 632.869,66.665 328.457,66.665 328.457,61.222 303.625,71.665
328.457,82.106 "/>
<rect x="478.624" y="93.664" fill="#5C8BEE" width="15" height="10"/>
<rect x="503.624" y="93.664" fill="#5C8BEE" width="15" height="10"/>
<rect x="578.623" y="93.664" fill="#5C8BEE" width="15" height="10"/>
<polygon fill="#5C8BEE" points="603.037,88.222 603.037,93.665 602.623,93.665 602.623,103.664 603.037,103.664 603.037,109.105
627.869,98.664 "/>
<rect x="553.623" y="93.664" fill="#5C8BEE" width="15" height="10"/>
<rect x="453.625" y="93.664" fill="#5C8BEE" width="15" height="10"/>
<rect x="528.624" y="93.664" fill="#5C8BEE" width="15" height="10"/>
<rect x="428.625" y="93.664" fill="#5C8BEE" width="15" height="10"/>
<rect x="403.625" y="93.664" fill="#5C8BEE" width="15" height="10"/>
<rect x="378.625" y="93.664" fill="#5C8BEE" width="15" height="10"/>
<polygon fill="#5C8BEE" points="822.016,67.828 785.604,67.828 785.604,62.385 760.771,72.828 785.604,83.27 785.604,77.828
822.016,77.828 "/>
<g>
<path d="M684.365,113.559l-9.545-53.396h8.439l6.693,41.621l6.75-41.621h8.445l-9.717,53.396H684.365L684.365,113.559z"/>
</g>
<g>
<path d="M231.792,113.559h-8.055V60.12h11.559l7.506,38.386l7.205-38.386h11.104v53.438h-8.054v-33.58l-6.988,33.58h-6.477
l-7.799-33.494L231.792,113.559L231.792,113.559z"/>
</g>
<path d="M689.988,146.9c-33.771,0-61.229-27.465-61.229-61.229c0-33.759,27.467-61.225,61.229-61.225
c33.762,0,61.227,27.465,61.227,61.225C751.215,119.438,723.748,146.9,689.988,146.9L689.988,146.9z M689.988,32.452
c-29.354,0-53.229,23.876-53.229,53.224c0,29.354,23.877,53.229,53.229,53.229c29.35,0,53.227-23.877,53.227-53.229
C743.215,56.329,719.338,32.452,689.988,32.452L689.988,32.452z"/>
<path d="M242.424,146.9c-33.76,0-61.225-27.465-61.225-61.229c0-33.759,27.465-61.225,61.225-61.225
c33.76,0,61.225,27.465,61.225,61.225C303.649,119.438,276.184,146.9,242.424,146.9L242.424,146.9z M242.424,32.452
c-29.349,0-53.225,23.876-53.225,53.224c0,29.354,23.876,53.229,53.225,53.229c29.349,0,53.225-23.877,53.225-53.229
C295.649,56.329,271.773,32.452,242.424,32.452L242.424,32.452z"/>
<g>
<path d="M38.009,99.439c0,2.115-0.819,3.922-2.458,5.422c-1.639,1.5-3.616,2.25-5.933,2.25h-8.39V75.049h8.391
c2.335,0,4.317,0.75,5.947,2.25c1.629,1.5,2.444,3.309,2.444,5.396L38.009,99.439L38.009,99.439z M26.567,102.33h3.221
c0.848,0,1.563-0.271,2.147-0.831c0.583-0.554,0.876-1.205,0.876-1.955V82.772c0-0.771-0.297-1.422-0.89-1.979
c-0.593-0.546-1.304-0.812-2.133-0.812h-3.221V102.33z"/>
<path d="M41.682,107.111V75.049h7.995c2.109,0,4.012,0.503,5.707,1.518c1.45,0.854,2.486,2.174,3.108,3.963
C58.831,81.482,59,82.617,59,83.923c0,2.146-0.631,3.869-1.893,5.165c-0.528,0.545-1.149,0.963-1.865,1.252
c1.187,0.408,2.193,1.229,3.023,2.438c0.545,0.812,0.951,1.875,1.215,3.17c0.131,0.666,0.197,1.396,0.197,2.227
c0,2.027-0.424,3.75-1.271,5.165c-0.66,1.106-1.593,1.995-2.797,2.659c-1.356,0.75-2.703,1.125-4.04,1.125L41.682,107.111
L41.682,107.111L41.682,107.111z M47.445,88.139h2.232c1.657,0,2.769-0.73,3.333-2.199c0.207-0.545,0.311-1.219,0.311-2.021
c0-1.33-0.358-2.335-1.074-3.018c-0.66-0.631-1.516-0.946-2.571-0.946h-2.232L47.445,88.139L47.445,88.139z M47.445,102.33h2.232
c1.808,0,3.061-0.844,3.757-2.53c0.245-0.569,0.367-1.233,0.367-1.983c0-1.791-0.377-3.104-1.13-3.912
c-0.678-0.75-1.677-1.125-2.995-1.125h-2.232L47.445,102.33L47.445,102.33z"/>
</g>
<path fill="#231F20" d="M39.585,40.734C18.575,40.734,5,46.154,5,54.541v49.711c0,7.872,13.223,16.368,34.585,16.368
s34.584-8.496,34.584-16.368V54.541C74.169,46.154,60.596,40.734,39.585,40.734z M39.591,46.734c20.195,0,28.578,5.084,28.578,7.807
c0,2.726-8.384,7.812-28.584,7.812S11,57.265,11,54.541C11,51.819,19.385,46.734,39.591,46.734z M39.585,114.62
C21.089,114.62,11,107.77,11,104.252V62.95c5.911,3.42,15.886,5.403,28.585,5.403c12.698,0,22.673-1.983,28.584-5.403v41.302
C68.169,107.77,58.08,114.62,39.585,114.62z"/>
<path fill="#5C8BEE" d="M303.081,115.44l8.812,4.725c3.835-8.158,6.291-17.09,7.024-26.5H308.89
C308.203,101.376,306.181,108.706,303.081,115.44z"/>
<path fill="#5C8BEE" d="M322.146,125.657l11.023,5.908c5.629-11.577,9.105-24.383,9.909-37.9h-12.524
C329.788,105.052,326.844,115.852,322.146,125.657z"/>
<path fill="#5C8BEE" d="M343.369,137.03l13.229,7.088c7.619-15.333,12.24-32.406,13.081-50.453h-15.016
C353.841,109.154,349.863,123.818,343.369,137.03z"/>
<path d="M864.363,86.665c0,0,8.65-9.795,8.65-27.766c0-10.746-8.844-19.493-19.488-19.493c-10.844,0-19.496,8.844-19.496,19.493
c0,17.971,8.652,27.766,8.652,27.766c0,13.501-21.68,9.318-21.68,24.342v4.374c0,1.236,0.949,2.188,2.188,2.188h60.76
c1.235,0,2.186-0.952,2.186-2.188v-4.374C886.041,95.793,864.363,100.166,864.363,86.665z"/>
<g>
<path fill="#BFBFBF" d="M123.738,44.126c0.02,1.304-0.318,2.416-1.014,3.341c-0.458,0.626-1.104,1.069-1.939,1.328
c-0.447,0.14-0.969,0.208-1.566,0.208c-1.104,0-2.019-0.272-2.744-0.819c-0.607-0.447-1.086-1.057-1.439-1.827
c-0.353-0.771-0.559-1.653-0.619-2.647l2.685-0.193c0.119,1.09,0.407,1.879,0.865,2.368c0.338,0.37,0.726,0.546,1.164,0.525
c0.616-0.02,1.108-0.323,1.477-0.911c0.188-0.289,0.283-0.701,0.283-1.239c0-0.775-0.353-1.548-1.059-2.313
c-0.557-0.527-1.392-1.318-2.505-2.374c-0.935-0.906-1.596-1.717-1.984-2.434c-0.417-0.807-0.626-1.683-0.626-2.628
c0-1.701,0.572-2.99,1.715-3.866c0.706-0.527,1.581-0.791,2.625-0.791c1.004,0,1.864,0.224,2.58,0.671
c0.557,0.348,1.007,0.835,1.35,1.462c0.343,0.626,0.549,1.347,0.619,2.163l-2.699,0.492c-0.08-0.767-0.298-1.362-0.656-1.79
c-0.259-0.309-0.632-0.462-1.119-0.462c-0.517,0-0.91,0.229-1.178,0.686c-0.219,0.368-0.328,0.825-0.328,1.372
c0,0.854,0.368,1.725,1.104,2.61c0.278,0.338,0.696,0.735,1.253,1.192c0.656,0.547,1.089,0.931,1.297,1.148
c0.696,0.695,1.233,1.382,1.611,2.058c0.179,0.318,0.323,0.612,0.433,0.88C123.589,43.002,123.729,43.599,123.738,44.126z"/>
<path fill="#BFBFBF" d="M128.481,40.949l-3.773-10.873h3.103l2.088,6.711l2.073-6.711h3.117L131.3,40.949v7.83h-2.819V40.949z"/>
<path fill="#BFBFBF" d="M140.505,30.076l3.741,12.57v-12.57h2.819v18.703h-3.028l-3.877-11.978v11.978h-2.819V30.076H140.505z"/>
<path fill="#BFBFBF" d="M154.015,49.018c-1.243,0-2.299-0.436-3.169-1.306c-0.87-0.87-1.305-1.921-1.305-3.153V34.357
c0-1.243,0.438-2.299,1.312-3.169s1.929-1.306,3.162-1.306c1.243,0,2.297,0.438,3.162,1.312c0.865,0.875,1.297,1.929,1.297,3.162
v2.133h-2.923v-2.193c0-0.446-0.159-0.83-0.477-1.147c-0.318-0.318-0.701-0.478-1.148-0.478c-0.448,0-0.828,0.159-1.141,0.478
c-0.313,0.317-0.47,0.701-0.47,1.147v10.232c0,0.447,0.157,0.828,0.47,1.141c0.313,0.313,0.693,0.471,1.141,0.471
c0.447,0,0.83-0.156,1.148-0.471c0.318-0.312,0.477-0.692,0.477-1.141v-2.581h2.923v2.61c0,1.242-0.438,2.297-1.312,3.161
C156.287,48.585,155.238,49.018,154.015,49.018z"/>
</g>
<g>
<path fill="#BFBFBF" d="M593.451,44.304c0,1.232-0.433,2.286-1.297,3.161c-0.865,0.875-1.909,1.312-3.133,1.312h-4.431V30.076
h4.431c1.232,0,2.279,0.438,3.141,1.312c0.859,0.875,1.289,1.924,1.289,3.146V44.304z M587.412,45.99h1.699
c0.446,0,0.825-0.162,1.134-0.485c0.308-0.322,0.462-0.703,0.462-1.141V34.58c0-0.448-0.156-0.83-0.469-1.147
c-0.314-0.318-0.689-0.479-1.127-0.479h-1.699V45.99L587.412,45.99z"/>
<path fill="#BFBFBF" d="M599.01,44.484l-0.684,4.295h-2.937l3.178-18.688h3.878l3.132,18.688h-2.964l-0.66-4.295H599.01z
M600.491,34.371l-1.044,7.368h2.088L600.491,34.371z"/>
<path fill="#BFBFBF" d="M608.307,32.925h-2.998v-2.833h8.801v2.833h-2.983v15.854h-2.818L608.307,32.925L608.307,32.925z"/>
<path fill="#BFBFBF" d="M617.43,44.484l-0.684,4.295h-2.937l3.178-18.688h3.878l3.132,18.688h-2.964l-0.66-4.295H617.43z
M618.911,34.371l-1.044,7.368h2.088L618.911,34.371z"/>
</g>
<g>
<path fill="#BFBFBF" d="M768.561,48.779h-2.819V30.091h2.819V48.779z"/>
<path fill="#BFBFBF" d="M774.245,30.076l3.741,12.57v-12.57h2.817v18.703h-3.026l-3.878-11.978v11.978h-2.819V30.076H774.245z"/>
<path fill="#BFBFBF" d="M787.77,30.091c1.372,0,2.467,0.433,3.281,1.298c0.756,0.824,1.133,1.879,1.133,3.161v2.715
c0,1.232-0.43,2.286-1.289,3.161s-1.901,1.312-3.125,1.312h-1.625v7.04h-2.819V30.091H787.77z M789.455,34.594
c0-0.486-0.146-0.88-0.439-1.178c-0.294-0.298-0.685-0.447-1.172-0.447h-1.699v5.981h1.699c0.447,0,0.828-0.159,1.142-0.478
s0.471-0.701,0.471-1.148L789.455,34.594L789.455,34.594z"/>
<path fill="#BFBFBF" d="M798.881,48.988c-1.243,0-2.297-0.433-3.162-1.298s-1.298-1.914-1.298-3.147V30.091h2.759v14.423
c0,0.446,0.16,0.827,0.479,1.141c0.316,0.312,0.7,0.47,1.147,0.47s0.827-0.157,1.142-0.47c0.312-0.313,0.47-0.694,0.47-1.141
V30.091h2.938v14.452c0,1.253-0.438,2.308-1.312,3.162C801.17,48.56,800.113,48.988,798.881,48.988z"/>
<path fill="#BFBFBF" d="M808.604,32.925h-2.997v-2.833h8.8v2.833h-2.982v15.854h-2.818V32.925H808.604z"/>
</g>
<g>
<path fill="#BFBFBF" d="M384.73,140.802c-1.243,0-2.3-0.435-3.17-1.305c-0.869-0.87-1.305-1.922-1.305-3.154v-10.2
c0-1.244,0.438-2.301,1.312-3.17c0.874-0.87,1.929-1.306,3.162-1.306c1.242,0,2.297,0.438,3.161,1.312
c0.865,0.875,1.298,1.929,1.298,3.162v2.133h-2.924v-2.193c0-0.447-0.158-0.83-0.477-1.147c-0.318-0.318-0.701-0.478-1.148-0.478
s-0.828,0.158-1.141,0.478c-0.312,0.317-0.47,0.7-0.47,1.147v10.232c0,0.446,0.157,0.827,0.47,1.141
c0.312,0.312,0.693,0.469,1.141,0.469s0.83-0.155,1.148-0.469c0.318-0.312,0.477-0.693,0.477-1.141v-2.581h2.924v2.609
c0,1.242-0.438,2.298-1.312,3.162C387.003,140.369,385.954,140.802,384.73,140.802z"/>
<path fill="#BFBFBF" d="M394.32,132.644v7.92h-2.819v-18.688h2.819v7.935h3.399v-7.935h2.819v18.688h-2.819v-7.92H394.32z"/>
<path fill="#BFBFBF" d="M406.516,136.269l-0.685,4.295h-2.937l3.178-18.688h3.877l3.132,18.688h-2.964l-0.66-4.295H406.516z
M407.997,126.156l-1.044,7.369h2.088L407.997,126.156z"/>
<path fill="#BFBFBF" d="M418.619,121.861l3.741,12.57v-12.57h2.818v18.703h-3.027l-3.877-11.978v11.978h-2.819v-18.703H418.619
L418.619,121.861z"/>
<path fill="#BFBFBF" d="M432.128,140.802c-1.243,0-2.299-0.438-3.169-1.312s-1.305-1.924-1.305-3.146v-10.2
c0-1.244,0.438-2.301,1.312-3.17c0.874-0.87,1.929-1.306,3.162-1.306c1.243,0,2.297,0.438,3.162,1.312
c0.865,0.875,1.297,1.929,1.297,3.162v2.133h-2.923v-2.193c0-0.447-0.159-0.83-0.478-1.147c-0.317-0.318-0.7-0.478-1.147-0.478
c-0.448,0-0.828,0.158-1.141,0.478c-0.313,0.317-0.471,0.7-0.471,1.147v10.232c0,0.446,0.157,0.827,0.471,1.141
c0.312,0.312,0.692,0.469,1.141,0.469c0.447,0,0.83-0.154,1.147-0.468c0.318-0.312,0.478-0.69,0.478-1.138v-3.674h-1.566v-2.834
h4.489v6.532c0,1.242-0.438,2.298-1.312,3.162C434.401,140.37,433.352,140.802,432.128,140.802z"/>
<path fill="#BFBFBF" d="M439.033,140.564v-18.703h8.023v2.834h-5.205v5.101h3.804v2.834h-3.804v5.102h5.205v2.834L439.033,140.564
L439.033,140.564z"/>
</g>
<g>
<path fill="#BFBFBF" d="M563.609,123.877c1.569,0,2.724,0.433,3.46,1.297c0.646,0.757,0.97,1.811,0.97,3.162v2.715
c0,1.322-0.503,2.44-1.507,3.355l2.088,8.158h-3.048l-1.71-7.039c-0.079,0-0.164,0-0.253,0h-1.626v7.039h-2.819v-18.688
L563.609,123.877L563.609,123.877z M565.295,128.381c0-1.084-0.537-1.626-1.611-1.626h-1.699v5.981h1.699
c0.447,0,0.828-0.16,1.142-0.479c0.312-0.316,0.471-0.7,0.471-1.147L565.295,128.381L565.295,128.381z"/>
<path fill="#BFBFBF" d="M571.035,142.564v-18.703h8.024v2.834h-5.204v5.101h3.803v2.834h-3.803v5.102h5.204v2.834L571.035,142.564
L571.035,142.564z"/>
<path fill="#BFBFBF" d="M584.164,123.861l3.74,12.57v-12.57h2.818v18.703h-3.027l-3.877-11.978v11.978h-2.819v-18.703H584.164
L584.164,123.861z"/>
<path fill="#BFBFBF" d="M602.104,138.09c0,1.233-0.433,2.287-1.298,3.162c-0.864,0.875-1.908,1.312-3.132,1.312h-4.43v-18.703h4.43
c1.232,0,2.279,0.438,3.139,1.312c0.86,0.875,1.291,1.925,1.291,3.146V138.09z M596.062,139.775h1.7
c0.447,0,0.824-0.162,1.134-0.484c0.309-0.323,0.463-0.703,0.463-1.141v-9.785c0-0.447-0.157-0.83-0.472-1.148
c-0.312-0.317-0.688-0.477-1.125-0.477h-1.7V139.775z"/>
<path fill="#BFBFBF" d="M604.578,142.564v-18.703h8.023v2.834h-5.205v5.101h3.805v2.834h-3.805v5.102h5.205v2.834L604.578,142.564
L604.578,142.564z"/>
<path fill="#BFBFBF" d="M618.986,123.877c1.569,0,2.724,0.433,3.46,1.297c0.646,0.757,0.97,1.811,0.97,3.162v2.715
c0,1.322-0.503,2.44-1.507,3.355l2.088,8.158h-3.048l-1.71-7.039c-0.079,0-0.164,0-0.253,0h-1.626v7.039h-2.819v-18.688
L618.986,123.877L618.986,123.877z M620.672,128.381c0-1.084-0.537-1.626-1.611-1.626h-1.699v5.981h1.699
c0.447,0,0.828-0.16,1.142-0.479c0.312-0.316,0.471-0.7,0.471-1.147L620.672,128.381L620.672,128.381z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 13 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 336 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 551 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 46 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 9.1 KiB

@@ -0,0 +1,23 @@
@startuml
!include plantuml_options.txt
class HistoryDatasetAssociation {
hid: integer
history_id: integer
dataset_id: integer
state: string
name: string
info: string
}
class Dataset {
object_store_id: string
external_filename: string
_extra_files_path: string
file_size: integer
total_size: integer
}
HistoryDatasetAssociation "*" -> "1" Dataset
@enduml
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 20 KiB

@@ -0,0 +1,29 @@
@startuml
!include plantuml_options.txt
class History
class HistoryDatasetAssociation {
history_content_type = 'dataset'
hid
}
class HistoryDatasetCollectionAssociation {
history_content_type = 'dataset_collection'
hid
}
class DatasetCollection {
collection_type
}
class DatasetCollectionElement {
element_index
element_identifier
}
History "1" -- "*" HistoryDatasetAssociation
History "1" -- "*" HistoryDatasetCollectionAssociation
HistoryDatasetCollectionAssociation "1" -- "1" DatasetCollection
DatasetCollection "1" -- "0..1" DatasetCollectionElement
DatasetCollectionElement "*" -- "1" DatasetCollection
HistoryDatasetAssociation "1" -- "0..1" DatasetCollectionElement
@enduml
Binary file not shown.

After

Width:  |  Height:  |  Size: 272 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 36 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 63 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 24 KiB

@@ -0,0 +1,28 @@
@startuml
!include plantuml_options.txt
abstract class ObjectStore {
exists(obj)
file_ready(obj)
create(obj)
size(obj)
delete(obj)
get_data(obj)
get_filename(obj)
update_from_file(obj)
get_store_usage_percent()
}
class DiskObjectStore
abstract class NestedObjectStore
ObjectStore <|-- DiskObjectStore
ObjectStore <|-- NestedObjectStore
ObjectStore <|-- S3ObjectStore
DiskObjectStore <|-- IRODSObjectStore
NestedObjectStore <|-- DistributedObjectStore
NestedObjectStore <|-- HierarchicalObjectStore
@enduml
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 72 KiB

@@ -0,0 +1,34 @@
skinparam handwritten true
' skinparam roundcorner 20
skinparam class {
ArrowFontColor #FFEFD5
BackgroundColor #FFEFD5
ArrowColor Orange
BorderColor DarkOrange
}
skinparam object {
ArrowFontColor #FFEFD5
BackgroundColor #FFEFD5
ArrowColor Orange
BorderColor DarkOrange
}
skinparam note {
BackgroundColor #FFEFD5
BorderColor #BF5700
}
skinparam sequence {
ArrowColor Orange
ArrowFontColor #FFEFD5
ActorBorderColor DarkOrange
ActorBackgroundColor #FFEFD5
ParticipantBorderColor DarkOrange
ParticipantBackgroundColor #FFEFD5
LifeLineBorderColor DarkOrange
LifeLineBackgroundColor #FFEFD5
}
@@ -0,0 +1,3 @@
{
"mirrorActors": false
}
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 18 KiB

@@ -0,0 +1,20 @@
@startuml
!include plantuml_options.txt
note over Browser, Server: HTTP
Browser -> Server: Page Request
activate Server
Server -->Browser: Static Content (HTML+JS+CSS)
deactivate Server
note left of Browser: MVC with \nbackbone.js
Browser -> Server: API Request (JSON)
activate Server
note right of Server: Build JSON response\nin Galaxy "API" controllers
Server --> Browser: API Response (JSON)
deactivate Server
note left of Browser: HTML rendered from\nclient-side templates\n(in Backbone views).
@enduml
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 13 KiB

@@ -0,0 +1,14 @@
@startuml
!include plantuml_options.txt
note over Browser, Server: HTTP
Browser -> Server: Page Request
activate Server
note right of Server: Build HTML fragments\nusing Mako Python library\nin Galaxy "web" controllers
Server --> Browser: Static Content (HTML+JS+CSS)
deactivate Server
note left of Browser: Render HTML fragraments \nwith JavaScript
@enduml
Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 112 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 204 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.3 KiB

@@ -0,0 +1,25 @@
@startuml
!include plantuml_options.txt
object webapp {
controllers : dict
api_controllers : dict
mapper : routes.Mapper
handle_request: (environ, start_response) -> ()
transaction_factory: (environ) -> GalaxyWebTransaction
}
object app {
}
object trans {
}
webapp -> "app" app
app "app" <-- trans
webapp *-- trans
@enduml
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 335 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 50 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 83 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 123 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 476 KiB

File diff suppressed because one or more lines are too long
+210
View File
@@ -0,0 +1,210 @@
@import url(https://fonts.googleapis.com/css?family=Oxygen);
@import url(https://fonts.googleapis.com/css?family=Consolas);
@import url(https://fonts.googleapis.com/css?family=Droid+Serif);
@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic);
body {
font-family: 'Oxygen', 'PT Sans', Serif;
}
h1, h2, h3 {
font-weight: bold;
}
h1 {
font-size: 3em;
color: #ff9300;
}
h2 { font-size: 2em; }
.title h1, h2 {
margin-bottom: 0px;
margin-top: 0px;
text-align: center;
}
.title p {
margin-top: 50px;
text-align: center;
}
.centered {
text-align: center;
}
img {
max-width: 100%;
}
.widen_image img {
max-width: 100%;
width: 100%;
}
.narrow_image img {
height: 500px;
}
h3 {
font-size: 1.8em;
position: absolute;
top: .5em;
}
.footnote {
position: absolute;
bottom: 3em;
}
.large {
font-size: 1.6em;
}
.larger {
font-size: 2em;
}
li p { line-height: 1.25em; }
.normal {
font-size: 1em;
}
.smaller {
font-size: .8em;
}
a, a > code {
color: #ff9300;
text-decoration: none;
}
.code > pre, .code > code {
white-space: pre-wrap;
}
.remark-code, .remark-inline-code {
font-family: 'Consolas';
color: #ff9300;
font-size: 1.1em;
}
.slightly-smaller {
font-size: .9em;
}
.remark-code-line-highlighted {
background-color: #373832;
}
.pull-left {
float: left;
width: 47%;
}
.pull-right {
float: right;
width: 47%;
}
.pull-right ~ p {
clear: both;
}
#slideshow .slide .content code {
}
#slideshow .slide .content pre code {
}
.inverse {
background-color: #000;
background-repeat: no-repeat;
background-position: center;
background-size: contain;
color: #ffffff;
}
i, em, b, strong {
color: #ff9300;
}
.inverse h1, .inverse h2 {
color: #f3f3f3;
line-height: 0.8em;
}
.white {
background-color: #ffffff;
background-repeat: no-repeat;
background-position: center;
background-size: contain;
color: #000;
}
.strike {
text-decoration: line-through;
}
/* Slide-specific styling */
#slide-inverse .footnote {
bottom: 12px;
left: 20px;
}
#slide-how .slides {
font-size: 0.9em;
position: absolute;
top: 151px;
right: 140px;
}
#slide-how .slides h3 {
margin-top: 0.2em;
}
#slide-how .slides .first, #slide-how .slides .second {
padding: 1px 20px;
height: 90px;
width: 120px;
-moz-box-shadow: 0 0 10px #777;
-webkit-box-shadow: 0 0 10px #777;
box-shadow: 0 0 10px #777;
}
#slide-how .slides .first {
background: #fff;
position: absolute;
top: 20%;
left: 20%;
z-index: 1;
}
#slide-how .slides .second {
position: relative;
background: #fff;
z-index: 0;
}
/* Two-column layout */
.left-column {
color: #777;
width: 20%;
height: 92%;
float: left;
}
.left-column h2:last-of-type, .left-column h3:last-child {
color: #000;
}
.right-column {
width: 75%;
float: right;
padding-top: 1em;
}
/*First slide h1 orange, h2 white*/
.special h1 {
color: #ff8800;
}
.special p {
color: #cbcbcb;
}
.special {
color: #ff8800;
}
/* Emphasis 2 */
.special2 {
color: #00f900;
}
+5 -1
View File
@@ -99,7 +99,11 @@ def create_or_verify_database( url, galaxy_config_file, engine_options={}, app=N
def migrate_to_current_version( engine, schema ):
# Changes to get to current version
changeset = schema.changeset( None )
try:
changeset = schema.changeset( None )
except Exception as e:
log.error("Problem determining migration changeset for engine [%s]" % engine)
raise e
for ver, change in changeset:
nextver = ver + changeset.step
log.info( 'Migrating %s -> %s... ' % ( ver, nextver ) )
View File
+27
View File
@@ -0,0 +1,27 @@
import os
import string
import sys
SCRIPTS_DIRECTORY = os.path.dirname(__file__)
TEMPLATE_PATH = os.path.join(SCRIPTS_DIRECTORY, "slideshow_template.html")
TEMPLATE = string.Template(open(TEMPLATE_PATH, "r").read())
def main(argv=None):
if argv is None:
argv = sys.argv
title = argv[1]
markdown_source = argv[2]
output = os.path.splitext(markdown_source)[0] + '.html'
with open(markdown_source, "r") as s:
content = s.read()
html = TEMPLATE.safe_substitute(**{
'title': title,
'content': content,
})
print html
open(output, "w").write(html)
if __name__ == "__main__":
main()
+243
View File
@@ -0,0 +1,243 @@
## Galaxy Tool Framework Changes
This document describes changes to Galaxy's tooling framework over recent
releases.
---
### 16.04
Full [Galaxy changelog](https://docs.galaxyproject.org/en/master/releases/16.04_announce.html).
---
#### Tool Profile Version ([PR #1688](https://github.com/galaxyproject/galaxy/pull/1688))
Tools may (and should) now declare a `profile` version (e.g.
`<tool profile="16.04" ...>`).
This allows Galaxy to fire a warning if a tool uses features too new for the
current version and allows us to migrate away from some undesirable default
behaviors that were required for backward compatiblity.
---
#### `set -e` by default ([d020522](https://github.com/galaxyproject/galaxy/pull/1688/commits/d020522650a9bfc86c22923a01fd5d7c07c65326))
From the [IUC best practices documentation](http://galaxy-iuc-standards.readthedocs.org/en/latest/best_practices/tool_xml.html#command-tag):
> _"If you need to execute more than one shell command, concatenate them with a double ampersand (`&&`), so that an error in a command will abort the execution of the following ones."_
The job script generated with profile `16.04`+ tools will include a `#set -e` statement causing this behavior by default.
Older-style tools can enable this behavior by setting `strict="true"` on
the tool `command` XML block.
---
#### Using Exit Codes for Error Detection ([b92074e](b92074e6ff87a19133b4d973577779c4ee6286d7))
Previously the default behavior was for Galaxy to ignore exit codes and
declare a tool in error if issued any output on standard error. This was
a regretable default behavior and so all tools were encouraged to declare
special XML blocks to force the use of exit codes.
For any tool that declares a profile version of `16.04` or greater, the
default is now just to use exit codes for error detection.
---
#### Unrobust Features Removed ([b92074e](b92074e6ff87a19133b4d973577779c4ee6286d7))
A few tool features have ben removed from tools that declare a version of `16.04` or newer.
- The `interepreter=` attribute on `command` blocks has been eliminated. Please use `$__tool_directory__` from within the tool instead.
- `format="input"` on output datasets has been eliminated, please use `format_source=` to specify an exact input to derive datatype from.
- Disables extra output file discovery by default, tools must explicitly describe the outputs to collect with `discover_dataset` tags.
- Tools require a `version` attribute - previously an implicit default to `1.0.0` would be used.
- `$param_file` has been eliminated.
---
#### Clean Working Directories
Previously, Galaxy would fill tool working directories with files related to
metadata and job metric collection. Tools will no longer be executed in the same directory as these files.
This applies to all tools not just profile `16.04`+ tools.
---
### 16.01
Full [Galaxy changelog](https://docs.galaxyproject.org/en/master/releases/16.01_announce.html).
---
#### Conda Dependency Resolution ([PR #1345](https://github.com/galaxyproject/galaxy/pull/1345))
```xml
<tool>
...
<requirements>
<requirement type="package" version="0.11.4">FastQC</requirement>
</requirements>
...
</tool>
```
- Dependency resolvers tell Galaxy how to translate requirements into jobs.
- The Conda dependency resolver forces Galaxy to create a conda environment
for the job with `FastQC` at version `0.11.4` installed.
- Only dependency resolver that can be installed at runtime - great for
Docker images, heterogeneous clusters, and testing tools.
- Links [Conda](http://conda.pydata.org/docs/) and [BioConda](https://bioconda.github.io/)
---
#### ToolBox Enhancements - Labels ([PR #1012](https://github.com/galaxyproject/galaxy/pull/1012))
![ToolBox Labels](images/gx_toolbox_labels.png)
---
#### ToolBox Enhancements - Monitoring ([PR #1398](https://github.com/galaxyproject/galaxy/pull/1398))
- The Galaxy toolbox can be reloaded from the Admin interface.
- Tool conf files (e.g. `tool_conf.xml`) can be monitored and automatically
reloaded by Galaxy.
- Tool conf files can now be specified as YAML (or JSON).
---
#### Process Inputs as JSON ([PR #1405](https://github.com/galaxyproject/galaxy/pull/1405))
```xml
<command>python "$__tool_directory/script.py" "$json_inputs"</command>
<configfiles>
<inputs name="json_inputs" />
</configfiles>
```
This will produce a file referenced as `$json_inputs` that contains a nested
JSON structure corresponding to the tools inputs. Of limitted utility for
simple command-line tools - but complex tools with many repeats, conditional,
and nesting could potentially benefit from this.
For instance, the [JBrowse](https://github.com/galaxyproject/tools-iuc/blob/master/tools/jbrowse/jbrowse.xml)
tool generates a complex JSON data structure using a `configfile` inside the
XML. This is a much more portable way to deal with that.
---
#### Collections
- `data_collection` tool parameters (`param`s) can now specify multiple
`collection_type`s for consumption ([PR #1308](https://github.com/galaxyproject/galaxy/pull/1308)).
- This mirrors the `format` attribute which allows a comma-separated list
of potential format types.
- Multiple collections can now be supplied to a `multiple="true"` data parameter ([PR #805](https://github.com/galaxyproject/galaxy/pull/805)).
- Output collections can specify a `type_source` attribute (again mirroring
`format_source`) ([PR #1153](https://github.com/galaxyproject/galaxy/pull/1153)).
---
### 15.10
Full [Galaxy changelog](https://docs.galaxyproject.org/en/master/releases/15.10_announce.html).
---
#### Collections
- Tools may now produce explicit nested outputs [PR #538](https://github.com/galaxyproject/galaxy/pull/538).
This enhances the `discover_dataset` XML tag to allow this.
- Allow certain `output` actions on collections.
[PR #544](https://github.com/galaxyproject/galaxy/pull/544).
- Allow `discover_dataset` tags to use `format` instead of `ext`
when referring to datatype extensions/formats.
- Allow `min`/`max` attributes on multiple data input parameters [PR #765](https://github.com/galaxyproject/galaxy/pull/765).
---
#### Whitelist Tools that Generate HTML ([PR #510](https://github.com/galaxyproject/galaxy/pull/510))
Galaxy now contains a plain text file that contains a list of tools whose
output can be trusted when rendering HTML.
---
### 15.07
Full [Galaxy changelog](https://docs.galaxyproject.org/en/master/releases/15.07_announce.html).
---
#### Parameterized XML Macros ([PR #362](https://github.com/galaxyproject/galaxy/pull/362))
Macros now allow defining tokens to be consumed
as XML attributes. For instance, the following definition
```xml
<tool>
<expand macro="inputs" foo="hello" />
<expand macro="inputs" foo="world" />
<expand macro="inputs" />
<macros>
<xml name="inputs" token_foo="the_default">
<inputs>@FOO@</inputs>
</xml>
</macros>
</tool>
```
would expand out as
```xml
<tool>
<inputs>hello</inputs>
<inputs>world</inputs>
<inputs>the_default</inputs>
</tool>
```
---
#### Tool Form
The workflow editor was updated to the use Galaxy's newer
frontend tool form.
![New Workflow Editor](images/gx_new_workflow_editor.png)
---
#### Environment Variables ([PR #395](https://github.com/galaxyproject/galaxy/pull/395))
Tools may now use `inputs` to define environment variables that will be
set during tool execution. The new `environment_variables` XML block is
used to define this.
```xml
<tool>
...
<command>
echo "\$INTVAR" > $out_file1;
echo "\$FORTEST" >> $out_file1;
</command>
<environment_variables>
<environment_variable name="INTVAR">$inttest</environment_variable>
<environment_variable name="FORTEST">#for i in ['m', 'o', 'o']#$i#end for#</environment_variable>
</environment_variables>
...
```
[Test tool](https://github.com/galaxyproject/galaxy/blob/dev/test/functional/tools/environment_variables.xml) demonstrating the use of the `environment_variables` tag.
---
#### Collections
- Explicit output collections can now be used in workflows. ([PR #311](https://github.com/galaxyproject/galaxy/pull/311))
- The `filter` tag has been implemented for output dataset collections ([PR #455](https://github.com/galaxyproject/galaxy/pull/455). See the example tool [output_collection_filter.xml](https://github.com/galaxyproject/galaxy/blob/dev/test/functional/tools/output_collection_filter.xml).
+18
View File
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<title>${title}</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<textarea id="source">
${content}
</textarea>
<script src="remark-latest.min.js">
</script>
<script>
var slideshow = remark.create();
</script>
</body>
</html>
+25
View File
@@ -0,0 +1,25 @@
/*
This is a sample of a CSS file for a slideshow
You need to put your `style.css` at the same level than your *.md slideshow file
Example:
MyDirectory:
- mySlideshow.md
- myCss.css
- images/
*/
@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
@import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic);
body {
font-family: 'Droid Serif';
}
h1, h2, h3 {
font-family: 'Yanone Kaffeesatz';
font-weight: normal;
}
.remark-code, .remark-inline-code {
font-family: 'Ubuntu Mono';
}