Skip to content

Commit

Permalink
Homer/findpeaks improvements (nf-core#1436)
Browse files Browse the repository at this point in the history
* fix(homer): Update expected file path to improve caching

* docs(homer): Update findpeaks

* test(homer): Add maketagdirectory dependency

Co-authored-by: Robert A. Petit III <[email protected]>
  • Loading branch information
edmundmiller and rpetit3 authored Mar 25, 2022
1 parent d16f1ea commit e3a5795
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions modules/homer/findpeaks/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ process HOMER_FINDPEAKS {
tuple val(meta), path(tagDir)

output:
tuple val(meta), path("*peaks.txt"), emit: txt
path "versions.yml" , emit: versions
tuple val(meta), path("*.peaks.txt"), emit: txt
path "versions.yml" , emit: versions

when:
task.ext.when == null || task.ext.when
Expand Down
6 changes: 4 additions & 2 deletions modules/homer/findpeaks/meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ tools:
- homer:
description: |
HOMER (Hypergeometric Optimization of Motif EnRichment) is a suite of tools for Motif Discovery and next-gen sequencing analysis.
documentation: http://homer.ucsd.edu/homer/
homepage: "http://homer.ucsd.edu/homer/index.html"
documentation: "http://homer.ucsd.edu/homer/"
tool_dev_url: "http://homer.ucsd.edu/homer/ngs/peaks.html"
doi: 10.1016/j.molcel.2010.05.004.
licence: ["GPL-3.0-or-later"]
input:
Expand All @@ -29,7 +31,7 @@ output:
- peaks:
type: file
description: The found peaks
pattern: "*peaks.txt"
pattern: "*.peaks.txt"
- versions:
type: file
description: File containing software versions
Expand Down
1 change: 1 addition & 0 deletions tests/config/pytest_modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,7 @@ homer/annotatepeaks:

homer/findpeaks:
- modules/homer/findpeaks/**
- modules/homer/maketagdirectory/**
- tests/modules/homer/findpeaks/**

homer/maketagdirectory:
Expand Down

0 comments on commit e3a5795

Please sign in to comment.