mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-14 05:43:08 +00:00
0745213729
* 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.
13 lines
398 B
Text
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 )
|
|
}
|