name: cooler_merge
description: Merge multiple coolers with identical axes
keywords:
  - merge
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 version
      pattern: "versions.yml"
  - cool:
      type: file
      description: Path to COOL file
      pattern: "*.cool"

authors:
  - "@jianhong"