Commit a646088a authored by Jerome Mariette's avatar Jerome Mariette
Browse files

add application class

parent d33a7eba
...@@ -15,10 +15,10 @@ ...@@ -15,10 +15,10 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
from jflow.workflow import Workflow from jflowapp.application import Application
class QuickStart (Workflow): class QuickStart (Application):
def get_description(self): def get_description(self):
return "Align reads against a reference genome" return "Align reads against a reference genome"
...@@ -33,3 +33,5 @@ class QuickStart (Workflow): ...@@ -33,3 +33,5 @@ class QuickStart (Workflow):
# align reads against the indexed genome # align reads against the indexed genome
bwamem = self.add_component("BWAmem", [bwaindex.databank, self.reads]) bwamem = self.add_component("BWAmem", [bwaindex.databank, self.reads])
def define_results(self):
self.add_result_table("rna_table", [["aaaaa", "ffffff", "sdsdsd"], [1,2,3], [1,"qqqqqqqq",3], [1,2,"ppppp"]])
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment