Hello, I see a lot of issues relating to this, but consider whether the version check are actually necessary before attempting execution and rather instead implement some try statements (I am used to Py so sorry if this is not an option in Perl.)
My suggestion:
- Remove pre-execution checks
- Implement try statements with potential checks there..
As of this date, I still face the samtools version check issue, when building from scratch through conda, but can't really understand why it occurs.
Btw. My reason for posting this, is that is yet an issue through latest micromamba/conda installations:
Need samtools --version >= 1.7 but you have 1.23 - please upgrade it.
BUT For me it was fixed by specifying the exact version in the micromamba installation (It installed 4.0.+ rather than 4.6.0 which currently is the latest available in Bioconda)
I still find this discussion relevant though, as it would be nice to try to run the tools and spit out the potential err, before doing version control.
Related issues: #182 #344 #377 #436
Hello, I see a lot of issues relating to this, but consider whether the version check are actually necessary before attempting execution and rather instead implement some try statements (I am used to Py so sorry if this is not an option in Perl.)
My suggestion:
I still find this discussion relevant though, as it would be nice to try to run the tools and spit out the potential err, before doing version control.
Related issues: #182 #344 #377 #436