nf-core Pipelines¶
Nextflow is a reactive workflow framework and programming DSL designed to simplify the creation of data-intensive computational pipelines.
Key characteristics:
- A workflow-oriented programming language built on Groovy/Java
- Particularly well-suited for complex, highly parallel bioinformatics pipelines
- Designed for ease of use
- Manages interaction with compute infrastructure, enabling execution across nearly any environment
nf-core is a community-driven initiative that maintains a curated collection of analysis pipelines built with Nextflow.
I built a web application on Open OnDemand that lets you:
- Select a pipeline
- Complete the launch form for that pipeline
- Submit the pipeline to the HTC cluster with your selected options
To get started:
Navigate to https://ondemand.htc.crc.pitt.edu
- Click Genomics Apps → nf-core pipelines

- Select a pipelne, for example, rnaseq 3.22.2, then click Launch

- Click Connect to Nextflow

- Complete the webform, then click "Launch Workflow".
Guidelines¶
- /ix1/bioinformatics/nf-core/nf-core-rnaseq serves as an example setup for nf-core rnaseq 3.22.2.
- Before running the pipeline, you'll need to create a samplesheet containing information about the samples you want to analyze. Provide the absolute path to this input file. As shown in the screenshot above, the samplesheet path used is /ix1/bioinformatics/nf-core/nf-core-rnaseq/samples.csv.
- The pipeline runs from the samplesheet's parent directory, and both -work-dir and outdir are relative to this path. In the example above, the parent path is /ix1/bioinformatics/nf-core/nf-core-rnaseq, making the working directory /ix1/bioinformatics/nf-core/nf-core-rnaseq/work and the output directory /ix1/bioinformatics/nf-core/nf-core-rnaseq/results.
- After clicking Launch, an nf-params.json file and a job.sbatch file will be generated in the parent directory. The job.sbatch file is then automatically submitted to run the nf-core pipeline.
- The default config file is /software/rhel9/manual/install/nf-core/pipelines/config/htc.config. Leaving -profile empty will use this default. Alternatively, you can create a custom config file and specify its absolute path in -profile. In the example screenshot, the config file used is /ix1/bioinformatics/nf-core/nf-core-rnaseq/htc.config, where clusterOptions has been modified to specify a particular Slurm account.
- All nf-core pipelines are located in /software/rhel9/manual/install/nf-core/pipelines/dec_2025.
nf-core/rnaseq¶
RNA sequencing analysis pipeline using STAR, RSEM, HISAT2 or Salmon with gene/isoform counts and extensive quality control.
- Logon ondemand.htc.crc.pitt.edu, Click Files -> Home Directory, Click Change directory and go to your bgfs or zfs folder. You can go to
/bgfs/genomics/fangping/nf-core-rnaseqto see an example.

Create a folder fastqs, and transfer your fastqs to this folder. 6 paired-end fastqs from GSE155987 have been downloaded to /bgfs/genomics/fangping/nf-core-rnaseq/fastqs.
Differential Gene Expression Analysis Reveals Global LMTK2 Regulatory Network and Its Role in TGF-β1 Signaling. Cruz DF, Mitash N, Mu F, Farinha CM, Swiatecka-Urban A. Front Oncol. 2021 Mar 18;11:596861. doi: 10.3389/fonc.2021.596861.
The raw fastqs files are within this folder.

- Samplesheet input
You will need to create a samplesheet file with information about the samples in your experiment before running the pipeline. Use this parameter to specify its location. It has to be a comma-separated file with 5 columns, and a header row specified in this documentation.
You can use editor on Open Ondemand to edit this file.

Keep a record of this samplesheet location. You can get its location from the header line of the above editor. For this example, this file is at /bgfs/genomics/fangping/nf-core-rnaseq/samples.csv
- Reference genome
Create a folder refs and download the reference genome for your samples. I have downloaded Ensembl homo sapiens GRCh38 primary assembly and Ensembl annotation version 103 to /bgfs/genomics/fangping/nf-core-rnaseq/refs

- Fill the launch form
Click Genomics Apps -> nf-core pipelines, choose rnaseq 2.0, click Launch, then click Connect to Nextflow
The input field is the absolute path to your sample sheet.

