mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
Copy across test data and docs for bwa index
This commit is contained in:
parent
4f590ff239
commit
da4dcee934
3 changed files with 43 additions and 0 deletions
25
software/bwa/index/meta.yml
Normal file
25
software/bwa/index/meta.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
name: bwa index
|
||||
description: create indexes for BWA from a fasta file
|
||||
keywords:
|
||||
- index
|
||||
tools:
|
||||
- bwa:
|
||||
description: |
|
||||
BWA is a software package for mapping DNA sequences against a large reference genome, such as the human genome.
|
||||
homepage: http://bio-bwa.sourceforge.net/
|
||||
documentation: http://www.htslib.org/doc/samtools.html
|
||||
arxiv: arXiv:1303.3997
|
||||
input:
|
||||
-
|
||||
- input:
|
||||
type: file
|
||||
description: Input fasta file
|
||||
pattern: "*.{fasta,fa}"
|
||||
output:
|
||||
-
|
||||
- index:
|
||||
type: file
|
||||
description: bwa indexes file
|
||||
pattern: "*.{fasta,fa}.{amb,ann,bwt,pac,sa}"
|
||||
authors:
|
||||
- "@maxulysse"
|
16
software/bwa/index/test/main.nf
Normal file
16
software/bwa/index/test/main.nf
Normal file
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/env nextflow
|
||||
nextflow.preview.dsl = 2
|
||||
include '../../../tests/functions/check_process_outputs.nf' params(params)
|
||||
include '../main.nf' params(params)
|
||||
|
||||
// Define input channels
|
||||
input = '../../../test-datasets/tools/bwa/index/input/reference.fasta'
|
||||
Channel
|
||||
.from(input)
|
||||
.set { ch_input }
|
||||
|
||||
// Run the workflow
|
||||
workflow {
|
||||
fastqc(ch_input)
|
||||
// .check_output()
|
||||
}
|
2
software/bwa/index/test/nextflow.config
Normal file
2
software/bwa/index/test/nextflow.config
Normal file
|
@ -0,0 +1,2 @@
|
|||
docker.enabled = true
|
||||
params.outdir = './results'
|
Loading…
Reference in a new issue