NBISweden / Earth-Biogenome-Project-pilot

Assembly and Annotation workflows for analysing data in the Earth Biogenome Project pilot project.
https://www.earthbiogenome.org/
GNU General Public License v3.0
9 stars 8 forks source link

Add parameter to make organelle assembly optional #115

Open mahesh-panchal opened 4 days ago

mahesh-panchal commented 4 days ago

Add a parameter to decide how to assemble organelles. ( values: 'reads', 'contigs', 'none' ; not enforced atm).

The configuration option needed to run until completion ignoring failures is not yet in the main release of nextflow. I think setting workflow.failOnIgnore to false should be the solution to this in the end.

If it Mitohifi fails, this should allow you continue without issue, or alternatively, disable it first and run, and then try the organelle assembly at the end by changing the parameter. The rest should stay cached, until we implement the filtering step.