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
DSL2 conversion #73
DSL2 conversion #73
Conversation
PR for 1.0.0 release
PR for 1.1.0 release
Update to new file structure
…erge-template-update
…-template-update
Merge template update v2.1
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few things, otherwise looks good!
Co-authored-by: Edmund Miller <edmund.a.miller@protonmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a few comments, but I don't see any major issues!
The pipeline is built using [Nextflow](https://www.nextflow.io), a workflow tool to run tasks across multiple compute infrastructures in a very portable manner. It comes with docker containers making installation trivial and results highly reproducible. | ||
The pipeline is built using [Nextflow](https://www.nextflow.io), a workflow tool to run tasks across multiple compute infrastructures in a very portable manner. It uses Docker/Singularity containers making installation trivial and results highly reproducible. The [Nextflow DSL2](https://www.nextflow.io/docs/latest/dsl2.html) implementation of this pipeline uses one container per process which makes it much easier to maintain and update software dependencies. Where possible, these processes have been submitted to and installed from [nf-core/modules](https://github.com/nf-core/modules) in order to make them available to all nf-core pipelines, and to everyone within the Nextflow community! | ||
|
||
<!-- TODO nf-core: Add full-sized test dataset and amend the paragraph below if applicable --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this todo be removed?
mode: 'copy', | ||
saveAs: { filename -> saveFiles(filename:filename, options:params.options, publish_dir:getSoftwareName(task.process), publish_id:'') } | ||
|
||
container "streitlab/custom-nf-modules-cellranger:latest" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought we had that in the nf core namespace now?
if("${gtf}".endsWith('.gz')){ | ||
name = "${gtf.baseName}" | ||
unzip = "gunzip -f ${gtf}" | ||
} else { | ||
unzip = "" | ||
name = "${gtf}" | ||
} | ||
""" | ||
$unzip | ||
cat $name | t2g.py --use_version > transcripts_to_genes.txt | ||
""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if("${gtf}".endsWith('.gz')){ | |
name = "${gtf.baseName}" | |
unzip = "gunzip -f ${gtf}" | |
} else { | |
unzip = "" | |
name = "${gtf}" | |
} | |
""" | |
$unzip | |
cat $name | t2g.py --use_version > transcripts_to_genes.txt | |
""" | |
""" | |
gzip -cdf $gtf | t2g.py --use_version > transcripts_to_genes.txt | |
""" |
if (meta.single_end) { | ||
array = [ meta, [ file(row.fastq_1, checkIfExists: true) ] ] | ||
} else { | ||
array = [ meta, [ file(row.fastq_1, checkIfExists: true), file(row.fastq_2, checkIfExists: true) ] ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't have single end in this pipeline, do we?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing really found on my side - looks good.
Co-authored-by: Gregor Sturm <mail@gregor-sturm.de>
Seems some tests have been renamed - Can someone with write access please update the required tests for this repo? |
I'll be merging this and work on the next template update in a separate PR |
PR checklist
scrape_software_versions.py
nf-core lint .
).nextflow run . -profile test,docker
).docs/usage.md
is updated.docs/output.md
is updated.CHANGELOG.md
is updated.README.md
is updated (including new tool citations and authors/contributors).