Skip to content

Commit 631d155

Browse files
authored
Merge pull request #70 from YiJin-Xiong/YiJin-Xiong-patch-2
Update V2.0.0
2 parents 0a52776 + 44c35ca commit 631d155

File tree

133 files changed

+3391
-1344
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+3391
-1344
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- "--reset"
4242
- "--skip_snvs"
4343
- "--haplotype_dmrer dss"
44-
- "--m6a"
44+
- "--fiberseq"
4545
profile:
4646
#- "conda"
4747
- "docker"

.nf-test.log

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Oct-30 15:30:57.200 [main] INFO com.askimed.nf.test.App - nf-test 0.9.3
2+
Oct-30 15:30:57.219 [main] INFO com.askimed.nf.test.App - Arguments: [test, tests/default.nf.test, --profile=+singularity, --updateSnapshot]
3+
Oct-30 15:30:58.828 [main] INFO com.askimed.nf.test.App - Nextflow Version: 25.04.2
4+
Oct-30 15:30:58.832 [main] INFO com.askimed.nf.test.commands.RunTestsCommand - Load config from file /dss/dsslegfs01/pn73so/pn73so-dss-0000/becker_common/Jin/methylong_pull_request/PR_v2/methylong/nf-test.config...
5+
Oct-30 15:31:00.162 [main] INFO com.askimed.nf.test.lang.dependencies.DependencyResolver - Loaded 68 files from directory /dss/dsslegfs01/pn73so/pn73so-dss-0000/becker_common/Jin/methylong_pull_request/PR_v2/methylong in 0.755 sec
6+
Oct-30 15:31:00.163 [main] INFO com.askimed.nf.test.lang.dependencies.DependencyResolver - Found 1 files containing tests.
7+
Oct-30 15:31:00.164 [main] DEBUG com.askimed.nf.test.lang.dependencies.DependencyResolver - Found files: [/dss/dsslegfs01/pn73so/pn73so-dss-0000/becker_common/Jin/methylong_pull_request/PR_v2/methylong/tests/default.nf.test]
8+
Oct-30 15:31:00.721 [main] INFO com.askimed.nf.test.commands.RunTestsCommand - Found 1 tests to execute.
9+
Oct-30 15:31:00.722 [main] INFO com.askimed.nf.test.core.TestExecutionEngine - Started test plan
10+
Oct-30 15:31:00.723 [main] INFO com.askimed.nf.test.core.TestExecutionEngine - Running testsuite 'Test pipeline' from file '/dss/dsslegfs01/pn73so/pn73so-dss-0000/becker_common/Jin/methylong_pull_request/PR_v2/methylong/tests/default.nf.test'.
11+
Oct-30 15:31:00.723 [main] INFO com.askimed.nf.test.core.TestExecutionEngine - Run test '4a8ebd5b: -profile test'. type: com.askimed.nf.test.lang.pipeline.PipelineTest
12+
Oct-30 15:44:15.752 [main] DEBUG com.askimed.nf.test.lang.extensions.SnapshotFile - Load snapshots from file '/dss/dsslegfs01/pn73so/pn73so-dss-0000/becker_common/Jin/methylong_pull_request/PR_v2/methylong/tests/default.nf.test.snap'
13+
Oct-30 15:44:16.017 [main] DEBUG com.askimed.nf.test.lang.extensions.Snapshot - Snapshots '-profile test' do not match. Update snapshots flag set.
14+
Oct-30 15:44:16.017 [main] DEBUG com.askimed.nf.test.lang.extensions.SnapshotFile - Updated snapshot '-profile test'
15+
Oct-30 15:44:16.235 [main] DEBUG com.askimed.nf.test.lang.extensions.SnapshotFile - Wrote snapshots to file '/dss/dsslegfs01/pn73so/pn73so-dss-0000/becker_common/Jin/methylong_pull_request/PR_v2/methylong/tests/default.nf.test.snap'
16+
Oct-30 15:44:16.236 [main] INFO com.askimed.nf.test.core.TestExecutionEngine - Test '4a8ebd5b: -profile test' finished. status: PASSED
17+
Oct-30 15:44:16.239 [main] INFO com.askimed.nf.test.core.TestExecutionEngine - Testsuite 'Test pipeline' finished. snapshot file: true, skipped tests: false, failed tests: false
18+
Oct-30 15:44:16.242 [main] INFO com.askimed.nf.test.core.TestExecutionEngine - Executed 1 tests. 0 tests failed. Done!
Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
1+
[{
2+
"id": "nft-fasta",
3+
"latest": "1.0.0",
4+
"url": "https://github.com/askimed/nft-fasta",
5+
"github": "askimed/nft-fasta",
6+
"description": "Provides support for FASTA files.",
7+
"author": "Lukas Forer",
8+
"keywords": [],
9+
"releases": [{
10+
"version": "1.0.0",
11+
"url": "https://github.com/askimed/nft-fasta/releases/download/v1.0.0/nft-fasta-1.0.0.jar"
12+
}]
13+
},{
14+
"id": "nft-vcf",
15+
"latest": "1.0.7",
16+
"url": "https://github.com/seppinho/nft-vcf",
17+
"github": "seppinho/nft-vcf",
18+
"description": "Provides support for VCF files.",
19+
"author": "Sebastian Schönherr",
20+
"keywords": [],
21+
"releases": [{
22+
"version": "1.0.2",
23+
"url": "https://github.com/seppinho/nft-vcf/releases/download/v1.0.2/nft-vcf-1.0.2-jar-with-dependencies.jar"
24+
},{
25+
"version": "1.0.4",
26+
"url": "https://github.com/seppinho/nft-vcf/releases/download/v1.0.4/nft-vcf-1.0.4.jar"
27+
},{
28+
"version": "1.0.5",
29+
"url": "https://github.com/seppinho/nft-vcf/releases/download/v1.0.5/nft-vcf-1.0.5.jar"
30+
},{
31+
"version": "1.0.6",
32+
"url": "https://github.com/seppinho/nft-vcf/releases/download/v1.0.6/nft-vcf-1.0.6.jar"
33+
},{
34+
"version": "1.0.7",
35+
"url": "https://github.com/seppinho/nft-vcf/releases/download/v1.0.7/nft-vcf-1.0.7.jar"
36+
}]
37+
},{
38+
"id": "nft-bam",
39+
"latest": "0.6.0",
40+
"url": "https://nvnieuwk.github.io/nft-bam",
41+
"github": "nvnieuwk/nft-bam",
42+
"description": "Provides some helper functionality for handling SAM/BAM/CRAM files during tests",
43+
"author": "Nicolas Vannieuwkerke",
44+
"keywords": [],
45+
"releases": [{
46+
"version": "0.1.0",
47+
"url": "https://github.com/nvnieuwk/nft-bam/releases/download/0.1.0/nft-bam-0.1.0.jar"
48+
},{
49+
"version": "0.1.1",
50+
"url": "https://github.com/nvnieuwk/nft-bam/releases/download/0.1.1/nft-bam-0.1.1.jar"
51+
},{
52+
"version": "0.2.0",
53+
"url": "https://github.com/nvnieuwk/nft-bam/releases/download/0.2.0/nft-bam-0.2.0.jar"
54+
},{
55+
"version": "0.3.0",
56+
"url": "https://github.com/nvnieuwk/nft-bam/releases/download/0.3.0/nft-bam-0.3.0.jar"
57+
},{
58+
"version": "0.4.0",
59+
"url": "https://github.com/nvnieuwk/nft-bam/releases/download/0.4.0/nft-bam-0.4.0.jar"
60+
},{
61+
"version": "0.5.0",
62+
"url": "https://github.com/nvnieuwk/nft-bam/releases/download/0.5.0/nft-bam-0.5.0.jar"
63+
},{
64+
"version": "0.6.0",
65+
"url": "https://github.com/nvnieuwk/nft-bam/releases/download/0.6.0/nft-bam-0.6.0.jar"
66+
}]
67+
},{
68+
"id": "nft-compress",
69+
"latest": "0.1.0",
70+
"url": "https://github.com/lukfor/nft-compress",
71+
"github": "lukfor/nft-compress",
72+
"description": "Provides support for ZIP files.",
73+
"author": "Lukas Forer",
74+
"keywords": [],
75+
"releases": [{
76+
"version": "0.1.0",
77+
"url": "https://github.com/lukfor/nft-compress/releases/download/0.1.0/nft-compress-0.1.0.jar"
78+
}]
79+
},{
80+
"id": "nft-csv",
81+
"latest": "0.1.0",
82+
"url": "https://github.com/lukfor/nft-csv",
83+
"github": "lukfor/nft-csv",
84+
"description": "Provides support for CSV files.",
85+
"author": "Lukas Forer",
86+
"keywords": [],
87+
"releases": [{
88+
"version": "0.1.0",
89+
"url": "https://github.com/lukfor/nft-csv/releases/download/0.1.0/nft-csv-0.1.0.jar"
90+
}]
91+
},{
92+
"id": "nft-utils",
93+
"latest": "0.0.7",
94+
"url": "https://github.com/nf-core/nft-utils",
95+
"github": "nf-core/nft-utils",
96+
"description": "nf-test utility functions for Nextflow pipelines.",
97+
"author": "nf-core",
98+
"keywords": [],
99+
"releases": [{
100+
"version": "0.0.1",
101+
"url": "https://github.com/nf-core/nft-utils/releases/download/0.0.1/nft-utils-0.0.1.jar"
102+
},{
103+
"version": "0.0.2",
104+
"url": "https://github.com/nf-core/nft-utils/releases/download/0.0.2/nft-utils-0.0.2.jar"
105+
},{
106+
"version": "0.0.3",
107+
"url": "https://github.com/nf-core/nft-utils/releases/download/0.0.3/nft-utils-0.0.3.jar"
108+
},{
109+
"version": "0.0.4",
110+
"url": "https://github.com/nf-core/nft-utils/releases/download/0.0.4/nft-utils-0.0.4.jar"
111+
},{
112+
"version": "0.0.5",
113+
"url": "https://github.com/nf-core/nft-utils/releases/download/0.0.5/nft-utils-0.0.5.jar"
114+
},{
115+
"version": "0.0.6",
116+
"url": "https://github.com/nf-core/nft-utils/releases/download/0.0.6/nft-utils-0.0.6.jar"
117+
},{
118+
"version": "0.0.7",
119+
"url": "https://github.com/nf-core/nft-utils/releases/download/0.0.7/nft-utils-0.0.7.jar"
120+
}]
121+
},{
122+
"id": "nft-fastq",
123+
"latest": "0.0.1",
124+
"url": "https://github.com/lukfor/nft-fastq",
125+
"github": "lukfor/nft-fastq",
126+
"description": "Provides support for FASTQ files.",
127+
"author": "Lukas Forer",
128+
"keywords": [],
129+
"releases": [{
130+
"version": "0.0.1",
131+
"url": "https://github.com/lukfor/nft-fastq/releases/download/v0.0.1/nft-fastq-0.0.1-all.jar"
132+
}]
133+
}, {
134+
"id": "nft-anndata",
135+
"latest": "0.1.0",
136+
"url": "https://github.com/nictru/nft-anndata",
137+
"github": "nictru/nft-anndata",
138+
"description": "Provides support for AnnData (h5ad) files.",
139+
"author": "Nico Trummer",
140+
"keywords": [],
141+
"releases": [{
142+
"version": "0.1.0",
143+
"url": "https://github.com/nictru/nft-anndata/releases/download/v0.1.0/nft-anndata-0.1.0.jar"
144+
}]
145+
}, {
146+
"id": "nft-tiff",
147+
"latest": "0.1.0",
148+
"url": "https://github.com/nf-core/nft-tiff",
149+
"github": "nf-core/nft-tiff",
150+
"description": "Provides support for TIFF files.",
151+
"author": "nf-core",
152+
"keywords": [],
153+
"releases": [{
154+
"version": "0.1.0",
155+
"url": "https://github.com/nf-core/nft-tiff/releases/download/v0.1.0/nft-tiff-0.1.0.jar"
156+
}]
157+
}
158+
]
17.5 MB
Binary file not shown.
355 KB
Binary file not shown.
22.7 MB
Binary file not shown.

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ testing*
1212
bin/
1313
.nf-test/
1414
ro-crate-metadata.json
15+
modules/nf-core/**/meta.yml

