Skip to content

Instantly share code, notes, and snippets.

@mpkocher
Last active August 29, 2015 13:56
Show Gist options
  • Save mpkocher/8819950 to your computer and use it in GitHub Desktop.
Save mpkocher/8819950 to your computer and use it in GitHub Desktop.
New protocol XML sketch idea.
<?xml version="1.0" encoding="UTF-8"?>
<workflow>
<!-- This is similar to the current RS protocol in Portal -->
<protocol id="pbsmrtpipe.protocols.rs_resequencing">
<inputs>
<input><type>MovieFofn</type></input>
<input><type>ReferenceEntry</type></input>
</inputs>
<options>
<option id="pbsmrtpipe.task_modules.filter.my_option">
<name>My option</name>
<description>A description goes here</description>
<type>int</type>
<default>10</default>
</option>
<!-- more options go here -->
</options>
</protocol>
</workflow>
<?xml version="1.0" encoding="UTF-8"?>
<workflow>
<!-- Run an individualy Exposed module. This is really just a group of
tasks that have a single interface with important options exposed -->
<module id="pbsmrtpipe.task_modules.filter">
<class>PB_FilterClass</class>
<inputs>
<input><type>MovieFofn</type></input>
</inputs>
<options>
<option id="pbsmrtpipe.task_modules.filter.my_option">
<name>My Option</name>
<!-- etc ... -->
</option>
</options>
</module>
</workflow>
<?xml version="1.0" encoding="UTF-8"?>
<workflow>
<!-- Run a specific Task -->
<task id="pbsmrtpipe.task_modules.filter.FilterTask">
<inputs>
<input><type>MovieFofn</type></input>
</inputs>
<options />
</task>
</workflow>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment