Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
56b1754
added aws and simplified plumbing
dhspence Apr 18, 2024
ae6d9d8
fixed rna samplesheet
dhspence Apr 18, 2024
48347dc
fixed annotate rna
dhspence Apr 18, 2024
e23decd
fixed annotate rna again
dhspence Apr 18, 2024
59f5454
updated input check
dhspence Apr 25, 2024
5a7677f
fixed config
dhspence Apr 25, 2024
b058de9
updated subwfs
dhspence Apr 29, 2024
79490ac
fixed check_sampleheet bug
dhspence Apr 29, 2024
b61f9b7
added rna annotation
dhspence May 7, 2024
0a16a52
cleaned up some
dhspence May 7, 2024
b4dc909
added align subworkflow
dhspence May 20, 2024
911f869
fixed bug in somatic
dhspence May 20, 2024
83ee5a7
fixed aws
dhspence May 24, 2024
258bb06
renamed to dragenflow
dhspence May 24, 2024
b69f243
renamed more files to dragenflow
dhspence May 24, 2024
d762819
added umi workflow
dhspence May 24, 2024
d732966
fixed somatic dragen
dhspence May 25, 2024
79dbdc6
fixed dux4 bug
dhspence May 25, 2024
424173b
fixed dux4 param bug
dhspence May 25, 2024
a09f896
fixed dux4
dhspence May 25, 2024
9b4b7be
updated fastqlist and align
dhspence May 25, 2024
8250bcf
Merge pull request #1 from dhslab/dhs-patch240525
dhspence May 25, 2024
1dbcf9e
updated stubs
dhspence May 25, 2024
70b6f1d
added rg rescue to make_fastqlist
dhspence May 25, 2024
4674afa
Merge pull request #2 from dhslab/dhs-patch240525
dhspence May 25, 2024
3db7205
updated config
dhspence May 26, 2024
f378523
updated dragen version and make_fastqlist
dhspence Sep 25, 2024
9466f20
added bigwig file generation to rnaseq
nidhidav Oct 15, 2024
fdb95af
cleaned up modules.config, fixed methylation wf errors
nidhidav Oct 17, 2024
fa3d94e
clean up files, added dragen args
nidhidav Dec 20, 2024
8c54404
updated README
nidhidav Dec 20, 2024
de178d4
added dragen exe path var
dhspence Dec 25, 2024
976fd50
added separate umi variable
dhspence Dec 25, 2024
f9bd2d8
removed redundant targeted sequencing varaible
dhspence Dec 25, 2024
18ad989
removed samplesheet check
dhspence Dec 25, 2024
e3f1a48
fixed dragen task
dhspence Dec 25, 2024
d673080
added nirvana annotation
dhspence Dec 25, 2024
4a4cbe3
added germline tagging = true
dhspence Dec 25, 2024
c144ecc
added cnv to targeted wf
dhspence Dec 26, 2024
f8d577a
added germline wf
dhspence Feb 1, 2025
1d957d3
fixed small bug in germline wf
dhspence Feb 1, 2025
55db423
commented out nirvana
dhspence Feb 1, 2025
27e56e8
minor update to config
dhspence Feb 1, 2025
4ca3829
fixed bug in aws container loading
dhspence Feb 1, 2025
a189fd4
added variant caller flag (oops)
dhspence Feb 2, 2025
6016f4f
added nirvana annotation back
dhspence Feb 3, 2025
051d365
added dropped vcaller to tumor wf
dhspence Feb 4, 2025
1757d92
added skip germline tagging
dhspence Feb 4, 2025
b1d39c2
added skip germline tagging correctly this time
dhspence Feb 4, 2025
a03f385
added back samplesheet check so mgi samplesheets will work
nidhidav Feb 14, 2025
cc81016
added stubs
dhspence Feb 22, 2025
d4c3b2d
fixed coordinates in dragen2bed
dhspence Feb 24, 2025
9f779db
Merge pull request #3 from dhslab/dhs-patch-250222
nidhidav Feb 24, 2025
e3ff585
fixing lint
nidhidav Feb 24, 2025
727e6fe
edited make_fastqlist.py to take UNKNOWN indexes
nidhidav Feb 26, 2025
d7715cb
modified scripts, containers, meth ref
nidhidav Feb 26, 2025
f51e976
updated file paths to s2
dhspence Apr 22, 2025
ac8ca2b
updated RGLB to work with UMIs
dhspence Apr 22, 2025
89fa76b
fixed variant detection mode for align only
dhspence Apr 22, 2025
c0e95ea
removed read trimmer from umi wf
dhspence Apr 22, 2025
43724cd
first commit
dhspence Nov 15, 2025
5533a0b
make dragen pars in conf, phase 1
dhspence Nov 15, 2025
0af9f47
progress on somatic gather fastq
dhspence Nov 17, 2025
672ea4a
updated confs
dhspence Nov 19, 2025
f220fa9
updated conf
dhspence Nov 19, 2025
a42407a
fixed dragen align
dhspence Nov 19, 2025
1d024f3
updated stub files
dhspence Nov 20, 2025
6e98ca6
updated vep tables
dhspence Nov 25, 2025
cc6649b
new configs
dhspence Dec 16, 2025
543e90e
updated rnaseq
dhspence Dec 16, 2025
a515bce
fixed dragen command for rna
dhspence Dec 16, 2025
b463107
updated hash
dhspence Dec 17, 2025
65fdccb
fixed hotspot channel
dhspence Dec 17, 2025
354f472
added read trimming and new stubs
dhspence Dec 29, 2025
60fd596
added pangenome reference option
dhspence Dec 29, 2025
f284fb6
added assets/data
dhspence Dec 29, 2025
91d48d0
fixed pangenome option
dhspence Dec 29, 2025
fc072d7
made all scripts executable
dhspence Dec 30, 2025
93a0ab1
made executable again
dhspence Dec 30, 2025
c482292
added multithreading to trim step
dhspence Jan 2, 2026
1f394ed
updated pangenome option for local dragen
dhspence Jan 4, 2026
d7eeb1b
fixed multi-sample somatic prep
dhspence Jan 4, 2026
e38a597
fixed channel bug in dragen align
dhspence Jan 4, 2026
aec7ae9
update tumor/normal samplesheet parsing
dhspence Feb 3, 2026
4044739
added support for nonstandard fastq header
dhspence Feb 3, 2026
64e36af
fixed tumoronlyheme bug
dhspence Feb 5, 2026
136d00e
fixed vep to tsv groovy
dhspence Feb 6, 2026
dfc44eb
added dragen pangenome flag to dragenaws profile
dhspence Mar 19, 2026
bfaa6f2
updated confs
dhspence May 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,8 @@ jobs:
if: ${{ always() }}
run: echo ${{ github.event.pull_request.number }} > PR_number.txt

- name: Upload linting log file artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: linting-logs
path: |
lint_log.txt
lint_results.md
PR_number.txt
name: my-artifact
path: ./path/to/artifact
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.nextflow*
work/
data/
results/
*results*/
.DS_Store
testing/
testing*
Expand Down
145 changes: 72 additions & 73 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,28 @@
# ![nf-core/dragenmultiworkflow](docs/images/nf-core-dragenmultiworkflow_logo_light.png#gh-light-mode-only) ![nf-core/dragenmultiworkflow](docs/images/nf-core-dragenmultiworkflow_logo_dark.png#gh-dark-mode-only)
# ![nf-core/dragenflow](docs/images/nf-core-dragenflow_logo_light.png#gh-light-mode-only) ![nf-core/dragenflow](docs/images/nf-core-dragenflow_logo_dark.png#gh-dark-mode-only)

[![GitHub Actions CI Status](https://github.com/nf-core/dragenmultiworkflow/workflows/nf-core%20CI/badge.svg)](https://github.com/nf-core/dragenmultiworkflow/actions?query=workflow%3A%22nf-core+CI%22)
[![GitHub Actions Linting Status](https://github.com/nf-core/dragenmultiworkflow/workflows/nf-core%20linting/badge.svg)](https://github.com/nf-core/dragenmultiworkflow/actions?query=workflow%3A%22nf-core+linting%22)[![AWS CI](https://img.shields.io/badge/CI%20tests-full%20size-FF9900?labelColor=000000&logo=Amazon%20AWS)](https://nf-co.re/dragenmultiworkflow/results)[![Cite with Zenodo](http://img.shields.io/badge/DOI-10.5281/zenodo.XXXXXXX-1073c8?labelColor=000000)](https://doi.org/10.5281/zenodo.XXXXXXX)
## Introduction

[![Nextflow](https://img.shields.io/badge/nextflow%20DSL2-%E2%89%A523.04.0-23aa62.svg)](https://www.nextflow.io/)
[![run with conda](http://img.shields.io/badge/run%20with-conda-3EB049?labelColor=000000&logo=anaconda)](https://docs.conda.io/en/latest/)
[![run with docker](https://img.shields.io/badge/run%20with-docker-0db7ed?labelColor=000000&logo=docker)](https://www.docker.com/)
[![run with singularity](https://img.shields.io/badge/run%20with-singularity-1d355c.svg?labelColor=000000)](https://sylabs.io/docs/)
[![Launch on Nextflow Tower](https://img.shields.io/badge/Launch%20%F0%9F%9A%80-Nextflow%20Tower-%234256e7)](https://tower.nf/launch?pipeline=https://github.com/nf-core/dragenmultiworkflow)
**nf-core/dragenflow** is a bioinformatics pipeline that runs a variety of dragen commands and workflows for downstream analysis

[![Get help on Slack](http://img.shields.io/badge/slack-nf--core%20%23dragenmultiworkflow-4A154B?labelColor=000000&logo=slack)](https://nfcore.slack.com/channels/dragenmultiworkflow)[![Follow on Twitter](http://img.shields.io/badge/twitter-%40nf__core-1DA1F2?labelColor=000000&logo=twitter)](https://twitter.com/nf_core)[![Follow on Mastodon](https://img.shields.io/badge/mastodon-nf__core-6364ff?labelColor=FFFFFF&logo=mastodon)](https://mstdn.science/@nf_core)[![Watch on YouTube](http://img.shields.io/badge/youtube-nf--core-FF0000?labelColor=000000&logo=youtube)](https://www.youtube.com/c/nf-core)
## Pipeline Summary:

## Introduction
all workflows:

- samplesheet check
- make fasqlists (from reads/crams/bams)
- concatenate fastqlists
- run dragen

rna downstream analysis:

- get sizes file and strandedness
- annotate rnaseq
- bedtools genomecov
- ucsc bedclip, bedgraph to bigwig

**nf-core/dragenmultiworkflow** is a bioinformatics pipeline that ...
tumor downstream analysis

- annotate small variants

<!-- TODO nf-core:
Complete this sentence with a 2-3 sentence summary of what types of data the pipeline ingests, a brief overview of the
Expand All @@ -25,17 +34,8 @@
workflows use the "tube map" design for that. See https://nf-co.re/docs/contributing/design_guidelines#examples for examples. -->
<!-- TODO nf-core: Fill in short bullet-pointed list of the default steps in the pipeline -->

1. Read QC ([`FastQC`](https://www.bioinformatics.babraham.ac.uk/projects/fastqc/))
2. Present QC for raw reads ([`MultiQC`](http://multiqc.info/))

## Usage

:::note
If you are new to Nextflow and nf-core, please refer to [this page](https://nf-co.re/docs/usage/installation) on how
to set-up Nextflow. Make sure to [test your setup](https://nf-co.re/docs/usage/introduction#how-to-run-a-pipeline)
with `-profile test` before running the workflow on actual data.
:::

<!-- TODO nf-core: Describe the minimum required steps to execute the pipeline, e.g. how to prepare samplesheets.
Explain what rows and columns represent. For instance (please edit as appropriate):

Expand All @@ -52,65 +52,64 @@ Each row represents a fastq file (single-end) or a pair of fastq files (paired e

-->

mgi samplesheet should be updated version, mastersheet should have the following columns:
sample_id,read1,read2,fastq_list,cram,bam
where sample_id is library name

Now, you can run the pipeline using:

<!-- TODO nf-core: update the following command to include all required parameters for a minimal example -->

```bash
nextflow run nf-core/dragenmultiworkflow \
-profile ris,<dragen2/dragen4> \
--mgi_samplesheet /path/to/mgi_samplesheet \
--input_dir /path/to/input_dir \
--master_sheet /path/to/master_sheet \
--outdir <OUTDIR> \
--workflow <rna/5mc/germline_wgs/tumor_normal>
```

:::warning
Please provide pipeline parameters via the CLI or Nextflow `-params-file` option. Custom config files including those
provided by the `-c` Nextflow option can be used to provide any configuration _**except for parameters**_;
see [docs](https://nf-co.re/usage/configuration#custom-configuration-files).
:::

For more details and further functionality, please refer to the [usage documentation](https://nf-co.re/dragenmultiworkflow/usage) and the [parameter documentation](https://nf-co.re/dragenmultiworkflow/parameters).

## Pipeline output

To see the results of an example test run with a full size dataset refer to the [results](https://nf-co.re/dragenmultiworkflow/results) tab on the nf-core website pipeline page.
For more details about the output files and reports, please refer to the
[output documentation](https://nf-co.re/dragenmultiworkflow/output).

## Credits

nf-core/dragenmultiworkflow was originally written by Nidhi.
### Samplesheet Format

We thank the following people for their extensive assistance in the development of this pipeline:

<!-- TODO nf-core: If applicable, make list of people who have also contributed -->

## Contributions and Support

If you would like to contribute to this pipeline, please see the [contributing guidelines](.github/CONTRIBUTING.md).

For further information or help, don't hesitate to get in touch on the [Slack `#dragenmultiworkflow` channel](https://nfcore.slack.com/channels/dragenmultiworkflow) (you can join with [this invite](https://nf-co.re/join/slack)).
> **If running with mgi samplesheet:**
>
> Pass flag --mgi true, and use Samplemap2.csv with the following columns:
>
> ```csv
> FASTQ Path - Read 1,FASTQ Path - Read 2,Flowcell ID,Index Sequence,Flowcell Lane,ESP ID,Pool Name,Species,Illumina Sample Type,Library Type,Library Name,Date Complete,Total Reads,Total Bases,Avg >Q Score Read 1,Avg Q Score Read 2,% >Q30 Read 1,% >Q30 Read 2,PhiX Error Rate Read 1,PhiX Error Rate Read 2,% Pass Filter Clusters Read 1,% Pass Filter Clusters Read 2
> ```
>
> **If running with custom samplesheet:**
>
> First column should be id, remaining columns are data type, or a combination of data types (read1,read2/bam/cram)
>
> Examples:
>
> ```csv
> id,read1,read2
> sample1,sample1_R1.fastq.gz,sample1_R1.fastq.gz
> sample2,sample2_R1.fastq.gz,sample2_R1.fastq.gz
> ```
>
> ```csv
> id,bam,cram
> sample1,,sample1.cram
> sample2,sample2.bam,
> ```

## Citations
### Run Command

<!-- TODO nf-core: Add citation for pipeline after first release. Uncomment lines below and update Zenodo doi and badge at the top of this file. -->
<!-- If you use nf-core/dragenmultiworkflow for your analysis, please cite it using the following doi: [10.5281/zenodo.XXXXXX](https://doi.org/10.5281/zenodo.XXXXXX) -->
> ```bash
> nextflow run dhslab/dragenflow -r dev \
> -profile ris,<dragen2/dragen4/dragenaws> \
> --input /path/to/samplesheet \
> --outdir <OUTDIR> \
> --workflow <rna/5mc/align/somatic/tumor/idtumis>
> ```

<!-- TODO nf-core: Add bibliography of tools and data used in your pipeline -->
### Optional Parameters

An extensive list of references for the tools used by the pipeline can be found in the [`CITATIONS.md`](CITATIONS.md) file.
> --dragen_args \<dragen arguments> : provides additional arguments in dragen command
>
> --mgi true : pass if mgi samplesheet is used
>
> -bucket-dir \<path to s3 bucket dir> : pass if aws is used

You can cite the `nf-core` publication as follows:
### AWS

> **The nf-core framework for community-curated bioinformatics pipelines.**
> run the following commands:
>
> nextflow secrets set AWS_ACCESS_KEY \<aws access key>
>
> nextflow secrets set AWS_SECRET_KEY \<aws secret key>
>
> export DRAGEN_USERNAME \<dragen username>
>
> export DRAGEN_PASSWORD \<dragen password>
>
> Philip Ewels, Alexander Peltzer, Sven Fillinger, Harshil Patel, Johannes Alneberg, Andreas Wilm, Maxime Ulysse Garcia, Paolo Di Tommaso & Sven Nahnsen.
> to check if secrets are set/exist in NXF_HOME, run:
>
> _Nat Biotechnol._ 2020 Feb 13. doi: [10.1038/s41587-020-0439-x](https://dx.doi.org/10.1038/s41587-020-0439-x).
> nextflow secrets list
Binary file added assets/blood_cancer_hotspots.vcf.gz
Binary file not shown.
Binary file added assets/blood_cancer_hotspots.vcf.gz.tbi
Binary file not shown.
8 changes: 8 additions & 0 deletions assets/data/dragen_adapter1.fa
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
>truseq1
AGATCGGAAGAGCACACGTCTGAACTCCAGTCA
>DNAprep1>
CTGTCTCTTATACACATCT
>PCRFree1
CTGTCTCTTATACACATCT
>TruseqV2_1
AGATCGGAAGAGCACACGTCTGAAC
8 changes: 8 additions & 0 deletions assets/data/dragen_adapter2.fa
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
>truseq2
AGATCGGAAGAGCGTCGTGTAGGGAAAGAGTGT
>DNAprep2>
CTGTCTCTTATACACATCT
>PCRFree2
ATGTGTATAAGAGACA
>TruseqV2_2
AGATCGGAAGAGCGTCGTGTAGGGA
Binary file added assets/data/hg38.cytoBandIdeo.bed.gz
Binary file not shown.
Binary file added assets/data/hg38.cytoBandIdeo.bed.gz.tbi
Binary file not shown.
107 changes: 0 additions & 107 deletions assets/dragen_scripts/DragenGermlineWGS.wdl

This file was deleted.

31 changes: 0 additions & 31 deletions assets/dragen_scripts/dragen_rna.sh

This file was deleted.

35 changes: 0 additions & 35 deletions assets/dragen_scripts/dragen_tumornormal_wgs.sh

This file was deleted.

Loading
Loading