The minimum reference genome requirements are a FASTA and GTF file, all other files required to run the pipeline can be generated from these files. However, it is more storage and compute friendly if you are able to re-use reference genome files as efficiently as possible. It is recommended to change the save_reference parameter to be true if you are using the pipeline to build new indices.
fasta and gtf fields are the the absolute path to your fasta and gtf file.

If you are using the pipeline to build new indices, change save_reference to be True. The star index is available at /bgfs/genomics/fangping/nf-core-rnaseq/results/genome/index/star, and you can use this folder as input to star_index for future runs.

Choose the aligner and pseudo_aligner.

Adjust other parameters based on your data analysis goals. The meanings of these parameters are available here.
- Lauch workflow
When you are ready, click Launch workflow.

You can close this launch form. You will be notified by emails when your workflow begins and ends.
- Outputs
This document describes the output produced by the pipeline. For the above example, featurecounts.merged.counts.tsv is under /bgfs/genomics/fangping/nf-core-rnaseq/results/star/


Navigate to /bgfs/genomics/fangping/nf-core-rnaseq/results/salmon, you can find:
salmon.merged.gene_counts.tsv: Matrix of gene-level raw counts across all samples.
salmon.merged.gene_tpm.tsv: Matrix of gene-level TPM values across all samples.
salmon.merged.transcript_counts.tsv: Matrix of isoform-level raw counts across all samples.
salmon.merged.transcript_tpm.tsv: Matrix of isoform-level TPM values across all samples.
Navigate to /bgfs/genomics/fangping/nf-core-rnaseq/results/multiqc/star, and click multiqc\_report.html to open the multiqc results.


If you prefer to submit jobs through command line iapproach, use /bgfs/genomics/fangping/nf-core-rnaseq/job.sbatch, input.json as reference. Both files are automatically generated through the above web application.
nf-core/sarek¶
Analysis pipeline to detect germline or somatic variants (pre-processing, variant calling and annotation) from WGS / targeted sequencing. Initially designed for Human, and Mouse, it can work on any species with a reference genome. Sarek can also handle tumour / normal pairs and could include additional relapses.
TODO
nf-core/chipseq¶
ChIP-seq peak-calling, QC and differential analysis pipeline. nfcore/chipseq is a bioinformatics analysis pipeline used for Chromatin ImmunopreciPitation sequencing (ChIP-seq) data.
- Logon ondemand.htc.crc.pitt.edu, Click Files -> Home Directory, Click Change directory and go to your bgfs or zfs folder. Test data are in the folder /bgfs/genomics/fangping/nf-core-chipseq/tf and /bgfs/genomics/fangping/nf-core-chipseq/histone

- H. Sapiens single-end ChIP-seq dataset was obtained from 2 separate studies.
Transcription factor data
Pubmed, GEO (Input samples: SRR1635435 - SRR1635438, samples: SRR1635459 - SRR1635462)
I have downloaded these data to /bgfs/genomics/fangping/nf-core-chipseq/tf/fastqs

Broad histone data
Pubmed, GEO (samples: SRR1285070 - SRR1285073, Input samples: SRR1285074 - SRR1285077)
I have downloaded these data to /bgfs/genomics/fangping/nf-core-chipseq/histone/fastqs
- Samplesheet input file
You will need to create a design file with information about the samples in your experiment before running the pipeline. Use this parameter to specify its location. It has to be a comma-separated file with 6 columns, and a header row contains the following columns.
group,replicate,fastq_1,fastq_2,antibody,control


- Fill the launch form
Click Genomics Apps -> nf-core pipelines, choose chipseq 1.2.1, click Launch, then click Connect to Nextflow
Transcription factor data¶
The input field is the absolute path to your sample sheet. Choose single_end to be True.

These are human data. We used hg38 as reference genome. You can also provide the absolute path to fasta and gtf files.

Run MACS2 in narrowPeak mode because these are transcription factor data.

Click Launch workflow.

Histone Data
The input field is the absolute path to your sample sheet. Choose single_end to be True.

These are human data. We used hg38 as reference genome.

Run MACS2 in broadPeak mode because these are histone data.

Click Launch workflow.

- Outputs
This document describes the output produced by the pipeline. Navigate to /bgfs/genomics/fangping/nf-core-chipseq/tf/results and /bgfs/genomics/fangping/nf-core-chipseq/histone/results to read the results.