CHANGELOG.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
- Add `fibertools` modules for m6A call
1515
- Change the input samplesheet structure
1616

17-
### `Fixed`
18-
1917
### `Dependencies`
2018

2119
| Dependency | Old version | New version |
2220
| ------------ | ----------- | ----------- |
23-
| `dorado` | | 0.9.5 |
21+
| `dorado` | 0.9.5 | 1.1.1 |
2422
| `jasmine` | | 2.4.0 |
2523
| `ccsmeth` | | 0.5.0 |
2624
| `DSS` | | 2.54.0 |
2725
| `fibertools` | | 0.6.4 |
26+
| `modkit` | 0.4.4 | 0.5.0 |
27+
| `samtools` | 1.21 | 1.22.1 |
2828

29-
### `Deprecated`
29+
### Requirements
30+
31+
- Nextflow `>=25.04.0`
32+
33+
### Contributors
34+
35+
- @YiJin-Xiong for implementing `fiberseq`, `dmr calling` subworkflows.
36+
- @jkh00 for code review, suggestions and template updates.
3037

3138
## v1.1.0 - [2025-05-28]
3239

@@ -47,7 +54,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4754
| `whatshap` | | 2.6 |
4855
| `gawk` | | 5.3.0 |
4956

50-
### `Deprecated`
57+
### New Contributors
58+
59+
- New subworkflows were created by @YiJin-Xiong
5160

