name: cooler_zoomify
description: Generate a multi-resolution cooler file by coarsening
keywords:
  - mcool
tools:
  - cooler:
      description: Sparse binary format for genomic interaction matrices
      homepage: https://cooler.readthedocs.io/en/latest/index.html
      documentation: https://cooler.readthedocs.io/en/latest/index.html
      tool_dev_url: https://github.com/open2c/cooler
      doi: "10.1093/bioinformatics/btz540"
      licence: ['BSD-3-clause']

input:
  - meta:
      type: map
      description: |
        Groovy Map containing sample information
        e.g. [ id:'test', single_end:false ]
  - cool:
      type: file
      description: Path to COOL file
      pattern: "*.{cool,mcool}"

output:
  - meta:
      type: map
      description: |
        Groovy Map containing sample information
        e.g. [ id:'test', single_end:false ]
  - versions:
      type: file
      description: File containing software versions
      pattern: "versions.yml"
  - mcool:
      type: file
      description: Output mcool file
      pattern: "*.mcool"

authors:
  - "@jianhong"