Skip to content
This repository was archived by the owner on May 18, 2026. It is now read-only.
This repository was archived by the owner on May 18, 2026. It is now read-only.

Tasks as npm modules #78

Open
Open

Description

@tiagofilipe12

Tasks could be npm modules and then one could import them as such:

const { join } = require('bionode-watermill')
const samtools = require('watermill-samtools')

const  pipeline = join(stuff, stuff2, samtools)

Activity

  1. thejmazz commented on Aug 25, 2017

    @thejmazz
    Member

    Blocked by #75.

    First step will be modules within this repo.

    Also - we should probably spec out all the responsibilities of a task module by the time we make some of these published:

    • how to do tests for it
    • how to include example files
    • how to include corresponding CWL (see Common Workflow Language (CWL) support? #45)
    • recommend to include examples that fail (e.g. common failures, index file not present)
    • custom logic for that tool (e.g. watch stdout stream and fail task if certain pattern is found - useful for programs that fail but do not give 0 exit code)
    • how the documentation/readme template should be (we want to be consistent across task modules)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions