Conversation
famosab
left a comment
There was a problem hiding this comment.
I added a few comments to this updated PR :) looks good already
There was a problem hiding this comment.
You can run
nextflow lint -format -sort-declarations -spaces 4 -harshil-alignmenton this file to clean this up nicely.
| tuple val(meta), path(assembly) | ||
| tuple val(meta2), path(reads) |
There was a problem hiding this comment.
Can we put all these inputs into one tuple? That will make sure you're sure that EVERY time everything comes together in the right combination.
Not 100% sure on this but if these things should match per sample I would do one input but if for example the reads stay consistent and only the assembly changes we can leave it as is :)
|
|
||
| output: | ||
| tuple val(meta), path("${prefix}"), emit: results | ||
| tuple val(meta), path("${prefix}/*.fasta"), emit: fasta |
There was a problem hiding this comment.
I would copy the fasta files into the base dir with
mv ${prefix}/*.fasta *.fasta
and emit them directly that makes downstream easier I think
| prefix = task.ext.prefix ?: "${meta.id}" | ||
| """ | ||
| mkdir -p ${prefix} | ||
| touch ${prefix}/06.fixstart.fasta |
There was a problem hiding this comment.
how many fasta files are actually being created?
| tag "circlator" | ||
| tag "circlator/all" | ||
|
|
||
| test("sarscov2 - fasta reads - stub") { |
There was a problem hiding this comment.
Why do we only have the stub test here? :)
Has that been reported to the developers? |
|
General remark on this PR: I would rather / also have the singular steps of this "pipeline" which would make this more compatible with all the Nextflow capabilities (I think) |
PR checklist
Closes #11010 #11010
Fixed/Updated PR from #11013
topic: versions- See version_topicslabelnf-core modules test <MODULE> --profile dockernf-core modules test <MODULE> --profile singularitynf-core modules test <MODULE> --profile condaDescription
Adds a new module for circlator all, which runs the full Circlator pipeline to circularise genome assemblies from long reads (PacBio/Oxford Nanopore). The module takes an input assembly (FASTA) and long reads (FASTA/FASTQ) and outputs a circularised assembly. A stub test is used as the tool requires substantial real long-read data to run successfully.
Note
Singularity not available on local dev machine. Conda test fails due to a known libcrypto incompatibility with the circlator 1.5.5 conda package on modern systems — this is an upstream issue. Docker test passes successfully.
Also, my previous PR I made for this I accidentally committed any2fasta commits. I created this clean PR to fix it.