5261
## v1.0.0 'Niveous Tiger' - [2025-05-08]
5362

@@ -60,3 +69,7 @@ Initial release of nf-core/methylong, created with the [nf-core](https://nf-co.r
6069
### `Dependencies`
6170

6271
### `Deprecated`
72+
73+
### Credits
74+
75+
- special thanks to @fellen31 for valuable code review and feedback on the pipeline structure.

README.md

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232

3333
1. modcalling (optional)
3434
- basecall pod5 reads to modBam - `dorado basecaller`
35-
- optional: m6A call - `fibertools add-nucleosomes`
3635
2. trim and repair tags of input modBam
3736
- trim and repair workflow:
3837
1. sort modBam - `samtools sort`
@@ -45,14 +44,12 @@
4544
- include alignment summary - `samtools flagstat`
4645

4746
4. create bedMethyl - `modkit pileup`, 5x base coverage minimum.
48-
- optional: extract m6A information into bedMethyl - `fibertools extract`
4947
5. create bedgraphs (optional)
5048

5149
### PacBio workflow:
5250

5351
1. modcalling (optional)
5452
- modcall bam reads to modBam - `jasmine` (default) or `ccsmeth`
55-
- optional: m6A call - `fibertools predict-m6a`
5653

5754
2. align to reference - `pbmm2` (default) or `minimap2`
5855
- minimap workflow:
@@ -74,8 +71,6 @@
7471
2. or `count` (differences described here: https://github.com/PacificBiosciences/pb-CpG-tools)
7572
- `pb-CpG-tools` by default merge mC signals on CpG into forward strand. To 'force' strand specific signal output, I followed the suggestion mentioned in this issue ([PacificBiosciences/pb-CpG-tools#37](https://github.com/PacificBiosciences/pb-CpG-tools/issues/37)) which uses HP tags to tag forward and reverse reads, so they were output separately.
7673

77-
- optional: extract m6A information into bedMethyl - `fibertools extract`
78-
7974
4. create bedgraph (optional)
8075

8176
### Downstream workflow:
@@ -87,6 +82,17 @@
8782
1. tag reads by haplotype - `whatshap haplotype`
8883
2. create bedMethyl - `modkit pileup`
8984
3. DMR - `DSS` (default) or `modkit dmr`
85+
- in `DSS` , regions with statistically significant CpG sites will be detected as DMRs.
86+
87+
### Fiberseq workflow:
88+
89+
- ONT alignedBAM
90+
1. filtering m6A calls - `modkit call-mods`
91+
2. infer nucleosomes and MSPs - `ft add-nuleosomes`
92+
3. create bedMethyl - `ft extract`
93+
- PacBio alignedBAM
94+
1. predict m6a and infer nucleosomes - `ft predict-m6a`
95+
2. create bedMethyl - `ft extract`
9096

9197
## Usage
9298

@@ -155,6 +161,10 @@ Folder stuctures of the outputs:
155161
│ ├── basecall
156162
│ │ └── calls.bam
157163
│ │
164+
│ ├── fiberseq
165+
│ │ ├── m6acall.bam
166+
│ │ └── m6a.bed
167+
│ │
158168
│ ├── trim
159169
│ │ ├── trimmed.fastq.gz
160170
│ │ └── trimmed.log
@@ -204,7 +214,9 @@ Folder stuctures of the outputs:
204214
│ ├── fastqc
205215
│ │
206216
│ ├── modcall
207-
│ │ ├── modbam.bam
217+
│ │ └── modbam.bam
218+
│ │
219+
│ ├── fiberseq
208220
│ │ ├── m6a_predicted.bam
209221
│ │ └── m6a.bed
210222
│ │
@@ -274,12 +286,8 @@ For further information or help, don't hesitate to get in touch on the [Slack `#
274286

275287
## Citations
276288

277-
<!-- 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. -->
278-
279289
If you use nf-core/methylong for your analysis, please cite it using the following doi: [10.5281/zenodo.15366448](https://doi.org/10.5281/zenodo.15366448)
280290

281-
<!-- TODO nf-core: Add bibliography of tools and data used in your pipeline -->
282-
283291
An extensive list of references for the tools used by the pipeline can be found in the [`CITATIONS.md`](CITATIONS.md) file.
284292

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

assets/multiqc_config.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
report_comment: >
2-
This report has been generated by the <a href="https://github.com/nf-core/methylong/releases/tag/1.0.0" target="_blank">nf-core/methylong</a>
3-
analysis pipeline. For information about how to interpret these results, please see the
4-
<a href="https://nf-co.re/methylong/1.0.0/docs/output" target="_blank">documentation</a>.
2+
This report has been generated by the <a href="https://github.com/nf-core/methylong/releases/tag/2.0.0" target="_blank">nf-core/methylong</a> analysis pipeline. For information about how to interpret these results, please see the <a href="https://nf-co.re/methylong/2.0.0/docs/output" target="_blank">documentation</a>.
53
report_section_order:
64
"nf-core-methylong-methods-description":
75
order: -1000

0 commit comments

Comments
 (0)