Closed nick-youngblut closed 7 months ago
Did not know there is a Sys.which()
, thank you for the suggestion.
When there is no samtools in PATH
we just use Rsamtools
instead, which could take a couple more minutes longer compared to piping minimap2 directly to samtools, but these functions already got too many parameters for users to go through.
I am running
sc_long_pipeline()
and do not have samtools in my PATH, which results in:...however, the minimap2 child job is not killed.
Given the multiple external dependencies, it would be great if FLAMES checked at the start of the workflow for the executables (fail fast). This can be done in R easily via
Sys.which()
.Moreover, the minimap2_align function includes a
samtools
param, but it appears that no such parameter can be provided tosc_long_pipeline()
(either directly or via the config file).sessionInfo