Commit fb76c9c7 authored by lrodrig1's avatar lrodrig1
Browse files

change order of steps and add two outputs in bwa_index.nf subworkflow

parent 0b953bd1
/*
* Includes for bwa_index
*/
include {
SAMTOOLS_FAIDX
} from "../modules/samtools_faidx"
include {
BWA_INDEX
} from "../modules/bwa_index"
include {
SAMTOOLS_FAIDX
} from "../modules/samtools_faidx"
/*
* Subworkflow bwa_index
......@@ -17,9 +16,11 @@ workflow SUB_BWA_INDEX {
reference_fasta
main:
// TODO gunzip
SAMTOOLS_FAIDX(reference_fasta)
BWA_INDEX(reference_fasta)
SAMTOOLS_FAIDX(reference_fasta, BWA_INDEX.out)
emit:
output = SAMTOOLS_FAIDX.out
}
\ No newline at end of file
fai = SAMTOOLS_FAIDX.out
indexs = BWA_INDEX.out
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment