nf-core_modules/tests/software/last/mafconvert/main.nf
aleksandrabliznina 0745213729
New last/mafconvert module to convert MAF alignments. (#527)
* New last/mafconvert module to convert MAF alignments.

The `maf-convert` tool distributed with [LAST](https://gitlab.com/mcfrith/last)
reads alignmnts in [MAF](https://genome-asia.ucsc.edu/FAQ/FAQformat.html#format5)
format and converts them in another format (axt, blast, blasttab, chain,
gff, html, psl, sam, tab).

This new module is part of the work described in Issue #464. During this
development, we fix the versiob of LAST to 1219 to ensure consistency.
We will upgrade it later.

* Delete white space.

* Update the function.nf file to the dev version.
2021-06-09 08:38:57 +02:00

13 lines
398 B
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { LAST_MAFCONVERT } from '../../../../software/last/mafconvert/main.nf' addParams( options: ['format':'psl'] )
workflow test_last_mafconvert {
input = [ [ id:'contigs.genome' ], // meta map
file(params.test_data['sarscov2']['genome']['contigs_genome_maf_gz'], checkIfExists: true) ]
LAST_MAFCONVERT ( input )
}