Open cerebis opened 4 months ago
Firstly, the removal of redundancy step does not require pre-results, here we are performing a self-comparison.
'NoneType' object is not iterable
This means that there are no redundant sequences,and VirID can continue to run.
When using the phylogenetic_analysis stage directly with new data, the workflow attempts to execute anicalc.py. However, since earlier stages were not run, required input files (such as blast output) are not available. As a result, the script produces a None result.
The method
anicalc.py:prune_alns()
attempts to act on a None object and raises the following exception.At present, this can be avoided by specifying
--keep_dup
on the commandline.One approach to addressing this would be to invert the default CLI logic, making it instead
--rm_dup
. This would then allow users to invoke the last stage on contigs successfully, without adding critical caveats to your documentation. The reversal can then be dealt with internally for the normal end-to-end logic.