Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cfrioux/carveme_singularity
SIngularity image definition to install Cplex and Carveme in a container (e.g. for using the software on a cluster)
https://github.com/cfrioux/carveme_singularity
Last synced: about 1 month ago
JSON representation
SIngularity image definition to install Cplex and Carveme in a container (e.g. for using the software on a cluster)
- Host: GitHub
- URL: https://github.com/cfrioux/carveme_singularity
- Owner: cfrioux
- Created: 2020-03-06T09:12:36.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-03T13:06:03.000Z (almost 3 years ago)
- Last Synced: 2023-12-11T12:30:17.415Z (about 1 year ago)
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# carveme_singularity
Singularity image definition to install [IBM Cplex](https://www.ibm.com/analytics/cplex-optimizer) and [Carveme](https://github.com/cdanielmachado/carveme) in a container (e.g. for using the software on a cluster).## Installation
The binary file of Cplex (under license) has to be located in the same directory as the definition file.```
directory
├── carveme.def
│
├── cplex_studio128.linux-x86-64.bin
````Depending on the version of Cplex you use you might need to change the name in the definition file. Here it is version 12.8.
The image is build with the following command:
```sh
sudo singularity build singularity.sif singularity.def
``````carveme_2.def``` is another version of the image starting directly from the *ibmjava:latest* docker image. It has been tested with cplex 12.8 and 12.10. At this moment it is the only one updated. The size of the container file is around 1.8 Gb.
If you have issue when using the container on a cluster, you can try these options:
```sh
singularity run -c -B /folder/cluster/:/folder/cluster/ /folder/cluster/carveme.sif carve /folder/cluster/input_folder/data.faa
```The ``-B`` option gives access to the Singularity container to a specific path. The first path corresponds to the local/cluster path and the second path (after the ``:``) corresponds to the path inside the Singularity container. Using this option can solved issue with error message ``Unable to create output folder: /folder/cluster/input_folder`` (because the Singularity container has no right to create output files in the folder).
The ``-c`` option runs the Singularity image in an isolated manner with a minimal /dev and empty other directories (e.g. /tmp and $HOME) instead of sharing filesystems from your host. This avoids issue with environment present in the cluster. Using this option can solved issue with error message ``Segmentation fault`` after Diamond.