-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #216 from VlachosGroup/hb-dev
Add example
- Loading branch information
Showing
6 changed files
with
92 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file added
BIN
+651 KB
...t-al-log-partition-coefficients/aimsim_2020_HMF_Paper_ESI_COSMO_RS_Screening Results.xlsx
Binary file not shown.
75 changes: 75 additions & 0 deletions
75
examples/Wang-et-al-log-partition-coefficients/config_logP.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
--- | ||
is_verbose: False | ||
molecule_database: '/Users/himaghnabhattacharjee/Documents/Research/AIMSim_project/AIMSim/examples/Wang-et-al-log-partition-coefficients/aimsim_2020_HMF_Paper_ESI_COSMO_RS_Screening Results.xlsx' | ||
molecule_database_source_type: excel | ||
similarity_measure: tanimoto | ||
only_valid_dist: False | ||
measure_id_subsample: 0.001 | ||
fingerprint_type: morgan_fingerprint | ||
sampling_ratio: 1 | ||
n_threads: 1 | ||
|
||
# The task field decides what you want to do | ||
# Each task field contains a sub-task field which further modifies the task. | ||
# The task fields are arranged as: | ||
# tasks: | ||
# task 1: | ||
# sub-tasks of task 1 | ||
# The lines beginning with '#!' can be directly uncommented to implement them. | ||
|
||
tasks: | ||
compare_target_molecule: | ||
target_molecule_smiles: 'C1=CC=C(C=C1)O' # put in SMILES string | ||
draw_molecules: True | ||
similarity_plot_settings: # turn on in case a plot of similarity score is desired | ||
plot_color: '#FD6F96' # Set a color recognized by matplotlib | ||
shade: true | ||
plot_title: 'Compared to Phenol' | ||
log_file_path: '/Users/himaghnabhattacharjee/Documents/Research/AIMSim_project/AIMSim/examples/Wang-et-al-log-partition-coefficients/log/compare_target_mol_phenol.txt' | ||
visualize_dataset: | ||
heatmap_plot_settings: | ||
cmap: 'RdPu' # Matplotlib recognized cmap (color map) used for heatmap. | ||
plot_title: 'Pairwise Similarities' # Set a title for plot if needed. | ||
annotate: False # put in True or False. Default is False. | ||
similarity_plot_settings: | ||
plot_color: '#6F69AC' # Set a color recognized by matplotlib. | ||
plot_title: 'Pairwise Similarity' | ||
shade: True | ||
#!xticklabels: # set labels for x-axis ticks | ||
#!yticklabels: # set labels for y-axis ticks | ||
####### | ||
embedding_plot_settings: | ||
plot_color: '#6F69AC' | ||
plot_title: '2D MDS Embedding' | ||
embedding: | ||
method: mds | ||
params: | ||
random_state: 421 | ||
######## | ||
see_property_variation_w_similarity: | ||
# file w/ rows of molecule name and property separated by single space | ||
# row format --> "molecule-name(or smile string)" "property" | ||
# e.g. --> water 100 | ||
log_file_path: '/Users/himaghnabhattacharjee/Documents/Research/AIMSim_project/AIMSim/examples/Wang-et-al-log-partition-coefficients/log/show_prop_var.txt' # complete path of output file | ||
property_plot_settings: | ||
plot_color: '#FD6F96' | ||
cluster: | ||
n_clusters: 2 | ||
clustering_method: kmedoids | ||
log_file_path: '/Users/himaghnabhattacharjee/Documents/Research/AIMSim_project/AIMSim/examples/Wang-et-al-log-partition-coefficients/log/cluster_log.txt' | ||
cluster_file_path: 'log/clusters.yml' | ||
cluster_plot_settings: | ||
cluster_colors: | ||
- '#6F69AC' | ||
- '#FD6F96' | ||
- '#4C4C6D' | ||
####### | ||
embedding_plot_settings: | ||
plot_title: 'Clustering' | ||
embedding: | ||
method: mds | ||
params: | ||
random_state: 421 | ||
######## | ||
|
||
|
1 change: 1 addition & 0 deletions
1
examples/Wang-et-al-log-partition-coefficients/log/cluster_log.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Embedding method mds. random seed 421 |
11 changes: 11 additions & 0 deletions
11
examples/Wang-et-al-log-partition-coefficients/log/compare_target_mol_phenol.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
***** FOR MOLECULE C1=CC=C(C=C1)O ***** | ||
|
||
****Maximum Similarity Molecules **** | ||
Molecule: Phenol | ||
Similarity: 1.0 | ||
|
||
****Minimum Similarity Molecules **** | ||
Molecule: 1,1,1,2,2,3,4,5,5,5-Decafluoropentane.coskf | ||
Similarity: 0.0 | ||
|
||
|
5 changes: 5 additions & 0 deletions
5
examples/Wang-et-al-log-partition-coefficients/log/show_prop_var.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pearson in the properties of the most dissimilar molecules | ||
------------------------------------------------------------ | ||
|
||
-0.0032155043078219065 | ||
2 tailed p-value: 0.8810536450322208 |