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 13:47] – [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> | ||
| - | ex [-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 |
| - | -nice n (runs at lower priority: n a " | + | DOCKING_ALPHA_SAMPLES |
| - | -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) | + | |
| + | 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 | ||
| + | </ | ||
| + | |||
| + | We run '' | ||
| + | |||
| + | <code bash > | ||
| + | $ hex -nogui -ncpu 2 a.pdb b.pdb -e dock_ab.mac -l docking_ab.log | ||
| </ | </ | ||
| + | |||
| + | |||
| + | |||
| + | <note important> | ||
| + | Typically, we run hex inside '' | ||
| + | </ | ||
| + | |||
| + | |||
| + | <code bash> | ||
| + | $ singularity exec $SING_SPOOL/ | ||
| + | </ | ||
| + | |||
| + | The final SGE script, to run the command above using 16 cores is : | ||
| + | <file bash script.sge> | ||
| + | #!/bin/bash | ||
| + | #$ -N Docking | ||
| + | #$ -q all.q | ||
| + | #$ -pe openmp 16 ## we request 16 cores | ||
| + | |||
| + | ## We load singularity module | ||
| + | module load tools/ | ||
| + | |||
| + | ## run hex inside singularity | ||
| + | singularity exec $SING_SPOOL/ | ||
| + | |||
| + | </ | ||
| + | |||
| + | Finally submit the job to SGE: | ||
| + | <code bash> | ||
| + | $ qsub script.sge | ||
| + | </ | ||