Skip to content

Commit

Permalink
upgrade subread
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Apr 17, 2024
1 parent 4d95433 commit 5bfd435
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions _episodes/04-reusing_tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,11 @@ The last step of our workflow is counting the RNA-seq reads for which we will us
> Have a look at the CWL document. Which inputs does this tool need? And what are the outputs of this tool?
>
> > ## Solution
> > The `featureCounts` CWL document can be found in the [GitHub repo][featurecounts-cwl]; it has 2 inputs: `annotations` (line 6) and `mapped_reads`, both files. These inputs can be found on lines 6 and 9.
> > The output of this tool is a file called `featurecounts` (line 21).
> > The `featureCounts` CWL document can be found in the [GitHub repo][featurecounts-cwl]; it has 3 inputs: `annotations` and `mapped_reads`, both files, along with `reads_are_paired` (a boolean choice). These inputs can be found on lines 6, 9, and 12.
> > The output of this tool is a file called `featurecounts` (line 27).
> >
> {: .solution}
{: .challenge}
{% include links.md %}

We need a local copy of `featureCounts` in order to use it in our workflow.
We already imported this as a git submodule during setup,
Expand Down Expand Up @@ -116,6 +115,7 @@ so the tool should be located at `bio-cwl-tools/subread/featureCounts.cwl`.
> > in:
> > mapped_reads: index_alignment/bam_sorted_indexed
> > annotations: fruitfly_gene_model
> > reads_are_paired: {default: true}
> > out: [featurecounts]
> >
> > outputs:
Expand Down Expand Up @@ -170,4 +170,3 @@ cwltool --cachedir cache rna_seq_workflow_3.cwl workflow_input_3.yml
[featurecounts-cwl]: https://github.com/common-workflow-library/bio-cwl-tools/blob/release/subread/featureCounts.cwl

{% include links.md %}

2 changes: 1 addition & 1 deletion setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ docker pull quay.io/biocontainers/star:2.7.5c--0
docker pull quay.io/biocontainers/fastqc:0.11.9--hdfd78af_1
docker pull quay.io/biocontainers/cutadapt:3.7--py39hbf8eff0_1
docker pull quay.io/biocontainers/samtools:1.14--hb421002_0
docker pull quay.io/biocontainers/subread:1.5.0p3--0
docker pull quay.io/biocontainers/subread:2.0.6--he4a0461_0
~~~
{: .language-bash}

Expand Down

0 comments on commit 5bfd435

Please sign in to comment.