Datasets:
Update preprocessing scripts/Firefly Luciferase Interference_ preprocessing script.py
Browse files
preprocessing scripts/Firefly Luciferase Interference_ preprocessing script.py
CHANGED
|
@@ -82,21 +82,21 @@ df['X_3'] = df['SMILES_3'].apply(process_smiles)
|
|
| 82 |
|
| 83 |
# 5. Rename the columns
|
| 84 |
|
| 85 |
-
df.rename(columns={'X_1' : '
|
| 86 |
|
| 87 |
# 6. Create a file with sanitized SMILES
|
| 88 |
|
| 89 |
df[['REGID_1',
|
| 90 |
'REGID_2',
|
| 91 |
'REGID_3',
|
| 92 |
-
'
|
| 93 |
-
'
|
| 94 |
-
'
|
| 95 |
'log_AC50_M',
|
| 96 |
'Efficacy',
|
| 97 |
'CC-v2',
|
| 98 |
'Outcome',
|
| 99 |
'InChIKey',
|
| 100 |
'ID',
|
| 101 |
-
'ROMol']].to_csv('Firefly
|
| 102 |
|
|
|
|
| 82 |
|
| 83 |
# 5. Rename the columns
|
| 84 |
|
| 85 |
+
df.rename(columns={'X_1' : 'SMILES_1', 'X_2' : 'SMILES_2', 'X_3' : 'SMILES_3'}, inplace = True)
|
| 86 |
|
| 87 |
# 6. Create a file with sanitized SMILES
|
| 88 |
|
| 89 |
df[['REGID_1',
|
| 90 |
'REGID_2',
|
| 91 |
'REGID_3',
|
| 92 |
+
'SMILES_1',
|
| 93 |
+
'SMILES_2',
|
| 94 |
+
'SMILES_3',
|
| 95 |
'log_AC50_M',
|
| 96 |
'Efficacy',
|
| 97 |
'CC-v2',
|
| 98 |
'Outcome',
|
| 99 |
'InChIKey',
|
| 100 |
'ID',
|
| 101 |
+
'ROMol']].to_csv('Firefly Luciferase Interference.csv', index = False)
|
| 102 |
|