We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi! I'd like if, instead of accessing output channels from import processes in DSL2 as a list, the output channels could be accessed by a map.
You have a process with multiple output channels e.g.
output: set val(sample_name), file('*_trimmed.fastq') set val('trimmed'), file('*_trimmed.fastq') file '*.log'
Accessing these as process_x[0], [1], [2].. is not clear what is being accessed.
process_x[0], [1], [2]..
Alternatively
output: set val(sample_name), file('*_trimmed.fastq') as named_fastq set val('trimmed'), file('*_trimmed.fastq') as flagged_fastq file '*.log' as logs
Accessing these as process_x['named_fastq'], process_x['logs']
process_x['named_fastq'], process_x['logs']
into
as
The text was updated successfully, but these errors were encountered:
Yes, I was brainstorming on something similar. Like the idea of using as to associate a name to the output.
Sorry, something went wrong.
Closed in favour of #1290.
No branches or pull requests
Named output channels in DSL-2
Hi! I'd like if, instead of accessing output channels from import processes in DSL2 as a list, the output channels could be accessed by a map.
Usage scenario
You have a process with multiple output channels e.g.
Accessing these as
process_x[0], [1], [2]..
is not clear what is being accessed.Alternatively
Accessing these as
process_x['named_fastq'], process_x['logs']
Suggest implementation
into
or useas
)The text was updated successfully, but these errors were encountered: