Commit 0c15839 1 parent a5d14cb commit 0c15839 Copy full SHA for 0c15839
File tree 1 file changed +28
-0
lines changed
1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -470,6 +470,34 @@ workflow ANNOTATION {
470
470
if (! params. skip_phylo) {
471
471
PHYLOGENOMICS (gffs, use_full_alignment, use_fasttree)
472
472
ch_software_versions = ch_software_versions. mix(PHYLOGENOMICS . out. phylo_software)
473
+
474
+ if (params. run_evolccm) {
475
+ EVOLCCM (
476
+ PHYLOGENOMICS . out. core_tree,
477
+ ANNOTATE_ASSEMBLIES . out. feature_profile
478
+ )
479
+ }
480
+
481
+ if (params. run_rspr) {
482
+ PHYLOGENOMICS . out. gene_trees
483
+ .flatten()
484
+ .map{it -> it. toString() }
485
+ .collectFile(newLine : true ) { item ->
486
+ [" ${ item} .txt" ,
487
+ " sample,path\n " + item + ' ,' + item ]
488
+ }
489
+ .set { individual_sheets }
490
+
491
+ individual_sheets
492
+ .collectFile(name : ' gene_tree_paths.txt' , skip :1 , keepHeader : true )
493
+ .set{ gene_tree_sheet }
494
+
495
+ RSPR (
496
+ PHYLOGENOMICS . out. core_tree,
497
+ gene_tree_sheet,
498
+ ANNOTATE_ASSEMBLIES . out. annotation
499
+ )
500
+ }
473
501
}
474
502
475
503
// //////////////////////// GENE ORDER /////////////////////////////////////
You can’t perform that action at this time.
0 commit comments