Statistiques
| Branche: | Tag: | Révision :

dockonsurf / modules @ 0dfa15ff

# Date Auteur Commentaire
0dfa15ff 16/06/2020 12:50 Carles Marti

Changed input option from collision_bottom_z to collision_bottom

1d22a086 16/06/2020 08:26 Carles Marti

Implement add_adsorbate function which extends the functionality of ase.build.add_adsorbate by enabling to change the z coordinate and the axis perpendicular to the surface.

ab2d90e2 15/06/2020 08:46 Carles Marti

Added surf_file and molec_neigh_ctrs options to the input reading. Added hematite surface file to tests.

a5cc42ff 15/06/2020 08:44 Carles Marti

Reformatting files, added documentation and getting rid of useless pieces of code.

12a12bdd 11/06/2020 19:14 Carles Marti

Implemented get_atom_coords and vect_avg

f3d1e601 11/06/2020 19:13 Carles Marti

Designed structure of screening.py

c845c6f2 11/06/2020 19:05 Carles Marti

Included surf_file, molec_neigh_ctrs and surf_norm_vect as input parameters

4533134f 11/06/2020 18:20 Carles Marti

str2list accepts float numbers if it is called with the func=float argument.

42fed021 11/06/2020 18:04 Carles Marti

Updated documentation

d0939bb2 09/06/2020 18:22 Carles Marti

When clustering does not converge return every point as exemplar.

21e2cca5 09/06/2020 17:41 Carles Marti

When a SDF mol file has no explicit hydrogen atoms it adds them before converting it to the adequate format.

3f330154 09/06/2020 16:21 Carles Marti

Correct indentation for all submitted jobs

05464650 08/06/2020 19:33 Carles Marti

Corrected the extraction of MOI from a list of mol objects. For the plotting of graphs in clustering.py renamed boolean var debug to plot and added a check-backup on the plot file. Removed useless chunk on isolated.py.

af3e2441 08/06/2020 18:07 Carles Marti

Changed the import statement of internal libraries. Added logging to utilities.py

69d17e8b 07/06/2020 21:02 Carles Marti

Moved check_bak from calculation.py to utilities.py and try_command from dos_input.py to utilities.py

f8c4eafe 07/06/2020 20:46 Carles Marti

Implemented function to read energies of a set of finished calculations. Implemented auxiliary function equivalent to bash tail. Reformat blank spaces and add TODO lines

e07c09eb 07/06/2020 20:43 Carles Marti

Carry out the screening of adsorbate coordinates on a surface

fff3aab1 07/06/2020 17:42 Carles Marti

Moved get_rmsd from isolated.py to clustering.py and changed its functionality, now it expects a list of mol objects instead of a single mol object with multiple conformers in it.

b6f47f2d 07/06/2020 17:01 Carles Marti

Added read_coords function to read coordinates resulting from finished calculations.

0db30d07 07/06/2020 16:40 Carles Marti

Added 'local' and 'none' as possible batch queuing systems, to run calculations on the local computer and to not carry out the calculation at all (for debugging purposes).

439ce5f7 06/06/2020 18:31 Carles Marti

Allow to convert, to rdkit.Mol object, xyz files containing multiple geometries, taking into consideration only the last one.

12001182 05/06/2020 12:08 Carles Marti

Reorganized job submission, every batch_q_sys submitting function is directly called from run_calc. Updated requirements.txt

9324a38a 04/06/2020 18:30 Carles Marti

Add hydrogen atoms before the conformer generation.

2dfa562f 04/06/2020 17:02 Carles Marti

check_bak function checks if the target file_name is a directory or a file instead of checking if the name is present on the cwd. prep_cp2k works with the filename instead of the whole absolute filepath. Changed the warning message accordingly

826f0462 04/06/2020 16:59 Carles Marti

Added hidden files to .gitignore and Changed Information displayed on the log for the MMFF Opt.

a5f73b4c 04/06/2020 10:21 Carles Marti

Unified all run_types inside the same function

bd573212 04/06/2020 10:11 Carles Marti

Added fallback value for project_name in dos_input.py. Included log messages for submitted jobs on calculation.py, added TODO tasks and changed documentation on all three files.

93dcefe7 23/05/2020 20:42 Carles Marti

Fix: the number of the submitted jobs now matches the number of conforemer id.

426c4e60 23/05/2020 20:08 Carles Marti

Wait for all jobs to finish.

670284be 23/05/2020 20:04 Carles Marti

Changed get_queued_jobs_sge to get_jobs_status_sge which now returns a list of job status instead of a list that were in qw status.

277d1b39 23/05/2020 19:18 Carles Marti

Added init_dir variable

4933cb8a 23/05/2020 19:14 Carles Marti

Changed the number of conformers for which to warn the user to be greater than 1 and not 0

b05058e1 23/05/2020 18:54 Carles Marti

