binding_affinity / dcoid_combine.py
jglaser's picture
add RF2 scoring for testing
0a05de5
raw
history blame
352 Bytes
import pandas as pd
import sys
if __name__ == '__main__':
import glob
df_actives = pd.read_parquet(sys.argv[1])
df_decoys = pd.read_parquet(sys.argv[2])
df_actives['active'] = pd.Series([True]*len(df_actives))
df_decoys['active'] = pd.Series([False]*len(df_decoys))
pd.concat([df_actives,df_decoys]).to_parquet(sys.argv[3])