kkonganti@17: # NextFlow DSL2 Module kkonganti@17: kkonganti@17: ```bash kkonganti@17: ABRICATE_SUMMARY kkonganti@17: ``` kkonganti@17: kkonganti@17: ## Description kkonganti@17: kkonganti@17: Run `abricate` tool's `summary` sub-command on a list of `abricate`'s result table files per database. kkonganti@17: kkonganti@17: \ kkonganti@17:   kkonganti@17: kkonganti@17: ### `input:` kkonganti@17: kkonganti@17: ___ kkonganti@17: kkonganti@17: Type: `tuple` kkonganti@17: kkonganti@17: Takes in the following tuple of `abricate` database names of type `val` (`abdbs`) and a list of `abricate` result table files for all databases of type `path` (`abfiles`). kkonganti@17: kkonganti@17: Ex: kkonganti@17: kkonganti@17: ```groovy kkonganti@17: [ kkonganti@17: [ 'megares', 'argannot', 'resfinder', 'ncbi' ], kkonganti@17: [ '/data/sample1/f.ncbi.ab.txt', kkonganti@17: '/data/sample1/f.megares.ab.txt', kkonganti@17: '/data/sample1/f.resfinder.ab.txt', kkonganti@17: '/data/sample1/f.argannot.ab.txt', kkonganti@17: '/data/sample1/f2.ncbi.ab.txt', kkonganti@17: '/data/sample1/f2.megares.ab.txt', kkonganti@17: '/data/sample1/f2.resfinder.ab.txt', kkonganti@17: '/data/sample1/f2.argannot.ab.txt' kkonganti@17: ] kkonganti@17: ] kkonganti@17: ``` kkonganti@17: kkonganti@17: \ kkonganti@17:   kkonganti@17: kkonganti@17: #### `abdbs` kkonganti@17: kkonganti@17: Type: `val` kkonganti@17: kkonganti@17: A Groovy List containing the **mandatory** list of at least the following 4 `abricate` database names on which `abricate` was run. kkonganti@17: kkonganti@17: Ex: kkonganti@17: kkonganti@17: ```groovy kkonganti@17: [ 'resfinder', 'megares', 'ncbi', 'argannot' ] kkonganti@17: ``` kkonganti@17: kkonganti@17: \ kkonganti@17:   kkonganti@17: kkonganti@17: #### `abfiles` kkonganti@17: kkonganti@17: Type: `path` kkonganti@17: kkonganti@17: NextFlow input type of `path` pointing to `abricate` result files for each of the database. kkonganti@17: kkonganti@17: \ kkonganti@17:   kkonganti@17: kkonganti@17: ### `output:` kkonganti@17: kkonganti@17: ___ kkonganti@17: kkonganti@17: #### `ncbi` kkonganti@17: kkonganti@17: Type: `tuple` kkonganti@17: \ kkonganti@17: Optional: `true` kkonganti@17: kkonganti@17: Outputs a tuple of `abricate` database key (`abricate_ncbi`) and summary result file from `abricate summary` command of type `path` (`ncbi`). This database includes only core AMR genes. This tuple is emitted optionally only where there are output files with suffix `.ncbi.absum.txt` kkonganti@17: kkonganti@17: \ kkonganti@17:   kkonganti@17: kkonganti@17: #### `ncbiamrplus` kkonganti@17: kkonganti@17: Type: `tuple` kkonganti@17: \ kkonganti@17: Optional: `true` kkonganti@17: kkonganti@17: Outputs a tuple of `abricate` database key (`abricate_ncbiamrplus`) and summary result file from `abricate summary` command of type `path` (`ncbiamrplus`). This database includes both core AMR genes and plus AMR genes. This tuple is emitted optionally only where there are output files with suffix `.ncbiamrplus.absum.txt` kkonganti@17: kkonganti@17: \ kkonganti@17:   kkonganti@17: kkonganti@17: #### `resfinder` kkonganti@17: kkonganti@17: Type: `tuple` kkonganti@17: \ kkonganti@17: Optional: `true` kkonganti@17: kkonganti@17: Outputs a tuple of `abricate` database key (`abricate_resfinder`) and summary result file from `abricate summary` command of type `path` (`resfinder`). This tuple is emitted optionally only where there are output files with suffix `.resfinder.absum.txt` kkonganti@17: kkonganti@17: \ kkonganti@17:   kkonganti@17: kkonganti@17: #### `megares` kkonganti@17: kkonganti@17: Type: `tuple` kkonganti@17: \ kkonganti@17: Optional: `true` kkonganti@17: kkonganti@17: Outputs a tuple of `abricate` database key (`abricate_megares`) and summary result file from `abricate summary` command of type `path` (`megares`). This tuple is emitted optionally only where there are output files with suffix `.megares.absum.txt` kkonganti@17: kkonganti@17: \ kkonganti@17:   kkonganti@17: kkonganti@17: #### `argannot` kkonganti@17: kkonganti@17: Type: `tuple` kkonganti@17: \ kkonganti@17: Optional: `true` kkonganti@17: kkonganti@17: Outputs a tuple of `abricate` database key (`abricate_argannot`) and summary result file from `abricate summary` command of type `path` (`argannot`). This tuple is emitted optionally only where there are output files with suffix `.argannot.absum.txt` kkonganti@17: kkonganti@17: \ kkonganti@17:   kkonganti@17: kkonganti@17: #### `ecoli_vf` kkonganti@17: kkonganti@17: Type: `tuple` kkonganti@17: \ kkonganti@17: Optional: `true` kkonganti@17: kkonganti@17: Outputs an **optional** tuple of `abricate` database key (`abricate_ecoli_vf`) and summary result file from `abricate summary` command of type `path` (`ecoli_vf`). This tuple is emitted only when there are output files with suffix `.ecoli_vf.absum.txt` within the `work` folder. kkonganti@17: kkonganti@17: \ kkonganti@17:   kkonganti@17: kkonganti@17: #### `versions` kkonganti@17: kkonganti@17: Type: `path` kkonganti@17: kkonganti@17: NextFlow output type of `path` pointing to the `.yml` file storing software versions for this process.