Skip to content

Commit 4b294b1

Browse files
committed
update the output channel and core process command
1 parent 1e9b56b commit 4b294b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main.nf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ samtools
3131
#==============================================
3232
*/
3333

34-
process samtoolsIndex {
34+
process samtoolsFaidx {
3535
publishDir params.resultsDir, mode: params.saveMode
3636
container 'quay.io/biocontainers/samtools:1.10--h2e538c0_3'
3737

@@ -40,12 +40,12 @@ process samtoolsIndex {
4040
path refFasta from ch_refFasta
4141

4242
output:
43-
tuple file('*.fai') into ch_out_samtools
43+
file('*.fai') into ch_out_samtools
4444

4545
script:
4646

4747
"""
48-
samtools index $params.refFasta
48+
samtools faidx $params.refFasta
4949
"""
5050
}
5151

0 commit comments

Comments
 (0)