Navigate to /bgfs/genomics/fangping/nf-core-chipseq/tf/results/multiqc/narrowPeak and /bgfs/genomics/fangping/nf-core-chipseq/histone/results/multiqc/broadPeak to go through the multiqc report.

Click multiqc_report.html to open the report.

nf-core/atacseq¶
ATAC-seq peak-calling, QC and differential analysis pipeline. nfcore/atacseq is a bioinformatics analysis pipeline used for ATAC-seq data.
- Logon ondemand.htc.crc.pitt.edu, Click Files -> Home Directory, Click Change directory and go to your bgfs or zfs folder. ATACseq test data are in the folder
/bgfs/genomics/fangping/nf-core-atacseq

- Within the fastqs folder, I have downloaded 6 samples from this paper.

- Samplesheet input file
You will need to create a design file with information about the samples in your experiment before running the pipeline. Use this parameter to specify its location. It has to be a comma-separated file with 4 columns.
group,replicate,fastq_1,fastq_2
Example samplesheet is at /bgfs/genomics/fangping/nf-core-atacseq/input.tsv

- Fill the launch form
Click Genomics Apps -> nf-core pipelines, choose atacseq 1.2.1, click Launch, then click Connect to Nextflow
The input field is the absolute path to your sample sheet.

These are human data. We used hg38 as reference genome. You can also provide the absolute path to fasta and gtf files.

Run MACS2 in narrowPeak mode.

- Click Launch workflow.

- Outputs
This document describes the output produced by the pipeline. Navigate to /bgfs/genomics/fangping/nf-core-atacseq/results to read the results.

Navigate to /bgfs/genomics/fangping/nf-core-atacseq/results/multiqc/narrowPeak to go through the multiqc report.

Click multiqc_report.html to open the report.

nf-core/mag¶
Assembly and binning of metagenomes. nf-core/mag is a bioinformatics best-practise analysis pipeline for assembly, binning, and annotation of metagenomes.
By default, the pipeline currently performs the following: it supports both short and long reads, quality trims the reads and adapters with fastp and Porechop, and performs basic QC with FastQC. The pipeline then:
- assigns taxonomy to reads using Centrifuge and/or Kraken2
- performs assembly using MEGAHIT and SPAdes, and checks their quality using Quast
- performs metagenome binning using MetaBAT2, and checks the quality of the genome bins using Busco
- assigns taxonomy to bins using GTDB-Tk and/or CAT
Furthermore, the pipeline creates various reports in the results directory specified, including a MultiQC report summarizing some of the findings and software versions.

- Logon ondemand.htc.crc.pitt.edu, Click Files -> Home Directory, Click Change directory and go to your bgfs or zfs folder. Test data for mag is in the folder /bgfs/genomics/fangping/nf-core-mag

- Within the fastqs folder, I have downloaded the gut metagenome data of antibiotic-treated patients originating from Bertrand et al. Nature Biotechnology (2019). Three samples have been used. Note that sequencing data for the 3 samples have both Illumina and ONT reads.
SAMPLE
ILLUMINA READS: ENA ID
ONT READs: ENA ID
CAPES_S7
ERR3201914
ERR3201938
CAPES_S11
ERR3201918
ERR3201942
CAPES_S21
ERR3201928
ERR3201952

- Samplesheet input file
To assign different groups or to include long reads for hybrid assembly with metaSPAdes, you can specify a CSV samplesheet input file that contains the paths to your FASTQ files and additional metadata.
This CSV file should contain the following columns:
sample,group,short_reads_1,short_reads_2,long_reads
The path to long_reads and short_reads_2 is optional. Example samplesheet is at /bgfs/genomics/fangping/nf-core-mag/samples.csv

- Fill the launch form
Click Genomics Apps -> nf-core pipelines, choose mag 2.0.0, click Launch, then click Connect to Nextflow
The input field is the absolute path to your sample sheet.

I have kept all other options as default values. Note that Taxonomic classification is disabled by default. cat_db, centrifuge_db and kraken2_db are available under /bgfs/genomics/refs/metagenome_refs

- Lauch workflow
When you are ready, click Launch workflow.
- Outputs
This document describes the output produced by the pipeline. Navigate to /bgfs/genomics/fangping/nf-core-mag/results to read the results.

Navigate to /bgfs/genomics/fangping/nf-core-mag/results/multiqc to view the multiqc results.

Click multiqc_report.html to read the multiqc report.
