CONTAINER_ID=$( docker run -d-p$APP_PORT:3838 $DOCK_VOL$APP_IMG)
VM_IP=$(curl bot.whatismyipaddress.com)
if[$CONTAINER_ID]
then
echo" "
echo You have to put your Data on : ${VOL_DEV}/Data
echo" "
echo Results will be written to : ${VOL_DEV}/Results
echo" "
echo You can access the workflow interface at : https://${VM_IP}
echo" "
echo To start a Bash session inside the container : docker exec-it$CONTAINER_ID /bin/bash
echo" "
echo To run the workflow without the interface : docker exec-it$CONTAINER_ID snakemake -s /workflow/Snakefile all --configfile config --cores XX
echo" "
echo config est un fichier de configuration qui doit être dans un sous dossier de ${VOL_DEV}/Data ou ${VOL_DEV}/Results
echo" "
echo ex. si fichier dans ${VOL_DEV}/Data/run1/maconfig1.yml : docker exec-it$CONTAINER_ID snakemake -s /workflow/Snakefile all --configfile /Data/run1/maconfig1.yml --cores XX
echo" "
echo Vous pouvez utiliser l''interface graphique pour générer un fichier de configuration.
echo" "
echo XX étant le nombre de coeurs qui seront utilisés par le workflow.