diff --git a/tools/interactive/interactivetool_ilastik.xml b/tools/interactive/interactivetool_ilastik.xml new file mode 100644 index 000000000000..8f52af0b7b7b --- /dev/null +++ b/tools/interactive/interactivetool_ilastik.xml @@ -0,0 +1,107 @@ + + interactive learning and segmentation toolkit + + 1.4.0 + + + quay.io/galaxy/ilastik:@VERSION@ + + + + 5800 + + + + 1] + #if len(duplicates) > 0: + #set unique_duplicates = list(set(duplicates)) + echo "Cannot run ilastik because these identifiers are present more than once:" && + #for label in $unique_duplicates: + echo $label && + #end for + exit 1 && + #end if + export HOME=\$PWD && + ## Create a directory where the app user has access + mkdir -p ./output && + chown 1000:1000 ./output/ && + ## Make a copy of the existing project if exists + #if str($input_type.existing) == "existing": + cp '$input_type.project' ./output/MyProject.ilp && + #end if + + ## Link input images to current working directory + #for input in $infiles: + ln -s '$input' ./'$input.element_identifier'.tif && + #end for + ## Write the bash script to run: + #if str($input_type.existing) == "new": + echo "ilastik --new_project \$HOME/output/MyProject.ilp --workflow '$input_type.Workflow'" > ./ilastik_with_args && + #else: + echo "ilastik --project \$HOME/output/MyProject.ilp" > ./ilastik_with_args && + #end if + ## Copy it to /bin/ so it will be used by the container: + chmod +x ./ilastik_with_args && + cp ./ilastik_with_args '/bin/' && + /init + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 10.1038/s41592-019-0582-9 + +