Vai al contenuto

Hello Nextflow Quiz

Great stuff, you've completed all of the training material in Hello Nextflow! But, did it stick?

Test yourself with the quiz below to see how many Nextflow fundamentals you can remember :think:

Part 1: Hello World

#

What is the minimum requirement for a Nextflow process?

#

What does the output block in a process do?

#

What command is used to run a Nextflow workflow?

#

What is stored in the work/ directory?

#

What does the -resume flag do?

#

What is the default mode for the publishDir directive?

#

How do you pass a parameter to a Nextflow workflow from the command line?

#

Which quote type is required for variable interpolation in Nextflow?

Part 2: Hello Channels

#

What is a channel in Nextflow?

#

Which channel factory creates a simple queue channel with values?

#

What happens when you pass a channel with multiple values to a process?

#

What does the flatten() operator do?

#

What is the purpose of the view() operator?

#

What does the splitCsv() operator do?

#

Which operator transforms channel contents element-by-element?

#

Why do you need dynamic filenames when processing multiple inputs?

Part 3: Hello Workflow

#

How do you access the output of a process in Nextflow?

#

What determines the execution order of processes in a workflow?

#

What does the collect() operator do?

#

When should you use the collect() operator?

#

How do you access named outputs from a process?

#

What is the syntax for naming a process output?

#

When passing multiple inputs to a process, what must match?

Part 4: Hello Modules

#

What is a Nextflow module?

#

What is the recommended filename convention for modules?

#

Where should module files typically be stored?

#

What is the correct syntax to import a module?

#

What happens to resume functionality when you convert processes to modules?

#

What are key benefits of using modules?

Part 5: Hello Containers

#

What is a container?

#

What is the difference between a container image and instance?

#

What does the -v flag do in Docker?

#

Why do you need to mount volumes when using containers?

#

How do you specify a container for a Nextflow process?

#

How do you enable Docker in a Nextflow workflow?

#

What does Nextflow automatically do when using containers?

Part 6: Hello Config

#

What file does Nextflow automatically load for configuration?

#

What is the configuration precedence in Nextflow?

#

Can you enable both Docker and Conda in the same configuration?

#

What happens when both Docker and Conda are enabled for a process that has both directives?

#

What is the default memory allocation for a Nextflow process?

#

How do you set resources for a specific process in the config?

#

What command generates a resource profiling report?

#

What is the purpose of resourceLimits in the configuration?

#

What is the default executor in Nextflow?

#

How do you use a parameter file with Nextflow?

#

What can profiles be used for in Nextflow?

#

How do you use multiple profiles simultaneously?

General Concepts

#

Which of these is part of the Nextflow language?

#

What does DSL2 refer to?

#

What is the shebang required for Nextflow scripts?

#

What is the naming convention for process names in DSL2?

#

Which tool can generate container images from Conda packages?

#

What type of quotes should be used for multi-line script blocks?

#

What is the file extension for Nextflow scripts?

#

Which files in the work directory are useful for debugging? (Select all that apply)

#

What happens if you use single quotes for a string that needs variable interpolation?

#

What does the nextflow clean command do?