35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
#%Module
|
|
|
|
module-whatis "A pipeline for particle detection in cryo-electron microscopy images using convolutional neural networks trained from positive and unlabeled examples. Topaz also includes methods for micrograph and tomogram denoising using deep denoising models."
|
|
module-url "https://github.com/tbepler/topaz"
|
|
module-license "https://github.com/tbepler/topaz/blob/master/LICENSE"
|
|
module-maintainer "Greta Assmann <greta.assmann@psi.ch>"
|
|
|
|
module-help "Particle Picker for CryoEM. Used with Cryosparc"
|
|
|
|
# Check for supported shell types
|
|
set shelltype [module-info shelltype]
|
|
switch -- $shelltype {
|
|
"sh" {
|
|
puts stdout "conda(){ :; };"
|
|
puts stdout "set +u"
|
|
puts stdout "source \"${PREFIX}\"/miniconda/etc/profile.d/conda.sh;\n"
|
|
}
|
|
default {
|
|
puts stderr "Shells of type '$shelltype' are NOT supported!"
|
|
}
|
|
}
|
|
|
|
|
|
switch [module-info mode] {
|
|
"load" {
|
|
# Relies on the anaconda module being loaded since we need to update the path
|
|
puts stdout "conda activate ${P}_${V};\n"
|
|
}
|
|
"unload" -
|
|
"remove" {
|
|
puts stdout "conda deactivate;\n"
|
|
}
|
|
}
|
|
|