Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial to Create SPLIF Features #7

Open
sawsimeon opened this issue Mar 5, 2021 · 0 comments
Open

Tutorial to Create SPLIF Features #7

sawsimeon opened this issue Mar 5, 2021 · 0 comments

Comments

@sawsimeon
Copy link

Hi,
I would like to know is there a way where I could create a SPLIF features into a single array of 4096 size. I do not know how to create a dataframe of the output from the SPLIF function.

import numpy as np
import pandas as pd
import oddt
import oddt.pandas as opd
from oddt.fingerprints import SPLIF

receptor = next(oddt.toolkit.readfile('pdb', 'xiap/receptor_rdkit.pdb'))
data = opd.read_sdf('xiap/actives_docked.sdf')
splif = SPLIF(data['mol'][0], protein=receptor)
splif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant