name: diamond_blastx
description: Queries a DIAMOND database using blastx mode
keywords:
  - fasta
  - diamond
  - blastx
  - DNA sequence
tools:
  - diamond:
      description: Accelerated BLAST compatible local sequence aligner
      homepage: https://github.com/bbuchfink/diamond
      documentation: https://github.com/bbuchfink/diamond/wiki
      tool_dev_url: https://github.com/bbuchfink/diamond
      doi: "doi:10.1038/s41592-021-01101-x"
      licence: ["GPL v3.0"]

input:
  - meta:
      type: map
      description: |
        Groovy Map containing sample information
        e.g. [ id:'test', single_end:false ]
  - fasta:
      type: file
      description: Input fasta file containing query sequences
      pattern: "*.{fa,fasta}"
  - db:
      type: directory
      description: Directory containing the nucelotide blast database
      pattern: "*"

output:
  - txt:
      type: file
      description: File containing blastx hits
      pattern: "*.{blastx.txt}"
  - versions:
      type: file
      description: File containing software versions
      pattern: "versions.yml"

authors:
  - "@spficklin"
