Skip to content

Snippy / Samtools issue in conda. Remove version cehcks? #628

@KasperThystrup

Description

@KasperThystrup

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions