mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-23 03:28:17 +00:00
faf77d6fee
* add nanolyse modules * add clean.fastq.gz path and md5sum * fix errors * remove unreproducible md5sum * solve linting problem * address PR suggestions * GET_NANOLYSE_FASTA as a local module * Update software/nanolyse/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update software/nanolyse/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update software/nanolyse/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update software/nanolyse/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update software/nanolyse/meta.yml Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update software/nanolyse/meta.yml Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update tests/software/nanolyse/test.yml Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update tests/software/nanolyse/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update tests/software/nanolyse/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * update to the version from nf-core/tools-dev * input and output files cannot have the same names * Update test.yml * Update software/nanolyse/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update tests/software/nanolyse/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update test.yml * revert Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
24 lines
608 B
Text
24 lines
608 B
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { NANOLYSE } from '../../../software/nanolyse/main.nf' addParams( options: [suffix: 'clean'] )
|
|
|
|
process GET_NANOLYSE_FASTA {
|
|
output:
|
|
path "*fasta.gz", emit: fasta
|
|
|
|
script:
|
|
"""
|
|
wget https://github.com/wdecoster/nanolyse/raw/master/reference/lambda.fasta.gz
|
|
"""
|
|
}
|
|
|
|
workflow test_nanolyse {
|
|
input = [ [ id:'test' ], // meta map
|
|
[ file(params.test_data['sarscov2']['nanopore']['test_fastq_gz'], checkIfExists: true)]
|
|
]
|
|
|
|
GET_NANOLYSE_FASTA()
|
|
NANOLYSE ( input, GET_NANOLYSE_FASTA.out.fasta )
|
|
}
|