<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.bwhpc.de/wiki/index.php?action=history&amp;feed=atom&amp;title=BinAC2%2FSoftware%2FNextflow</id>
	<title>BinAC2/Software/Nextflow - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.bwhpc.de/wiki/index.php?action=history&amp;feed=atom&amp;title=BinAC2%2FSoftware%2FNextflow"/>
	<link rel="alternate" type="text/html" href="https://wiki.bwhpc.de/wiki/index.php?title=BinAC2/Software/Nextflow&amp;action=history"/>
	<updated>2026-05-13T23:53:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://wiki.bwhpc.de/wiki/index.php?title=BinAC2/Software/Nextflow&amp;diff=14859&amp;oldid=prev</id>
		<title>F Bartusch: /* nf-core Pipelines */</title>
		<link rel="alternate" type="text/html" href="https://wiki.bwhpc.de/wiki/index.php?title=BinAC2/Software/Nextflow&amp;diff=14859&amp;oldid=prev"/>
		<updated>2025-05-16T13:24:36Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;nf-core Pipelines&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:24, 16 May 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 125:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 125:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You should always specify two directories when running the pipeline to ensure you know exactly where the results are stored.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You should always specify two directories when running the pipeline to ensure you know exactly where the results are stored.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;One is &amp;lt;code&amp;gt;outdir&amp;lt;/code&amp;gt;, which is where Nextflow stores the final pipeline results.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;One is &amp;lt;code&amp;gt;outdir&amp;lt;/code&amp;gt;, which is where Nextflow stores the final pipeline results.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The other is &amp;lt;code&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;workdir&lt;/del&gt;&amp;lt;/code&amp;gt;, where Nextflow stores intermediate results and job scripts. Please set a working directory on either the &amp;lt;code&amp;gt;work&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;project&amp;lt;/code&amp;gt; file system. Otherwise, it may clutter the backed-up home directory.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The other is &amp;lt;code&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;work-dir&lt;/ins&gt;&amp;lt;/code&amp;gt;, where Nextflow stores intermediate results and job scripts. Please set a working directory on either the &amp;lt;code&amp;gt;work&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;project&amp;lt;/code&amp;gt; file system. Otherwise, it may clutter the backed-up home directory.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!-- TODO: Difference - and --arguments --&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!-- TODO: Difference - and --arguments --&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;nextflow run nf-core/hlatyping -profile binac2,test --outdir &amp;lt;your output directory&amp;gt; -&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;workdir&lt;/del&gt; &amp;lt;your work diretory&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;nextflow run nf-core/hlatyping -profile binac2,test --outdir &amp;lt;your output directory&amp;gt; -&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;work-dir&lt;/ins&gt; &amp;lt;your work diretory&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!-- TODO add screenshot --&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!-- TODO add screenshot --&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>F Bartusch</name></author>
	</entry>
	<entry>
		<id>https://wiki.bwhpc.de/wiki/index.php?title=BinAC2/Software/Nextflow&amp;diff=14757&amp;oldid=prev</id>
		<title>F Bartusch: Created page with &quot;= Description =   Nextflow is a scientific workflow system primarily used for bioinformatics data analysis. This documentation also introduces nf-core, a community-driven initiative that maintains a curated collection of analysis pipelines built with Nextflow.  The documentation in the bwHPC Wiki serves as a getting-started guide for installing and using both Nextflow and nf-core pipelines on the bwForCluster BinAC 2. Additionally, [https://nf-co.re/pipelines/ the nf-cor...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.bwhpc.de/wiki/index.php?title=BinAC2/Software/Nextflow&amp;diff=14757&amp;oldid=prev"/>
		<updated>2025-04-16T15:20:05Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Description =   Nextflow is a scientific workflow system primarily used for bioinformatics data analysis. This documentation also introduces nf-core, a community-driven initiative that maintains a curated collection of analysis pipelines built with Nextflow.  The documentation in the bwHPC Wiki serves as a getting-started guide for installing and using both Nextflow and nf-core pipelines on the bwForCluster BinAC 2. Additionally, [https://nf-co.re/pipelines/ the nf-cor...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Description = &lt;br /&gt;
&lt;br /&gt;
Nextflow is a scientific workflow system primarily used for bioinformatics data analysis. This documentation also introduces nf-core, a community-driven initiative that maintains a curated collection of analysis pipelines built with Nextflow.&lt;br /&gt;
&lt;br /&gt;
The documentation in the bwHPC Wiki serves as a getting-started guide for installing and using both Nextflow and nf-core pipelines on the bwForCluster BinAC 2. Additionally, [https://nf-co.re/pipelines/ the nf-core documentation] provides an overview of the available pipelines.&lt;br /&gt;
The [https://nf-co.re/pipelines/ nf-core documentation] provides an overview of available pipelines.&lt;br /&gt;
&lt;br /&gt;
Please note that this documentation does not cover how to develop your own pipelines. For that, refer to the official [https://www.nextflow.io/docs/latest/index.html Nextflow documentation].&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
We recommend installing Nextflow using [[BinAC/Software/Conda | Conda]]. &lt;br /&gt;
&lt;br /&gt;
== Install Nextflow ==&lt;br /&gt;
&lt;br /&gt;
The following commands will create a new Conda environment and install Nextflow in it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Load Miniforge and create a Conda environment with Nextflow pre-installed&lt;br /&gt;
module load devel/miniforge&lt;br /&gt;
conda create --name nextflow nextflow&lt;br /&gt;
conda activate nextflow&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Update Nextflow == &lt;br /&gt;
&lt;br /&gt;
You can also update Nextflow if it is already installed in your environment by running the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load devel/miniforge&lt;br /&gt;
conda activate nextflow&lt;br /&gt;
conda update nextflow&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Specific Nextflow version ==&lt;br /&gt;
&lt;br /&gt;
You may want to install a specific version of Nextflow if your pipeline was developed some time ago with an older version in mind.&lt;br /&gt;
In this example, we will install Nextflow version 20.07:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load devel/miniforge&lt;br /&gt;
conda create --name nextflow_20.07 nextflow=20.07&lt;br /&gt;
conda activate nextflow_20.07&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
&lt;br /&gt;
There are some BinAC 2-specific configurations that you may want to use.&lt;br /&gt;
&lt;br /&gt;
== BinAC 2 Nextflow profile ==&lt;br /&gt;
&lt;br /&gt;
Nextflow configuration files can define one or more profiles, which instruct Nextflow on how to execute pipeline processes on specific systems, such as HPC clusters.&lt;br /&gt;
The nf-core project maintains a collection of these profiles, including a binac2 profile that runs your pipeline as SLURM jobs on BinAC 2.&lt;br /&gt;
&lt;br /&gt;
=== nf-core pipelines ===&lt;br /&gt;
&lt;br /&gt;
If you are using an nf-core pipeline, you can specify the profile with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nextflow run &amp;lt;pipeline&amp;gt; -profile binac2,&amp;lt;other profiles&amp;gt; [...]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Other Nextflow pipelines ===&lt;br /&gt;
&lt;br /&gt;
If you are writing your own pipeline or using one that is not based on nf-core, you will need to manually include the nf-core profiles in the pipeline configuration.&lt;br /&gt;
Add the following to your &amp;lt;code&amp;gt;nextflow.config&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
params {&lt;br /&gt;
      [...]&lt;br /&gt;
      custom_config_version      = &amp;#039;master&amp;#039;&lt;br /&gt;
      custom_config_base         = &amp;quot;https://raw.githubusercontent.com/nf-core/configs/${params.custom_config_version}&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
[...]&lt;br /&gt;
// Load nf-core custom profiles from different Institutions&lt;br /&gt;
includeConfig !System.getenv(&amp;#039;NXF_OFFLINE&amp;#039;) &amp;amp;&amp;amp; params.custom_config_base ? &amp;quot;${params.custom_config_base}/nfcore_custom.config&amp;quot; : &amp;quot;/dev/null&amp;quot;&lt;br /&gt;
&lt;br /&gt;
// Load nf-core/demo custom profiles from different institutions.&lt;br /&gt;
// nf-core: Optionally, you can add a pipeline-specific nf-core config at https://github.com/nf-core/configs&lt;br /&gt;
includeConfig !System.getenv(&amp;#039;NXF_OFFLINE&amp;#039;) &amp;amp;&amp;amp; params.custom_config_base ? &amp;quot;${params.custom_config_base}/pipeline/demo.config&amp;quot; : &amp;quot;/dev/null&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, your pipeline should be able to find the &amp;lt;code&amp;gt;binac2&amp;lt;/code&amp;gt; profile, and you can run the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nextflow run &amp;lt;pipeline&amp;gt; -profile binac2,&amp;lt;other profiles&amp;gt; [...]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Apptainer ==&lt;br /&gt;
&lt;br /&gt;
Nextflow uses either Conda packages or container images to deploy tools in a pipeline. On BinAC 2, Apptainer is installed on every node, and the &amp;lt;code&amp;gt;binac2&amp;lt;/code&amp;gt; profile automatically enables Apptainer and specifies a cache directory for your images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apptainer {&lt;br /&gt;
    enabled      = true&lt;br /&gt;
    autoMounts   = true&lt;br /&gt;
    pullTimeout  = &amp;#039;120m&amp;#039;&lt;br /&gt;
    cacheDir     = &amp;quot;/pfs/10/project/apptainer_cache/${USER}&amp;quot;&lt;br /&gt;
    envWhitelist = &amp;#039;CUDA_VISIBLE_DEVICES&amp;#039;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
&lt;br /&gt;
Nextflow pipelines do not run in the background by default, so it&amp;#039;s recommended to use a terminal multiplexer (such as &amp;lt;code&amp;gt;screen&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;tmux&amp;lt;/code&amp;gt;) on the login node when running a pipeline. Terminal multiplexers allow you to have multiple windows within a single terminal. The advantage of using them for running Nextflow pipelines is that you can detach from the terminal and later reattach to check on the pipeline’s progress. This ensures the pipeline continues to run even if you disconnect from the cluster, as the detached session will keep running.&lt;br /&gt;
&lt;br /&gt;
Start a screen session:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
screen&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since this is a new terminal session, you will need to load the Conda environment again.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load devel/miniforge&lt;br /&gt;
conda activate nextflow&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== nf-core Pipelines ==&lt;br /&gt;
&lt;br /&gt;
If you plan to use an nf-core pipeline, please run it once with the &amp;lt;code&amp;gt;test&amp;lt;/code&amp;gt; profile.&lt;br /&gt;
This will download the pipeline, execute it, and pull all the required containers into the Apptainer cache.&lt;br /&gt;
&lt;br /&gt;
You should always specify two directories when running the pipeline to ensure you know exactly where the results are stored.&lt;br /&gt;
One is &amp;lt;code&amp;gt;outdir&amp;lt;/code&amp;gt;, which is where Nextflow stores the final pipeline results.&lt;br /&gt;
The other is &amp;lt;code&amp;gt;workdir&amp;lt;/code&amp;gt;, where Nextflow stores intermediate results and job scripts. Please set a working directory on either the &amp;lt;code&amp;gt;work&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;project&amp;lt;/code&amp;gt; file system. Otherwise, it may clutter the backed-up home directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- TODO: Difference - and --arguments --&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nextflow run nf-core/hlatyping -profile binac2,test --outdir &amp;lt;your output directory&amp;gt; -workdir &amp;lt;your work diretory&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;!-- TODO add screenshot --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As mentioned, the pipeline runs in a screen session.&lt;br /&gt;
You can detach from the screen session, and the pipeline will continue to run.&lt;br /&gt;
The keyboard shortcut for detaching is &amp;lt;code&amp;gt;CTRL&amp;lt;/code&amp;gt; + &amp;lt;code&amp;gt;c&amp;lt;/code&amp;gt;, followed by &amp;lt;code&amp;gt;d&amp;lt;/code&amp;gt;.&lt;br /&gt;
This means you press the &amp;lt;code&amp;gt;CTRL&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;c&amp;lt;/code&amp;gt; keys simultaneously, then release them and press &amp;lt;code&amp;gt;d&amp;lt;/code&amp;gt;.&lt;br /&gt;
You should now be detached from the screen session and back in your login terminal.&lt;br /&gt;
&amp;lt;!--TODO add screenshot--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
While in your login terminal (or another window within your screen session), you can observe that Nextflow has submitted a job to the cluster for each pipeline process execution.&lt;br /&gt;
Your output may differ, but it should show some pipeline jobs whose names begin with &amp;lt;code&amp;gt;nf-NFCORE&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[tu_iioba01@login03 ~]$ squeue -u $USER&lt;br /&gt;
             JOBID PARTITION     NAME     USER ST       TIME  NODES NODELIST(REASON)&lt;br /&gt;
            162040   compute nf-NFCOR tu_iioba PD       0:00      1 (None)&lt;br /&gt;
            162039   compute nf-NFCOR tu_iioba  R       0:01      1 node1-083&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, we return to the Nextflow process in the screen session where the pipeline is running.&lt;br /&gt;
You can list your screen sessions and their IDs with the command &amp;lt;code&amp;gt;screen -ls&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
(nf-core) [tu_iioba01@login03 nextflow_tests]$ screen -ls&lt;br /&gt;
There is a screen on:&lt;br /&gt;
        &amp;lt;screen session ID&amp;gt;.pts-2.login03     (Detached)&lt;br /&gt;
1 Socket in /var/run/screen/S-tu_iioba01.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there is only one screen session, you can reattach using the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
screen -r&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, you will need to specify the screen session ID:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
screen -r &amp;lt;screen session ID&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can monitor the pipeline&amp;#039;s execution progress. The &amp;lt;code&amp;gt;test&amp;lt;/code&amp;gt; profile typically runs for less than 10 minutes. In the end, it should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
-[nf-core/hlatyping] Pipeline completed successfully-&lt;br /&gt;
Completed at: 16-Apr-2025 16:18:26&lt;br /&gt;
Duration    : 9m 16s&lt;br /&gt;
CPU hours   : 0.4&lt;br /&gt;
Succeeded   : 7&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The test run was successful. You can now run the pipeline with your own data.&lt;br /&gt;
&lt;br /&gt;
== Run nf-core pipeline with your own data ==&lt;br /&gt;
&lt;br /&gt;
Typically, you specify your input files for nf-core pipelines in a samplesheet and run the pipeline with the parameter &amp;lt;code&amp;gt;--input &amp;lt;your samplesheet&amp;gt;&amp;lt;/code&amp;gt;. You can also override any nf-core pipeline default settings according to your needs by using a custom configuration file. For more information, please refer to the [https://nf-co.re/pipelines/ pipelines&amp;#039; documentation].&lt;br /&gt;
&lt;br /&gt;
As usual, you can contact [https://wiki.bwhpc.de/e/BinAC/Support BinAC support ] if you have any problems or questions.&lt;/div&gt;</summary>
		<author><name>F Bartusch</name></author>
	</entry>
</feed>