nf-core_modules/tests/software/last/lastdb/test.yml
Charles Plessy 16d20a7cc4
New last/lastdb module to index sequences before alignment. (#476)
* New last/lastdb module to index sequences before alignment.

The `lastdb` command creates a sequence index for the LAST aligner
(https://gitlab.com/mcfrith/last). Input can be in FASTA or FASTQ
format, and compression is handled automagically.  DNA or protein
sequences can be indexed.

The sequence index is a collection of files sharing the same basename.
This module sets the basename to the sample identifier (`$meta.id`) and
creates the index in a directory always called `lastdb`.  The module's
output channel then conveys a copy of the metadata and the path to the
`lastdb` directory.

Other modules will follow (see Issue #464).  The LAST aligner can align
proteins to proteins, DNA to DNA and can translate DNA align to
proteins.

* Remove trailing whitespace.

* Apply suggestions from code review

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>

* Update as suggested in PR.

* Attempt to pass linting.

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-05-02 11:36:31 +01:00

41 lines
1.6 KiB
YAML

- name: last lastdb test_last_lastdb
command: nextflow run tests/software/last/lastdb -entry test_last_lastdb -c tests/config/nextflow.config
tags:
- last
- last/lastdb
files:
- path: output/last/lastdb/test.bck
md5sum: 5519879b9b6c4d1fc508da7f17f88f2e
- path: output/last/lastdb/test.des
md5sum: 3a9ea6d336e113a74d7fdca5e7b623fc
- path: output/last/lastdb/test.prj
md5sum: 489715f14b0fea6273822696e72357f9
- path: output/last/lastdb/test.sds
md5sum: 2cd381f4f8a9c52cfcd323a2863eccb2
- path: output/last/lastdb/test.ssp
md5sum: 4137fb6fe9df2b3d78d5b960390aac7b
- path: output/last/lastdb/test.suf
md5sum: 1895efa8653e8e9bd3605cff0408ed33
- path: output/last/lastdb/test.tis
md5sum: b7c40f06b1309dc6f37849eeb86dfd22
- name: last lastdb test_last_lastdb_gzipped_input
command: nextflow run tests/software/last/lastdb -entry test_last_lastdb_gzipped_input -c tests/config/nextflow.config
tags:
- last
- last/lastdb
files:
- path: output/last/lastdb/test.bck
md5sum: 8692b1229b1fff1c2d39c4c610ff842b
- path: output/last/lastdb/test.des
md5sum: 26ab49015cc572172b9efa50fc5190bc
- path: output/last/lastdb/test.prj
md5sum: a302beb8b8b884d8450055ede61e973b
- path: output/last/lastdb/test.sds
md5sum: cad9927d4bd161257e98165ad755d8e4
- path: output/last/lastdb/test.ssp
md5sum: 574c8a080247c2af9b5c46ff70936186
- path: output/last/lastdb/test.suf
md5sum: 8c406111b398631e51ca79d99b0ee897
- path: output/last/lastdb/test.tis
md5sum: d57a3a5f7e3e036807356c15bd3aad97