Skip to content

Commit

Permalink
Merge pull request #304 from erikrikarddaniel/fix-eukulele-gzip
Browse files Browse the repository at this point in the history
Make eukulele count files optional
  • Loading branch information
danilodileo authored Dec 11, 2024
2 parents 78689bd + dff8dc9 commit c749cff
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Initial release of nf-core/metatdenovo, created with the [nf-core](https://nf-co

### `Fixed`

- [#304](<[https://github.com/nf-core/ampliseq/pull/681](https://github.com/nf-core/metatdenovo/pull/304)>) - Make EUKulele counts output optional as it's not always created
- [#269](<[https://github.com/nf-core/ampliseq/pull/681](https://github.com/nf-core/metatdenovo/pull/269)>) - Make Transdecoder work better with `-resume`

### `Dependencies`
Expand Down
2 changes: 1 addition & 1 deletion assets/schema_input.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$schema": "https://json-schema.org/draft-07/schema",
"$id": "https://raw.githubusercontent.com/nf-core/metatdenovo/master/assets/schema_input.json",
"title": "nf-core/metatdenovo pipeline - params.input schema",
"description": "Schema for the file provided with params.input",
Expand Down
4 changes: 2 additions & 2 deletions modules/local/eukulele/search.nf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ process EUKULELE_SEARCH {

output:
tuple val(meta), path("*/taxonomy_estimation/*.out.gz"), val("${dbname}") , emit: taxonomy_estimation
tuple val(meta), path("*/taxonomy_counts/*.csv.gz") , emit: taxonomy_counts
tuple val(meta), path("*/taxonomy_counts/*.csv.gz") , emit: taxonomy_counts , optional: true
tuple val(meta), path("*/mets_full/diamond/*") , emit: diamond

path "versions.yml" , emit: versions
Expand All @@ -38,7 +38,7 @@ process EUKULELE_SEARCH {
contigs || rc=\$?
gzip ${prefix}/mets_full/diamond/*.out
gzip ${prefix}/taxonomy_counts/*.csv
find ${prefix}/taxonomy_counts/ -name "*.csv" | xargs gzip
gzip ${prefix}/taxonomy_estimation/*.out
cat <<-END_VERSIONS > versions.yml
Expand Down
2 changes: 1 addition & 1 deletion nextflow_schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$schema": "https://json-schema.org/draft-07/schema",
"$id": "https://raw.githubusercontent.com/nf-core/metatdenovo/master/nextflow_schema.json",
"title": "nf-core/metatdenovo pipeline parameters",
"description": "Assembly and annotation of metatranscriptomic data, both prokaryotic and eukaryotic",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c749cff

Please sign in to comment.