Check if 'COORD_FILE_NAME' is defined in CP2K input file, and if not set to a default value. Fixed forgotten change of directory back to the initial directory.

9510666f 23/05/2020 18:36 Carles Marti

Added a warning when a mol object with more than one conformer is parsed to the rdkit_mol_to_ase_atoms function. Extended confs_to_mol_list documentation

bcc9ff75 23/05/2020 18:34 Carles Marti

Removed 'project_name' from the mandatory options

c3cb279a 23/05/2020 18:32 Carles Marti

The former create_bak_calc_dir function, now called check_bak, has generalized its behavior by checking if a file or directory exists and if so backs it up to a .bakX where X is a number such that bakX does not already exist.

03fab2dd 23/05/2020 18:22 Carles Marti

Check if the input file of the code used for calculations is readable by the relevant library. Removed project_name from the mandatory options in Global.

9fd1daa6 20/05/2020 00:23 Carles Marti

Removed non used options from input and added new option on tests

7fd58762 19/05/2020 23:54 Carles Marti

Included 'project_name' on global mandatory options, corrected missing parentheses on str.capitalize method.

99afde40 19/05/2020 23:02 Carles Marti

Added the submission of jobs to the SGE batch queuing system

f3004731 18/05/2020 21:42 Carles Marti

Moved confs_to_mol_list function from isolated.py to formats.py module and generalised the calculations functions to be able to work with no matter which kind of calculation

8d08beb4 11/05/2020 23:28 Carles Marti

Changed logging of formats.py from info to debug severity level.

fee6b1f6 11/05/2020 23:27 Carles Marti

Corrected argument of prep_iso and improved code documentation

db7349af 11/05/2020 23:14 Carles Marti

Raise an error if clustering does not converge

3d6a9d3c 11/05/2020 23:14 Carles Marti

Created calculation.py module and moved prep_run from isolated.py to it

680944e4 11/05/2020 22:50 Carles Marti

Included printing the number of conformers generated and reformat documentation in isolated.py

fab7b517 11/05/2020 21:27 Carles Marti

Removed redundant UFF optimization, corrected type on conformer index in the writing of XYZ file and added debugging functionality for clustering.

15be7594 11/05/2020 21:23 Carles Marti

Changed import statements and added shebang to increase portability

a9b058a5 10/05/2020 23:48 Carles Marti

Extended documentation of run_isolated and prep_run

fd33bfdb 10/05/2020 23:29 Carles Marti

Implemented function to prepare the runs and reorganized the checks for using or not energy minima as conformers

75325cc3 10/05/2020 20:10 Carles Marti

Implemented clustering for Affinity matrices

54be2a9e 09/05/2020 08:53 Carles Marti

Moved adapt_format to be available in all module and catching an error on get_rmsd when its argument is not valid.

34a03ee1 03/05/2020 18:19 Carles Marti

Retrieve relevant magnitudes for clustering by calling the relative functions

62576f52 03/05/2020 17:55 Carles Marti

mmff_opt_confs function allows to carry out single point energy calculations if max_iters is set to 0.

92924d24 03/05/2020 11:55 Carles Marti

Split the generation of conformers and computation of their rmsd in two different functions. Added new functions to obtain the conformers moment of inertia and to optimize them using MMFF force field.

9e83b5a1 01/05/2020 17:54 Carles Marti

Changes rms to rmsd of new files

a5c74494 01/05/2020 17:49 Carles Marti

Revert "Changed rmsd for rms"

This reverts commit 5571316d

b1f6e69d 28/04/2020 16:11 Carles Marti

Extended gen_confs documentation and incorporated the possibility to choose whether molecule conformers should be minimum energy conformers or not.

5c70d6c6 27/04/2020 20:55 Carles Marti

Changed the way RMS between two conformers gets calculated. Now the RMS is performed by not considering hydrogens bonded to carbons but it does consider hydrogens bonded to all other atoms or not bonded at all.

b9551fc2 27/04/2020 20:49 Carles Marti

Disabled the removal of hydrogens when using rdkit sdl mol file reader. Now, rdkit mol object contain hydrogens explicitly.

89a980fc 27/04/2020 20:48 Carles Marti

Moved logger to a global variable

5571316d 25/04/2020 11:29 Carles Marti

Changed rmsd for rms

4614bb6a 25/04/2020 11:26 Carles Marti

Created a module for each stage of DockOnSurf and started developing the isolated one

0e83e6a6 21/04/2020 19:43 Carles Marti

Improved the documentation of the consequent docstrings

95dc2c8e 21/04/2020 19:22 Carles Marti

Included, the necessity to specify the molecule file to be adsorbed, in the input.

83f022c9 21/04/2020 15:37 Carles Marti

Changed the read_coords.py module name to formats.py which states more clearly the purpose of the module.

d8a6314e 21/04/2020 11:06 Carles Marti

Moved the printing of input variables from dockonsurf.py to dos_input.py

