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/15 09:36] – admin | hex [2017/02/22 14:43] (Version actuelle) – admin | ||
|---|---|---|---|
| Ligne 10: | Ligne 10: | ||
| ====== How to use it? ====== | ====== How to use it? ====== | ||
| + | |||
| + | ===== Interactive mode ===== | ||
| + | |||
| < | < | ||
| Ligne 17: | Ligne 20: | ||
| Before starting using Hex, we need to create a cache directory in **WORK** folder : | Before starting using Hex, we need to create a cache directory in **WORK** folder : | ||
| - in your WORK create a directory named hex_work: mkdir hex_work | - in your WORK create a directory named hex_work: mkdir hex_work | ||
| - | - append your '' | + | - append your '' |
| + | |||
| + | </ | ||
| Ligne 28: | Ligne 33: | ||
| {{: | {{: | ||
| + | |||
| + | |||
| + | ===== Batch mode ===== | ||
| + | This mode is used to run '' | ||
| + | |||
| + | <code bash> | ||
| + | hex [-options] [pdbfile(s)] | ||
| + | </ | ||
| + | |||
| + | Say we want to run docking of two structures '' | ||
| + | |||
| + | <file bash dock_ab.mac> | ||
| + | DOCKING_RECEPTOR_SAMPLES | ||
| + | DOCKING_LIGAND_SAMPLES | ||
| + | DOCKING_ALPHA_SAMPLES | ||
| + | |||
| + | 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 | ||
| + | </ | ||
| + | |||