An AI-Lens for single-cell Age Prediction and its Aging-associated Bioactivities
948
This is the repo of the official Docker image for CamAge.
You can find instructions for installing and running Docker on any PC using the following links
Pull the CamAge image from Docker Hub by running the following command in your terminal:
$ docker pull ahujalab/camage:latest
Verify the new image has been created using the docker images command.
$ docker images
To access the terminal of a Docker container, use the docker run command with the -it option.
$ docker run -it <image-name> bash
Replace <image-name> with the name or ID of the Docker image of CamAge.
Find the ID of the currently running container for input and output.
$ docker ps -a
To start the container again, access its terminal.
$ docker start <container-ID>
$ docker exec -it <container-ID> bash
Find the ID of the running container using the docker ps -a command.
$ docker ps -a
To write a file to the container, use the docker cp command to copy it from the host to the container.
$ docker cp file container_id:WDir/
This command will copy the folder from the host's current directory to the CamAge container with ID container_id at the WDir/ directory inside the container.
Find the ID of the running container using the docker ps -a command.
$ docker ps -a
To write a file from the container, use the docker cp command to copy it to the host.
$ docker cp container_id:WDir/file-name .
This command will copy the folder from the CamAge container with ID container_id under the WDir/ directory inside the container to the host's current directory.
There are two CamAge Docker images available: one optimized for GPU usage and the other for CPU. Users can select the appropriate image based on their specific requirements.
This command segments yeast cell images.
$ segmenter -id raw_input_folder -od segmenter_output_folder
Additional arguments:
| Arguments | Description |
|---|---|
| id | Input the folder path containing the raw images of yeast cells. |
| od | Output folder path for the segmented images |
Returns:
~ masks: segmented file for the raw images
~ preprocessed_images: preprocessed images of raw yeast cells
~ compressed_masks.csv: compressed masked .csv for raw yeast cells
This command processes raw yeast images, converts them into single-cell yeast images, and provides CamAge predictions.
Basic Usage
$ predictor -id raw_input_folder -od prediction_output -segmented segmenter_output_folder -SCImages sc_output_folder
Advanced Usage
$ predictor -id raw_input_folder -od prediction_output -segmented segmenter_output_folder -SCImages sc_output_folder explainability -image_features -num_features 3 -bio_prediction
Additional arguments:
| Arguments | Description |
|---|---|
| id | Input the folder path containing the raw images of yeast cells |
| od | Output folder path for the CamAge predictions |
| segmented | Output folder path for the segmented images |
| SCImages | Output folder path for single-cell yeast images |
| explainability | Generate explainability plots for the predictions |
| num_features | Number of top features to include for explainability |
| image_features | Include image features for bioactivity predictions |
| bio_prediction | Generate bioactivity predictions |
Returns:
~ Single-cell yeast images
~ Morphometric features
~ A .csv file containing CamAge predictions and bioactivity predictions
~ Explainability plots for predictions of each image
Detailed instructions on using the CamAge scripts are available at CamAge_Scripts
The datasets used for developing CamAge can be downloaded from Zenodo
Content type
Image
Digest
sha256:e9257365e…
Size
13.1 GB
Last updated
over 2 years ago
docker pull ahujalab/camage