Skip to content

Instantly share code, notes, and snippets.

View TorHou's full-sized avatar

Torsten Houwaart TorHou

  • Robert-Koch-Institut, Berlin
View GitHub Profile
@TorHou
TorHou / test
Created May 28, 2015 12:12
galaxy_circos example
# enable local perl with perl libraries for circos installed
PATH=/usr/bin:$PATH
python /home/maticzkd/src/galaxy_circos/plot.py \
--output $HOME/test.png \
--circos_path "/home/maticzkd/src/circos-0.67-7/bin/circos -noparanoid" \
--karyotype \
/home/maticzkd/src/circos-0.67-7/data/karyotype/karyotype.drosophila.lowres.dm3.txt \
--cytobands true \
--tracks \
@TorHou
TorHou / cherrypy.xml
Last active August 29, 2015 14:17
Small example server to communicate with a Galaxy Instance
<?xml version="1.0"?>
<!--
If the value of 'URL_method' is 'get', the request will consist of the value of 'URL' coming back in
the initial response. If value of 'URL_method' is 'post', any additional params coming back in the
initial response ( in addition to 'URL' ) will be encoded and appended to URL and a post will be performed.
-->
<tool name="Cherry Py Synchronous" id="cherrypy" tool_type="data_source">
<description>test</description>
<command interpreter="python">data_source.py $output $__app__.config.output_size_limit</command>
<inputs action="http://localhost:8090/getdata" check_values="false" method="post">