Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adress issues from review #469

Merged
merged 31 commits into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
aed3cf2
Couple of minor issues resolved from reviews
apeltzer Oct 8, 2024
df38996
Add hint to license
apeltzer Oct 8, 2024
351b8a8
Put in links
apeltzer Oct 8, 2024
a1b8dc4
Bump release date
apeltzer Oct 8, 2024
015471f
Fix tests
apeltzer Oct 8, 2024
b54f4b0
address Change to `=` assignment, see above #470
atrigila Oct 8, 2024
60dd0f9
Fix tests for release PR
apeltzer Oct 8, 2024
1ed464e
Merge branch 'adress-issues' of https://github.com/nf-core/smrnaseq i…
apeltzer Oct 8, 2024
48337c8
Address Make citation tools dependent on whether tool was executed #468
atrigila Oct 8, 2024
8c22e20
Template update for nf-core/tools version 3.0.0
nf-core-bot Oct 8, 2024
5c31fea
Pulled from dev
nschcolnicov Oct 8, 2024
2bdfe79
Merge branch 'dev' into adress-issues
atrigila Oct 8, 2024
118c61c
Template update for nf-core/tools version 3.0.1
nf-core-bot Oct 9, 2024
6b92ae2
validate input params
atrigila Oct 10, 2024
0d8ccfe
Merge remote-tracking branch 'origin/dev' into adress-issues
apeltzer Oct 11, 2024
d524865
Final update of modules and subworkflows
apeltzer Oct 11, 2024
75cc53b
Remove one more todo
apeltzer Oct 11, 2024
6bde0c1
Template update for nf-core/tools version 3.0.2
nf-core-bot Oct 11, 2024
653a2c3
Merged the template
apeltzer Oct 11, 2024
b266fc6
Also remove .nf-test directory
apeltzer Oct 11, 2024
dce528b
Fix merge issue
apeltzer Oct 11, 2024
c3c490e
Fixing duplicate imports
apeltzer Oct 11, 2024
cfe34d6
Hopefully fix
apeltzer Oct 11, 2024
f7baad5
Finding more issues
apeltzer Oct 11, 2024
3746326
Date++
apeltzer Oct 11, 2024
3092c82
Remove some lines
apeltzer Oct 13, 2024
019487b
Update modules
apeltzer Oct 13, 2024
4805060
remove duplicates from new template
atrigila Oct 13, 2024
acd4b0d
remove extra argument, add missing {
atrigila Oct 13, 2024
8380496
correct schema structure
atrigila Oct 13, 2024
5254dae
fix linting errors
atrigila Oct 13, 2024
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
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ on:

env:
NXF_ANSI_LOG: false
NXF_SINGULARITY_CACHEDIR: ${{ github.workspace }}/.singularity
NXF_SINGULARITY_LIBRARYDIR: ${{ github.workspace }}/.singularity
NFT_VER: "0.9.0"
NFT_WORKDIR: "~"
NFT_DIFF: "pdiff"
Expand All @@ -26,7 +28,7 @@ concurrency:

jobs:
test:
name: Run pipeline with test data
name: "Run pipeline with test data (${{ matrix.NXF_VER }} | ${{ matrix.test_name }} | ${{ matrix.profile }})"
# Only run on push if this is the nf-core dev branch (merged PRs)
if: "${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/smrnaseq') }}"
runs-on: ubuntu-latest
Expand Down
21 changes: 12 additions & 9 deletions .github/workflows/template_version_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ jobs:
steps:
- name: Check out pipeline code
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Read template version from .nf-core.yml
uses: pietrobolcato/action-read-yaml@1.1.0
uses: nichmor/minimal-read-yaml@v0.0.2
id: read_yml
with:
config: ${{ github.workspace }}/.nf-core.yml
Expand All @@ -24,20 +26,21 @@ jobs:

- name: Check nf-core outdated
id: nf_core_outdated
run: pip list --outdated | grep nf-core
run: echo "OUTPUT=$(pip list --outdated | grep nf-core)" >> ${GITHUB_ENV}

- name: Post nf-core template version comment
uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2
if: |
${{ steps.nf_core_outdated.outputs.stdout }} =~ 'nf-core'
contains(env.OUTPUT, 'nf-core')
with:
repo-token: ${{ secrets.NF_CORE_BOT_AUTH_TOKEN }}
allow-repeats: false
message: |
## :warning: Newer version of the nf-core template is available.

Your pipeline is using an old version of the nf-core template: ${{ steps.read_yml.outputs['nf_core_version'] }}.
Please update your pipeline to the latest version.

For more documentation on how to update your pipeline, please see the [nf-core documentation](https://github.com/nf-core/tools?tab=readme-ov-file#sync-a-pipeline-with-the-template) and [Synchronisation documentation](https://nf-co.re/docs/contributing/sync).
> [!WARNING]
> Newer version of the nf-core template is available.
>
> Your pipeline is using an old version of the nf-core template: ${{ steps.read_yml.outputs['nf_core_version'] }}.
> Please update your pipeline to the latest version.
>
> For more documentation on how to update your pipeline, please see the [nf-core documentation](https://github.com/nf-core/tools?tab=readme-ov-file#sync-a-pipeline-with-the-template) and [Synchronisation documentation](https://nf-co.re/docs/contributing/sync).
#
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ results/
testing/
testing*
*.pyc
execution_trace*
.nf-test*
apeltzer marked this conversation as resolved.
Show resolved Hide resolved
null/
2 changes: 1 addition & 1 deletion .nf-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ lint:
nextflow_config:
- config_defaults:
- params.fastp_known_mirna_adapters
nf_core_version: 3.0.1
nf_core_version: 3.0.2
org_path: null
repository_type: pipeline
template:
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## v2.4.0 - 2024-10-07 - Navy Iron Boxer
## v2.4.0 - 2024-10-14 - Navy Iron Boxer

- [[#349]](https://github.com/nf-core/smrnaseq/pull/349) - Fix [MIRTOP_QUANT conda issue](https://github.com/nf-core/smrnaseq/issues/347) - change conda-base to conda-forge channel.
- [[#350]](https://github.com/nf-core/smrnaseq/pull/350) - Fix [MIRTOP_QUANT conda issue](https://github.com/nf-core/smrnaseq/issues/347) - set python version to 3.7 to fix pysam issue.
Expand Down
1 change: 1 addition & 0 deletions CITATIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@

- [MultiQC](https://pubmed.ncbi.nlm.nih.gov/27312411/)

> Ewels P, Magnusson M, Lundin S, Käller M. MultiQC: summarize analysis results for multiple tools and samples in a single report. Bioinformatics. 2016 Oct 1;32(19):3047-8. doi: 10.1093/bioinformatics/btw354. Epub 2016 Jun 16. PubMed PMID: 27312411; PubMed Central PMCID: PMC5039924.
apeltzer marked this conversation as resolved.
Show resolved Hide resolved
> Ewels P, Magnusson M, Lundin S, Käller M. MultiQC: summarize analysis results for multiple tools and samples in a single report. Bioinformatics. 2016 Oct 1;32(19):3047-8. doi: 10.1093/bioinformatics/btw354. Epub 2016 Jun 16. PubMed PMID: 27312411; PubMed Central PMCID: PMC5039924.
apeltzer marked this conversation as resolved.
Show resolved Hide resolved

- [Bioconductor](https://www.bioconductor.org/) and [R](https://cran.r-project.org/)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ You can find numerous talks on the nf-core events page from various topics inclu
4. ncRNA filtration
5. piRNA filtration
6. Others filtration
5. UMI barcode deduplication ([`UMI-tools`](https://github.com/CGATOxford/UMI-tools)) <!-- TODO, isn't this done on the UMI step above? -->
5. UMI barcode deduplication ([`UMI-tools`](https://github.com/CGATOxford/UMI-tools))
6. miRNA quantification
- EdgeR
1. Reads alignment against miRBase mature miRNA ([`Bowtie1`](http://bowtie-bio.sourceforge.net/index.shtml))
Expand Down Expand Up @@ -82,7 +82,7 @@ You can test the pipeline as follows:

```bash
nextflow run nf-core/smrnaseq \
-profile test \
-profile test,docker \
--outdir <OUTDIR>
```

Expand Down
2 changes: 1 addition & 1 deletion bin/collapse_mirtop.r
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env Rscript

# Written by Lorena Pantano and released under the MIT license.
# Written by Lorena Pantano and released under the MIT license. See LICENSE https://github.com/nf-core/smrnaseq/blob/master/LICENSE for details.

library(data.table)
# Command line arguments
Expand Down
2 changes: 1 addition & 1 deletion bin/edgeR_miRBase.r
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env Rscript

# Originally written by Phil Ewels and Chuan Wang and released under the MIT license.
# Contributions by Alexander Peltzer, Anabella Trigila, James Fellows Yates, Sarah Djebali, Kevin Menden, Konrad Stawinski and Lorena Pantano also released under the MIT license.
# Contributions by Alexander Peltzer, Anabella Trigila, James Fellows Yates, Sarah Djebali, Kevin Menden, Konrad Stawinski and Lorena Pantano also released under the MIT license. See LICENSE https://github.com/nf-core/smrnaseq/blob/master/LICENSE for details.

# Command line arguments
args = commandArgs(trailingOnly=TRUE)
Expand Down
8 changes: 4 additions & 4 deletions conf/test_contamination_tech_reps.config
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ params {
skip_mirdeep = true
skip_fastqc = true

filter_contamination = true
cdna = "https://huggingface.co/datasets/nf-core/smrnaseq/resolve/main/GRCh37/Homo_sapiens.GRCh37.cdna.all.fa"
ncrna = "https://huggingface.co/datasets/nf-core/smrnaseq/resolve/main/GRCh37/Homo_sapiens.GRCh37.ncrna.fa"
trna = "https://huggingface.co/datasets/nf-core/smrnaseq/resolve/main/GRCh37/hg19-tRNAs.fa"
filter_contamination = true
cdna = "https://huggingface.co/datasets/nf-core/smrnaseq/resolve/main/GRCh37/Homo_sapiens.GRCh37.cdna.all.fa"
ncrna = "https://huggingface.co/datasets/nf-core/smrnaseq/resolve/main/GRCh37/Homo_sapiens.GRCh37.ncrna.fa"
trna = "https://huggingface.co/datasets/nf-core/smrnaseq/resolve/main/GRCh37/hg19-tRNAs.fa"
}

// Include illumina config to run test without additional profiles
Expand Down
4 changes: 2 additions & 2 deletions conf/test_nextflex.config
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ params {
mirna_gtf = 'https://github.com/nf-core/test-datasets/raw/smrnaseq/reference/hsa.gff3'
mirtrace_species = 'hsa'

skip_mirdeep = true
save_intermediates = true
skip_mirdeep = true
save_intermediates = true
//skip_fastp // this profile should not be used with skip_fastq to allow for testing paired end sample handling

}
Expand Down
28 changes: 13 additions & 15 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"bioawk": {
"branch": "master",
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
"installed_by": ["modules"],
"patch": "modules/nf-core/bioawk/bioawk.diff"
"installed_by": ["modules"]
},
"blat": {
"branch": "master",
Expand Down Expand Up @@ -49,7 +48,7 @@
"fastp": {
"branch": "master",
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
"installed_by": ["fastq_fastqc_umitools_fastp", "modules"]
"installed_by": ["fastq_fastqc_umitools_fastp"]
},
"fastqc": {
"branch": "master",
Expand Down Expand Up @@ -98,33 +97,33 @@
},
"multiqc": {
"branch": "master",
"git_sha": "b8d36829fa84b6e404364abff787e8b07f6d058c",
"git_sha": "cf17ca47590cc578dfb47db1c2a44ef86f89976d",
"installed_by": ["modules"]
},
"samtools/flagstat": {
"branch": "master",
"git_sha": "b13f07be4c508d6ff6312d354d09f2493243e208",
"installed_by": ["bam_stats_samtools", "modules"]
"installed_by": ["bam_stats_samtools"]
},
"samtools/idxstats": {
"branch": "master",
"git_sha": "b13f07be4c508d6ff6312d354d09f2493243e208",
"installed_by": ["bam_stats_samtools", "modules"]
"installed_by": ["bam_stats_samtools"]
},
"samtools/index": {
"branch": "master",
"git_sha": "b13f07be4c508d6ff6312d354d09f2493243e208",
"installed_by": ["bam_sort_stats_samtools", "modules"]
"installed_by": ["bam_sort_stats_samtools"]
},
"samtools/sort": {
"branch": "master",
"git_sha": "b13f07be4c508d6ff6312d354d09f2493243e208",
"installed_by": ["bam_sort_stats_samtools", "modules"]
"git_sha": "b7800db9b069ed505db3f9d91b8c72faea9be17b",
"installed_by": ["bam_sort_stats_samtools"]
},
"samtools/stats": {
"branch": "master",
"git_sha": "b13f07be4c508d6ff6312d354d09f2493243e208",
"installed_by": ["bam_stats_samtools", "modules"]
"installed_by": ["bam_stats_samtools"]
},
"seqcluster/collapse": {
"branch": "master",
Expand All @@ -139,8 +138,7 @@
"seqkit/grep": {
"branch": "master",
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
"installed_by": ["modules"],
"patch": "modules/nf-core/seqkit/grep/seqkit-grep.diff"
"installed_by": ["modules"]
},
"seqkit/replace": {
"branch": "master",
Expand All @@ -155,7 +153,7 @@
"umitools/extract": {
"branch": "master",
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
"installed_by": ["fastq_fastqc_umitools_fastp", "modules"]
"installed_by": ["fastq_fastqc_umitools_fastp"]
},
"untar": {
"branch": "master",
Expand Down Expand Up @@ -193,12 +191,12 @@
},
"utils_nextflow_pipeline": {
"branch": "master",
"git_sha": "9d05360da397692321d377b6102d2fb22507c6ef",
"git_sha": "3aa0aec1d52d492fe241919f0c6100ebf0074082",
"installed_by": ["subworkflows"]
},
"utils_nfcore_pipeline": {
"branch": "master",
"git_sha": "772684d9d66f37b650c8ba5146ac1ee3ecba2acb",
"git_sha": "1b6b9a3338d011367137808b49b923515080e3ba",
"installed_by": ["subworkflows"]
},
"utils_nfschema_plugin": {
Expand Down
2 changes: 1 addition & 1 deletion modules/nf-core/multiqc/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/multiqc/tests/main.nf.test.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions modules/nf-core/samtools/sort/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

64 changes: 64 additions & 0 deletions modules/nf-core/samtools/sort/tests/main.nf.test

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading