Skip to content

Commit

Permalink
Added RNAseq workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Liya Wang authored and Liya Wang committed Mar 9, 2017
1 parent 657702a commit 18f32f8
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 17 deletions.
1 change: 1 addition & 0 deletions agavedancer/public/assets/RNAseq.workflow.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"id":"302a28f9-c580-400f-b790-57472c15e9f4","name":"test_wf","steps":[{"id":0,"appId":"star_index_align-2.5.2","jobId":"5632205978192571930-242ac114-0001-007","inputs":{"reference":"agave://data.sciapps.org/example_data/RNAseq/Creinhardtii_281_v5.0.hardmasked.fa","seqFolder":"agave://data.sciapps.org/example_data/RNAseq/reads","annotation":"agave://data.sciapps.org/example_data/RNAseq/Creinhardtii_281_v5.5.gene.gtf"},"parameters":{"alignIntronMax":"1000000","outFilterMismatchNmax":"999","seqmode":"paired","outFilterType":"Normal","outFilterMultimapNmax":"20","alignSJDBoverhangMin":"1","alignIntronMin":"20","alignMatesGapMax":"1000000","alignSJoverhangMin":"8"}},{"id":1,"appId":"StringTie-1.3.1","jobId":"2112637852877254170-242ac114-0001-007","inputs":{"seqFolder":{"step":0,"output_name":"bam_output"},"annotation":"agave://data.sciapps.org/example_data/RNAseq/Creinhardtii_281_v5.5.gene.gtf"},"parameters":{"junc_bases":"10","min_read_cov":"2.5","no_spice_reads":"1","min_isof_abund":"0.3","min_len_trans":"200","ref_gtf":false,"enable_bgwn":false,"min_locus_gap":"50","max_frac_multi_reads":"0.95"}},{"id":2,"appId":"StringTie-merge-1.3.0","jobId":"6085854717637881370-242ac114-0001-007","inputs":{"seqFolder":{"step":1,"output_name":"gtf_output"},"annotation":"agave://data.sciapps.org/example_data/RNAseq/Creinhardtii_281_v5.5.gene.gtf"},"parameters":{"min_trans_len":"50","min_TPM":"0","min_FPKM":"0","min_trans_cov":"0","min_isf_frac":"0.01"}},{"id":3,"appId":"StringTie-1.3.1","jobId":"5179862702628007450-242ac114-0001-007","inputs":{"seqFolder":{"step":0,"output_name":"bam_output"},"annotation":{"step":2,"output_name":"merged_out"}},"parameters":{"junc_bases":"10","min_read_cov":"2.5","no_spice_reads":"1","min_isof_abund":"0.3","min_len_trans":"200","ref_gtf":true,"enable_bgwn":true,"min_locus_gap":"50","max_frac_multi_reads":"0.95"}},{"id":4,"appId":"Ballgown-2.6.0","jobId":"7605720025159700966-242ac114-0001-007","inputs":{"ballgownFolder":{"step":3,"output_name":"ballgown_input_files"}},"parameters":{"covariate":"reps"}}]}
4 changes: 2 additions & 2 deletions agavedancer/public/javascripts/components/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const Header=React.createClass({

showWorkflows: function() {
AppsActions.showPage('workflows');
let title="Example Workflows";
let title="Public Workflows";
let url="/?page_id=workflows";
if (typeof (history.pushState) !== "undefined") {
let obj = { Title: title, Url: url };
Expand All @@ -91,7 +91,7 @@ const Header=React.createClass({
<NavDropdown eventKey='2' title="Workflows" id="nav-dropdown">
<MenuItem eventKey='2.1' onClick={this.showWorkflowBuilder}>Build a workflow</MenuItem>
<MenuItem eventKey='2.2' onClick={this.showWorkflowRunner}>Load a workflow</MenuItem>
<MenuItem eventKey='2.3' onClick={this.showWorkflows}>Example workflows</MenuItem>
<MenuItem eventKey='2.3' onClick={this.showWorkflows}>Public workflows</MenuItem>
</NavDropdown>
<NavItem eventKey='3' href='http://data.sciapps.org' target='_blank'>Data</NavItem>
<NavItem eventKey='4' href='http://ask.cyverse.org' target='_blank'>Help</NavItem>
Expand Down
28 changes: 13 additions & 15 deletions agavedancer/public/javascripts/components/workflows.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,22 @@ const Workflows=React.createClass({
return (
<div className="welcome">
<div className="section">
Automatic workflow chains individual apps together. The workflow avoids manual submission of each individual job, reduces data transfer among intermediate steps, and further optimizes computation through advanced workflow engines. The inputs-outputs relationship among subsequent steps is captured by following step 2 (described below).<br /><br />
The workflow is built by following steps:<br />
<ol className="list">
<li>Run each app used in the workflow at least once</li>
<li>Whenever possible, feed the outputs from the right column (History panel) as input for subsequent steps</li>
<li>Check whether outputs from each step are as expected; fix errors and repeat step 1 and 2 if not</li>
</ol>
<br />
Example workflows:<br />
<h5>Public workflows</h5>
Click on any workflow below will load both the pipeline (main panel) and data (History panel). Workflow diagram can be shown from the bottom of the main panel.
<ul className="list">
<li><a href="#" onClick={this.showWorkflowRunner}>Association</a></li>
<li><a href="#" onClick={this.showWorkflowRunner}>Annotation</a></li>
<li>Variant calling</li>
<li>Expression</li>
<li>Methylation</li>
<li>sRNA</li>
<li>Chip-seq</li>
</ul>
<li><a href="#" onClick={this.showWorkflowRunner}>RNAseq</a></li>
<li>Chipseq (in progress)</li>
</ul><br />
<h5>Building a workflow</h5>
Automatic workflow chains individual apps together. The workflow avoids manual submission of each individual job, reduces data transfer among intermediate steps, and captures complicated relationships among data sets. The input-output relationship among apps is captured by the second step below.
<ul className="list">
<li>For building a workflow, run each app used in the workflow at least once</li>
<li>If needed, hold and drag the results file URL from the History panel to the URL field of subsequent steps as input</li>
<li>Check whether outputs from each step are as expected; fix errors and repeat step 1 and 2 if not</li>
</ul>
<br />
</div>
</div>
);
Expand Down

0 comments on commit 18f32f8

Please sign in to comment.