modules icon indicating copy to clipboard operation
modules copied to clipboard

Add cobs/query module

Open leoisl opened this issue 2 years ago • 0 comments

This PR adds cobs/query module. It allows querying cobs indexes that can be built using the cobs/classicconstruct or cobs/compactconstruct modules. For cobs, see https://github.com/iqbal-lab-org/cobs and https://link.springer.com/chapter/10.1007/978-3-030-32686-9_21

As this is a complex module due to the different types of input it can handle, 12 tests (+ 1 stub test) were added to cover all cases. All these 12 tests snapshot to a same object (consistent_output) thus producing the same output.

PR checklist

Closes #XXX

  • [x] This comment contains a description of changes (with reason).
  • [x] If you've fixed a bug or added code that should be tested, add tests!
  • [x] If you've added a new tool - have you followed the module conventions in the contribution docs
  • [x] If necessary, include test data in your PR.
  • [x] Remove all TODO statements.
  • [x] Emit the versions.yml file.
  • [x] Follow the naming conventions.
  • [x] Follow the parameters requirements.
  • [x] Follow the input/output options guidelines.
  • [x] Add a resource label
  • [x] Use BioConda and BioContainers if possible to fulfil software requirements.
  • Ensure that the test works with either Docker / Singularity. Conda CI tests can be quite flaky:
    • [x] PROFILE=docker pytest --tag <MODULE> --symlink --keep-workflow-wd --git-aware
    • [x] PROFILE=singularity pytest --tag <MODULE> --symlink --keep-workflow-wd --git-aware
    • [x] PROFILE=conda pytest --tag <MODULE> --symlink --keep-workflow-wd --git-aware

leoisl avatar Dec 20 '23 17:12 leoisl