modulefile 1.83 KB
Newer Older
bliven_s's avatar
bliven_s committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
#%Module

module-whatis	        "crYOLO is a fast and accurate particle picking procedure for electron microscopy"
module-url		"http://sphire.mpg.de/wiki/doku.php?id=pipeline:window:cryolo"
module-license	        "SPHIRE-crYOLO Complimentary Science Software License (http://sphire.mpg.de/wiki/doku.php?id=cryolo_license). Non-commercial academic and research purposes only"
module-maintainer	"Spencer Bliven <spencer.bliven@psi.ch>"

module-help	"
CrYOLO is a fast and accurate particle picking procedure. It's based on
convolutional neural networks and utilizes the popular You Only Look Once
(YOLO) object detection system.

  * crYOLO makes picking fast – On a modern GPU it will pick your particles at
    up to 6 micrographs per second.
  * crYOLO makes picking smart – The network learns the context of particles
    (e.g. not to pick particles on carbon or within ice contamination )
  * crYOLO makes training easy – You might use a general network model and skip
    training completely. However, if the general model doesn't give you
    satisfactory results or if you would like to improve them, you might want
    to train a specialized model specific for your data set by selecting
    particles (no selection of negative examples necessary) on a small number
    of micrographs.
"

# Check for supported shell types
set shelltype [module-info shelltype]
switch -- $shelltype {
    "sh" {
    }
    default {
        puts stderr "Shells of type '$shelltype' are NOT supported!"
    }
}

35 36
#set useflag [string map {{:} {}} $USEFLAGS]
#puts stderr "conda activate cryolo-${V_PKG}-${USEFLAGS%\n"
bliven_s's avatar
bliven_s committed
37 38 39

switch [module-info mode] {
    "load" {
40 41
      # Relies on the anaconda module being loaded since we need to update the path
      puts stdout "conda activate cryolo-1.5.6-gpu;\n"
bliven_s's avatar
bliven_s committed
42 43 44
    }
    "unload" -
    "remove" {
45
        puts stdout "conda deactivate;\n"
bliven_s's avatar
bliven_s committed
46 47 48
    }
}