57710094 14/04/2020 19:54 Carles Marti

Created specific module for the reading of command-line arguments and transferred the relevant commands into it

4607d5ea 14/04/2020 18:59 Carles Marti

Included tests to the implemented functions to check new commits don't mess things up

8887f41d 14/04/2020 18:23 Carles Marti

Refactor file dos_input.py, every option is read and checked its value with a specific function for the purpose.
Included the possibility to run the file as standalone program.

faf8bd1f 13/04/2020 17:00 Carles Marti

Added empty init file to ease importing modules

9f7bb440 11/04/2020 20:42 Carles Marti

Increase of the input errors that get caught by the program, change how the logger is setup, its message format and how it is organized internally.

79e3db42 11/04/2020 20:38 Carles Marti

Reformat files and extend documentation

b606c71a 11/04/2020 20:18 Carles Marti

Moved the input file option from 'Global' to each relative section and changed the values of options to non-default ones.

4381145e 09/04/2020 20:20 Carles Marti

Include errors in the log, improved error handling by catching new errors.

e23f119b 09/04/2020 20:19 Carles Marti

Written the docstrings to document the code following the PEP 257 conventions

b5163003 09/04/2020 20:18 Carles Marti

Commented out useless print statement

8949edd0 09/04/2020 19:35 Carles Marti

Reformat and cleaning the code for improved readability and adequate it to PEP 8 conventions.

5cc4994b 09/04/2020 19:32 Carles Marti

Include errors in the log, improved error handling by catching new errors.

b77be9ad 09/04/2020 18:54 Carles Marti

Written the docstrings to document the code following the PEP 257 conventions

b5b2af64 09/04/2020 13:09 Carles Marti

Possible errors are now printed in both the screen and the log file. More errors are now handled properly.

5bfea9b9 09/04/2020 13:01 Carles Marti

Commented out useless print statement

8ab593ee 07/04/2020 21:01 Carles Marti

Implemented the read coordinates module working to read xyz and mol files and obtain rdkit and ase objects to work with

a02c931d 07/04/2020 20:40 Carles Marti

Added error handling functionality to input str2lst function

ec35a9b4 07/04/2020 15:19 Carles Marti

Refactoring code by creating modules directory and moving dos_input.py into it.

bf219e2b 01/04/2020 16:47 Carles Marti

Start v2 from scratch

3ba3c134 21/01/2020 15:14 Carles Marti

In the case of launching dockOnSurf.sh with the only-refinement flag and that an analyse / relaunched_calculation directories already exists, the user is asked whether to delete or not these directories before the script puts itself to run in background; Solves #2729

aa4d21b6 20/01/2020 14:43 Carles Marti

Merge branch 'master' of http://forge.cbp.ens-lyon.fr/git/dockonsurf

2137c2de 20/01/2020 14:42 Carles Marti

Now modules/fe_change.sh works even if the surface file ends with blank lines; fixes #2727

e75a54af 16/01/2020 11:32 Carles Marti

Removed the possibility to remove hydrogens from the RMSD check. Changed also the RMSD check to not include atom permutations. This should speed up the RMSD check process, while distinguishing different H spatial position when important like hydrogen bond formation

088cfdb3 07/01/2020 16:09 Carles Marti

Added the possibility to control the rmsd threshold in the check of different conformers

afd5ca03 06/01/2020 16:58 Carles Marti

Added the possibility to remove hydrogens during the calculation of RMSD of generated structures

76cb4d88 31/12/2019 18:17 Carles Marti

Sets the initial step number of the refinment calculation not to be conserved from the lower precision stage (ie. it starts always at 1); Fixes #2706

36f722bc 17/12/2019 10:05 Carles Marti

Added the possibility to carry out coadsorption. By adding the -b option, when the surface file already contains an adsorbed molecule, it creates a box around it to prevent the second adsorbate to overlap the first.

454be75d 27/11/2019 16:08 Carles Marti

Now dockonsurf takes the geometry of the optimized most stable conformer; fixes #2676

a63e902e 27/11/2019 15:00 Carles Marti

Corrected a typo in the comments

459ffbcd 17/10/2019 16:43 Marti Aliod Carles

Now it is possible to call dockonsurf.sh script with options. These include: Usage: dockonsurf [OPTION]=PATTERN -h, --help display this help text and exit. -q=NUM, --max-qw=NUM allows a maximum of NUM jobs on 'qw' status. -a, --only-ads carry out only adsorption part. -i, --only-isolated carry out only isolated molecules part. -r, --only-refinement carry out only refinement of adsorbed structure.

f43a1b4c 15/10/2019 11:58 Marti Aliod Carles

The check for running jobs has changed from checking the job name to checking the job num id.

d3aa7749 09/10/2019 15:14 Marti Aliod Carles

fe_change.sh now expects a surface xyz file ended with a carriage return character

86112fec 02/10/2019 16:50 Marti Aliod Carles

Initial files