Copy across test data and docs for bwa index

This commit is contained in:
drpatelh 2020-08-05 17:27:28 +01:00
parent 4f590ff239
commit da4dcee934
3 changed files with 43 additions and 0 deletions

View 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"

View 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()
}

View file

@ -0,0 +1,2 @@
docker.enabled = true
params.outdir = './results'