carpentries-incubator / workflows-nextflow

Workflow management with Nextflow and nf-core
https://carpentries-incubator.github.io/workflows-nextflow/
Other
19 stars 29 forks source link

Incorrect module name? #20

Closed tomsing1 closed 3 years ago

tomsing1 commented 3 years ago

Is it possible that the second example in the include module section has a small error?

E.g. it current reads:

include { index; index as index2 } from './modules/rnaseq.nf'

workflow {
  transcriptome_ch = channel.fromPath('/data/yeast/transcriptome/*.fa'
  index(transcriptome)
  salmon_index(transcriptome)
}

using salmon_index as in the previous example. Maybe that should be index2 instead? For example

include { index; index as index2 } from './modules/rnaseq.nf'

workflow {
  transcriptome_ch = channel.fromPath('/data/yeast/transcriptome/*.fa'
  index(transcriptome)
  index2(transcriptome)
}