Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| hex [2017/02/22 14:00] – [Batch mode] admin | hex [2017/02/22 14:43] (Version actuelle) – admin | ||
|---|---|---|---|
| Ligne 38: | Ligne 38: | ||
| This mode is used to run '' | This mode is used to run '' | ||
| - | Here is the list of available options for command line interface: | ||
| <code bash> | <code bash> | ||
| hex [-options] [pdbfile(s)] | hex [-options] [pdbfile(s)] | ||
| + | </ | ||
| - | where options may be a combination | + | Say we want to run docking |
| - | + | ||
| - | -v# | + | <file bash dock_ab.mac> |
| - | -ncpu n | + | DOCKING_RECEPTOR_SAMPLES |
| - | -ngpu n | + | DOCKING_LIGAND_SAMPLES |
| - | -nogui | + | DOCKING_ALPHA_SAMPLES |
| - | -nice n (runs at lower priority: n a " | + | |
| - | -cuda | + | |
| - | -nocuda | + | |
| - | -kill (try to kill any stuck Hex jobs) | + | |
| - | -g (run within a debugger such as gdb) | + | |
| - | -debug | + | |
| - | -noexec | + | |
| - | -gui (force GUI mode even when stdin is not a terminal) | + | |
| - | -stereo | + | |
| - | -s (same as -stereo) | + | |
| - | -nostereo | + | |
| - | -nos (same as -nostereo) | + | |
| - | -messages | + | |
| - | -nomessages | + | |
| - | -stdout | + | |
| - | -log logfile | + | |
| - | -l | + | |
| - | -pdb pdbfiles (load up to 3 PDB files to be displayed) | + | |
| - | -browse | + | |
| - | -noligand | + | |
| - | -2 (short form of -noligand: superposes two molecules) | + | |
| - | -pos (position ligand near receptor - the default) | + | |
| - | -nopos | + | |
| - | -e macfile(s) (execute up to 3 macro files) | + | |
| - | </code> | + | RECEPTOR_RANGE_ANGLE |
| + | LIGAND_RANGE_ANGLE | ||
| + | TWIST_RANGE_ANGLE | ||
| + | |||
| + | R12_RANGE | ||
| + | R12_STEP | ||
| + | GRID_SIZE | ||
| + | LIGAND_RANGE_ANGLE | ||
| + | RECEPTOR_RANGE_ANGLE | ||
| + | |||
| + | DOCKING_MAIN_SCAN | ||
| + | DOCKING_MAIN_SEARCH | ||
| + | |||
| + | |||
| + | ACTIVATE_DOCKING | ||
| + | </file> | ||
| + | |||
| + | We run '' | ||
| - | For example, docking with macros file using 2 cores: | ||
| <code bash > | <code bash > | ||
| - | $ hex -nogui -ncpu 2 r.pdb | + | $ hex -nogui -ncpu 2 a.pdb |
| </ | </ | ||
| - | <note important> | + | <note important> |
| - | Typically, we run hex inside singularity like this (example taken from hex website): | + | Typically, we run hex inside |
| </ | </ | ||
| <code bash> | <code bash> | ||
| - | $ singularity exec SING_SPOOL/ | + | $ singularity exec $SING_SPOOL/ |
| </ | </ | ||
| - | The final SGE script, to run the command above using 16 cores: | + | The final SGE script, to run the command above using 16 cores is : |
| - | <code bash> | + | <file bash script.sge> |
| #!/bin/bash | #!/bin/bash | ||
| + | #$ -N Docking | ||
| #$ -q all.q | #$ -q all.q | ||
| - | #$ - pe openmp 16 ## we request 16 cores | + | #$ -pe openmp 16 ## we request 16 cores |
| ## We load singularity module | ## We load singularity module | ||
| Ligne 103: | Ligne 94: | ||
| ## run hex inside singularity | ## run hex inside singularity | ||
| - | singularity exec SING_SPOOL/ | + | singularity exec $SING_SPOOL/ |
| - | </ | + | </file> |
| - | + | ||
| + | Finally submit the job to SGE: | ||
| + | <code bash> | ||
| + | $ qsub script.sge | ||
| + | </ | ||