You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal of this enhancement is to implement the ability to associate a custom name to each output channel declared in the process definition.
For example:
process foo {
output:
set val(sample_name), file('*_trimmed.fastq'), emit: named_fastq
set val('trimmed'), file('*_trimmed.fastq'), emit: flagged_fastq
file '*.log', emit: logs
"""
command_here
"""
}
Using the above syntax the emit: option allows the association of a name that can be used to reference the channel output once the process has been invoked. For example:
This is similar to the request made by #1181, however, the use of as is discouraged because is a groovy lang keyword. Moreover the use of emit: is consistent with the new workflow output syntax definition #1276.
The text was updated successfully, but these errors were encountered:
The goal of this enhancement is to implement the ability to associate a custom name to each output channel declared in the process definition.
For example:
Using the above syntax the
emit:
option allows the association of a name that can be used to reference the channel output once the process has been invoked. For example:This is similar to the request made by #1181, however, the use of
as
is discouraged because is a groovy lang keyword. Moreover the use ofemit:
is consistent with the new workflow output syntax definition #1276.The text was updated successfully, but these errors were encountered: