Software for Bioinformatics pipelines Wormcat & wormcat batch
93
| Docker Tag | WormCat | WormCat Batch |
|---|---|---|
| 1.0.1 | version 2.0 | v1.1.6 |
WormCat is an R program for annotating and visualizing gene set enrichment data from C. elegans microarray, RNA seq or RNAi screen data.
WormCat Batch enables the batching of multiple calls to WormCat on your Desktop, Laptop, or HPC.
WormCat output provides:
rgs_fisher_cat1_apv.svg).rgs_fisher_cat1_apv.csv) (Note: "apv" stand for appropriate p-value).rgs_fisher_cat1.csv),rgs_and_category.csv file returns the input gene list joined with the annotations providing descriptions for each gene in the list.WormCat Batch provides two additional outputs:
<YOUR INPUT NAME>.xlsxsunburst.htmlNote: You do NOT need to download and install any software to run WormCat as it is available for use at wormcat.com.
The reasons you may desire to execute your own instance of WormCat with Docker:
Note: How to cite this work, see the citation section.
The provided Docker image is compatible with Singularity and is actively used in NextFlow Pipelines configured for an HPC.
1. Execution with an Excel file as Input
You can download an Example Microsoft Excel file Murphy_TS.xlsx to confirm the required format.
Note: When creating your Excel, please follow the naming conventions to avoid processing errors.
Excel file Naming Conventions:
docker run --rm -v <full_path_to_excel>:/usr/data danhumassmed/wormcat_batch:1.0.1 wormcat_cli --input-excel /usr/data/Murphy_TS.xlsx --output-path /usr/data/wormcat_out
2. Execution with a directory path to CSV file with Worm Base or Sequence Ids as Input
You can download an Example Directory of CSV files Murphy_TS_csv.zip to confirm the required format.
unzip Murphy_TS_csv.zipdocker run --rm -v <full_path_to_csv>:/usr/data danhumassmed/wormcat_batch:1.0.1 wormcat_cli --input-csv-path /usr/data/Murphy_TS_csv --output-path /usr/data/wormcat_out
3. Execution with either of the above as Input and a Path to an externally prepared Annotation file
You can download an Example Annotation file whole_genome_v2_nov-11-2021.csv to confirm the required format.
docker run --rm -v <full_path_to_excel>:/usr/data danhumassmed/wormcat_batch:1.0.1 wormcat_cli --input-excel /usr/data/Murphy_TS.xlsx --annotation-file /usr/data/whole_genome_v2_nov-11-2021.csv --output-path /usr/data/wormcat_out
Additional Options
cli_wormcat --help for a complete list of avaiable commandline optionscli_wormcat --version to check the current version of WormCat batchdocker run --rm danhumassmed/wormcat_batch:1.0.1 wormcat_cli --help
docker run --rm danhumassmed/wormcat_batch:1.0.1 wormcat_cli --version
docker run --rm danhumassmed/wormcat_batch:1.0.1 R -q -e "library('wormcat');get_available_annotation_files()"
Convenience Script for execution with CSV files
$chmod +x wormcat_batch_csv.sh#!/bin/bash
# Note: Place this script in the executable PATH and ensure Docker is installed and running
# This script simplifies the execution of WormCat Batch by allowing the user to provide a single path to the CSV files.
# The script automatically determines the output directory based on that path.
if [ "$#"=="1" ]; then
full_path=$(realpath "$1")
mount_dir=$(dirname "$full_path")
input_csv_dir=$(basename "$full_path")
else
echo "Usage: wormcat_batch.sh <full-path-to-csv-directory>"
exit 1
fi
if [ ! -d "$mount_dir" ]; then
echo "The mount directory does not exists: $mount_dir"
exit 1
fi
if [ ! -d "${mount_dir}/${input_csv_dir}" ]; then
echo "The input_csv directory does exists: $input_csv_dir"
exit 1
fi
output_dir="wormcat_out"
echo "Running wormcat_batch at ${mount_dir} and cvs path ${input_csv_dir}"
docker run --rm -v ${mount_dir}:/usr/data danhumassmed/wormcat_batch:1.0.1 wormcat_cli \
--input-csv-path /usr/data/${input_csv_dir} \
--output-path /usr/data/${output_dir} \
--clean-temp False
echo "The results can be found here: ${mount_dir}/${output_dir}"
Example usage
Note: Replace DIR_W_CSV_FILES with actual directory
wormcat_batch_csv.sh ./DIR_W_CSV_FILES
WormCat: an online tool for annotation and visualization of Caenorhabditis elegans genome-scale data
Amy D Holdorf, Daniel P Higgins, Anne C. Hart, Peter R Boag, Gregory Pazour, Albertha J. M. Walhout, Amy Karol Walker
Content type
Image
Digest
sha256:35cabfce0…
Size
835.5 MB
Last updated
almost 3 years ago
docker pull danhumassmed/wormcat_batch:1.0.1