nf-core_modules/software/last/postmask/meta.yml
Charles Plessy ca321ce69d
New module last/postmask to filter alignment files (#526)
The `last-postmask` tool distributed with [LAST](https://gitlab.com/mcfrith/last)
filters alignments in a MAF file to remove those with too many masked
(lower-case) positions compared with their score.

As other filter modules like `last/split`, its output file risks to
overwrite its input file as their names are constructed from the sample
ID when multiple filters are chained in the pipeline.  I added a check
that gives a clearer error message in this case.  Please let me know
what you think about; I can add this test to the existing LAST modules
as well.

This new module is part of the work discribed in Issue #464. During this
development, we fix the version of LAST to 1219 to ensure consistency.
We will upgrade it later.
2021-06-08 11:14:08 +02:00

39 lines
1 KiB
YAML

name: last_postmask
description: Post-alignment masking
keywords:
- LAST
- mask
- 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/last-postmask.rst
tool_dev_url: https://gitlab.com/mcfrith/last
doi: "10.1371/journal.pone.0028819"
licence: ['GPL-3.0-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, compressed with gzip
pattern: "*.{maf.gz}"
output:
- maf:
type: file
description: Multiple Aligment Format (MAF) file, compressed with gzip
pattern: "*.{maf.gz}"
- version:
type: file
description: File containing software version
pattern: "*.{version.txt}"
authors:
- "@charles-plessy"