nf-core_modules/software/last/mafconvert/meta.yml
Charles Plessy c8168bc351
Update last module (#533)
* Update LAST to version 1238.

* Update functions.nf to the latest devel version.

* Update test MD5sums after updating software version.

* Make portable on MacOS

* Allow input alignments to be uncompressed.

While the strategy in this family of modules is to make all inputs and
outputs compressed, this change might be useful to some users.

As of LAST 2138, `last/split` does not allow its input to be compressed.

* Search for .des file, that is guaranteed to be unique.

Some LAST indexes have more than one .bck file and it makes the name
detection crash.

In this commit, I also standardise how the names are detected.

* Use value input channel and optional output channels to handle formats.

As discussed on Slack, it is preferred to use a value input channel
instead of sneaking options through `params.args2` or `params.format`
as we did.

Likewise, optional output channels with clearly labeled format are
preferred to 'catch-all' wildcards.
2021-06-14 12:27:27 +01:00

79 lines
2.3 KiB
YAML

name: last_mafconvert
description: Converts MAF alignments in another format.
keywords:
- LAST
- convert
- alignment
- MAF
tools:
- last:
description: LAST finds & aligns related regions of sequences.
homepage: https://gitlab.com/mcfrith/last
documentation: https://gitlab.com/mcfrith/last/-/blob/main/doc/
tool_dev_url: https://gitlab.com/mcfrith/last
doi: ""
licence: ['GPL v3-or-later']
input:
- meta:
type: map
description: |
Groovy Map containing sample information
e.g. [ id:'test', single_end:false ]
- maf:
type: file
description: Multiple Aligment Format (MAF) file, optionally compressed with gzip
pattern: "*.{maf.gz,maf}"
- format:
type: value
description: Output format (one of axt, blast, blasttab, chain, gff, html, psl, sam, or tab)
output:
- meta:
type: map
description: |
Groovy Map containing sample information
e.g. [ id:'test', single_end:false ]
- version:
type: file
description: File containing software version
pattern: "*.{version.txt}"
- axt_gz:
type: file
description: Gzipped pairwise alignment in Axt (Blastz) format (optional)
pattern: "*.axt.gz"
- blast_gz:
type: file
description: Gzipped pairwise alignment in blast format (optional)
pattern: "*.blast.gz"
- blasttab_gz:
type: file
description: Gzipped pairwise alignment in blasttab format (optional)
pattern: "*.blasttab.gz"
- chain_gz:
type: file
description: Gzipped pairwise alignment in UCSC chain format (optional)
pattern: "*.chain.gz"
- gff_gz:
type: file
description: Gzipped pairwise alignment in GFF format (optional)
pattern: "*.gff.gz"
- html_gz:
type: file
description: Gzipped pairwise alignment in HTML format (optional)
pattern: "*.html.gz"
- psl_gz:
type: file
description: Gzipped pairwise alignment in PSL (BLAT) format (optional)
pattern: "*.psl.gz"
- SAM:
type: file
description: Gzipped pairwise alignment in SAM format (optional)
pattern: "*.sam.gz"
- tab:
type: file
description: Gzipped pairwise alignment in TAB format (optional)
pattern: "*.tab.gz"
authors:
- "@aleksandrabliznina"