name: chromap_index
description: Indexes a fasta reference genome ready for chromatin profiling.
keywords:
  - index
  - fasta
  - genome
  - reference
tools:
  - chromap:
      description: Fast alignment and preprocessing of chromatin profiles
      homepage: https://github.com/haowenz/chromap
      documentation: https://github.com/haowenz/chromap
      tool_dev_url: https://github.com/haowenz/chromap

      licence: ["GPL v3"]

input:
  - meta:
      type: map
      description: |
        Groovy Map containing reference information
        e.g. [ id:'test' ]
  - fasta:
      type: file
      description: Fasta reference file.

output:
  - versions:
      type: file
      description: File containing software versions
      pattern: "versions.yml"
  - meta:
      type: map
      description: |
        Groovy Map containing reference information
        e.g. [ id:'test' ]
  - index:
      type: file
      description: Index file of the reference genome
      pattern: "*.{index}"

authors:
  - "@mahesh-panchal"
  - "@joseespinosa"
