openmolecules.org

 
Home » DataWarrior » Functionality » Macro for evolutionary library (EL) in Datwarrior (DW)
Re: Macro for evolutionary library (EL) in Datwarrior (DW) [message #1712 is a reply to message #1711] Sat, 27 August 2022 17:20 Go to previous messageGo to previous message
nbehrnd is currently offline  nbehrnd
Messages: 224
Registered: June 2019
Senior Member
Dear Jon,

thanks to Thomas' new update of DW for Mac/Linux (packaged 2022-08-27 15:02), I generated a new (tiny) set of random molecules (file Random_Molecules.dwar) used to record a toy macro (1to1.dwam) to loop over the first three entries of the molecule library, to pick one molecule at a time as 1st generation molecule of the evolutionary library. For now, only a computationally affordable criterion of fitness was set (molecular weight .lt. 400 g/mol).

When I let this macro work*, it generates three individual evolutionary libraries. Instead of a set of multiple molecules, there is only one molecule as seed for this new collection.

Does this matches better your intent mentioned by August 9th? If this were the case, one could now reflect about further work along this direction; 1) about an approach which doesn't stop after the third cycle. And 2) instead of the current pick of seed molecules by structure to address the input by row number in Random_Molecules.dwar.

Norwid


*) DW 5.5.0 with the afternoon update 2022-08-27 15:02 in Linux Debian 12/bookworm. Both Random_Molecules.dwar as well as the macro 1to1.dwam were in the same folder (Desktop) during the test run. The path for the new data deposits (here three lines), e.g.

fileName=/home/norwid/Desktop/Evolutionary_Library_01.dwar

in 1to1.dwam requires an update to your environment accessible.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Find & Replace or alternative for stereoisomers
Next Topic: update/recalculation of all computed array data
Goto Forum:
  


Current Time: Fri Nov 22 18:00:22 CET 2024

Total time taken to generate the page: 0.04219 seconds