name: csvtk_concat
description: Concatenate two or more CSV (or TSV) tables into a single table
keywords:
  - concatenate
  - tsv
  - csv
tools:
  - csvtk:
      description: A cross-platform, efficient, practical CSV/TSV toolkit
      homepage: http://bioinf.shenwei.me/csvtk
      documentation: http://bioinf.shenwei.me/csvtk
      tool_dev_url: https://github.com/shenwei356/csvtk
      licence: ["MIT"]
      identifier: ""
input:
  - - meta:
        type: map
        description: |
          Groovy Map containing sample information
          e.g. [ id:'test', single_end:false ]
    - csv:
        type: file
        description: CSV/TSV formatted files
        pattern: "*.{csv,tsv}"
  - - in_format:
        type: string
        description: Input format (csv, tab, or a delimiting character)
        pattern: "*"
  - - out_format:
        type: string
        description: Output format (csv, tab, or a delimiting character)
        pattern: "*"
output:
  - csv:
      - meta:
          type: map
          description: |
            Groovy Map containing sample information
            e.g. [ id:'test', single_end:false ]
      - ${prefix}.${out_extension}:
          type: file
          description: Concatenated CSV/TSV file
          pattern: "*.{csv,tsv}"
  - versions:
      - versions.yml:
          type: file
          description: File containing software versions
          pattern: "version.yml"
authors:
  - "@rpetit3"
maintainers:
  - "@rpetit3"
