name: sratools_prefetch
description: Download sequencing data from the NCBI Sequence Read Archive (SRA).
keywords:
  - sequencing
  - fastq
  - prefetch
tools:
  - sratools:
      description: SRA Toolkit and SDK from NCBI
      homepage: https://github.com/ncbi/sra-tools
      documentation: https://github.com/ncbi/sra-tools/wiki
      tool_dev_url: https://github.com/ncbi/sra-tools
      licence: ['US-Government-Work']

input:
  - meta:
      type: map
      description: >
        Groovy Map containing sample information
        e.g. [ id:'test', single_end:false ]
  - id:
      type: val
      description: >
        A string denoting an SRA id.

output:
  - meta:
      type: map
      description: >
        Groovy Map containing sample information
        e.g. [ id:'test', single_end:false ]
  - sra:
      type: directory
      description: >
        Directory containing the ETL data for the given SRA id.
      pattern: "*/*.sra"
  - versions:
      type: file
      description: File containing software versions
      pattern: "versions.yml"

authors:
  - "@Midnighter"