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:32] – 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)] | ||
| </ | </ | ||
| - | Say we want to run docking of two structures '' | + | Say we want to run docking of two structures '' |
| <file bash dock_ab.mac> | <file bash dock_ab.mac> | ||
| Ligne 67: | Ligne 66: | ||
| </ | </ | ||
| - | We run '' | + | We run '' |
| <code bash > | <code bash > | ||
| Ligne 81: | Ligne 80: | ||
| <code bash> | <code bash> | ||
| - | $ singularity exec SING_SPOOL/ | + | $ singularity exec $SING_SPOOL/ |
| </ | </ | ||
| The final SGE script, to run the command above using 16 cores is : | 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 | #$ -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 95: | Ligne 94: | ||
| ## run hex inside singularity | ## run hex inside singularity | ||
| - | singularity exec SING_SPOOL/ | + | singularity exec $SING_SPOOL/ |
| - | </code> | + | </file> |
| Finally submit the job to SGE: | Finally submit the job to SGE: | ||