Skip to content

Commit

Permalink
Updated set declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
pditommaso committed May 30, 2017
1 parent e37b331 commit 3d79234
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ampa.nf
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,18 @@ log.info "Processing file: $fastaFile"
/*
* split the input fasta in single sequences and execute a AMPA job for it
*/
seq = Channel
.fromPath(fastaFile)
.splitFasta( record: [header:true, text: true] )

Channel
.fromPath(fastaFile)
.splitFasta( record: [header:true, text: true] )
.set { seq }

process ampa {
// defines the Input and Output
input:
set ( head, 'input.fa' ) from seq
set head, 'input.fa' from seq

output:
set ( head, stdout ) into ampaOut
set head, stdout into ampaOut

// The BASH script to be executed - for each - sequence
"""
Expand Down

0 comments on commit 3d79234

Please sign in to comment.