-
Notifications
You must be signed in to change notification settings - Fork 1
POC using module classes v2 #6
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
base: dev
Are you sure you want to change the base?
Conversation
|
| // | ||
|
|
||
| withName: "CLUSTALO_GUIDETREE|FAMSA_GUIDETREE|MAFFT_GUIDETREE" { | ||
| withName: "CLUSTALO_GUIDETREE|FAMSA_GUIDETREE|MAGUS_GUIDETREE" { |
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.
Mafft guidetree should be part of the sub workflow
Magus guidetree should not be part of it
conf/modules.config
Outdated
| // Alignment from a tree (treealign) | ||
| // | ||
|
|
||
| withName: "CLUSTALO_TREEALIGN|FAMSA_TREEALIGN|MAGUS_TREEALIGN|TCOFFEE_TREEALIGN"{ |
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.
check if magus should be part of this subworkflow
mafft should be here too?
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.
add t-coffee regressive as part of this class
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.
magus is ok!
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.
upp should also be part of this and the alignment class
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.
this file shouldn't be installed in the pipeline, or change the name to make sure that it only affects the modules repo
| container = "nf-core/ubuntu:22.04" | ||
| } | ||
| withName: 'MSA_ALIGNMENT:TCOFFEE_ALIGN'{ | ||
| ext.args = { "-output fasta_aln" } |
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.
maybe modify the module upstream?
| workflow MULTIPLESEQUENCEALIGN{ | ||
|
|
||
| take: | ||
| ch_input // channel: [ meta, path(sequence.fasta), path(reference.fasta), path(dependency_files.tar.gz), path(templates.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.
the dependency_fiels and templates are the "optional data", these are to run the structural alignments. Currently the structural alignment is not used :( should be implemented.
Templates are optional. If you don't use a template file there is a module that creates it, should be run before the class swf.
| take: | ||
| ch_input // channel: [ meta, path(sequence.fasta), path(reference.fasta), path(dependency_files.tar.gz), path(templates.txt) ] | ||
| ch_tools // channel: [ val(guide_tree_tool), val(args_guide_tree_tool), val(alignment_tool), val(args_alignment_tool) ] | ||
| ch_tools // channel: [ meta_guidetree_treealign, meta_alignment ] |
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.
is this channel created like this? does it work?
| // | ||
| if (!params.skip_eval) { | ||
| EVALUATE (ALIGN.out.msa, ch_refs, ch_optional_data_template) | ||
| EVALUATE (ch_alignment_output, ch_refs, ch_optional_data_template) |
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.
evaluate could be divided into three classes: reference-free, reference-based and structure-based
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.
could this be part of the benchmarking module for the class?
No description provided.