jade.RAbD_BM.tools_features_db.get_all_entries(df, pdbid, cdr)[source]

Get all entries of a given PDBID and CDR. :param df: pandas.DataFrame :rtype: pandas.DataFrame

jade.RAbD_BM.tools_features_db.get_cdr_cluster_df(db_path)[source]

Get a dataframe with typical cluster info in it, which was generated by the features reporter framework. :param db_con: sqlite3.con :rtype: pandas.DataFrame

jade.RAbD_BM.tools_features_db.get_cluster(df, pdbid, cdr)[source]

Get the fullcluster from the dataframe for native or experimental data

Parameters:df – pandas.DataFrame
Return type:str
jade.RAbD_BM.tools_features_db.get_cluster_matches(df, pdbid, cdr, cluster)[source]

Get a dataframe of the matching (“Recovered”) rows (DataFrame).

Parameters:df – pandas.DataFrame
Return type:pandas.DataFrame:
jade.RAbD_BM.tools_features_db.get_cluster_recovery(df, pdbid, cdr, cluster)[source]

Get the number of matches in the df and pdbid to the cdr and cluster :param df: pandas.DataFrame :rtype: int

jade.RAbD_BM.tools_features_db.get_length(df, pdbid, cdr)[source]

Get the length from the dataframe for native or experimental data

Parameters:df – pandas.DataFrame
Return type:int
jade.RAbD_BM.tools_features_db.get_length_matches(df, pdbid, cdr, length)[source]

Get a dataframe of the matching (“Recovered”) rows (DataFrame).

Parameters:
  • df – pandas.DataFrame
  • length – int
Return type:

pandas.DataFrame

jade.RAbD_BM.tools_features_db.get_length_recovery(df, pdbid, cdr, length)[source]

Get the number of matches in the df and pdbid to the cdr and length

Parameters:
  • df – pandas.DataFrame
  • length – int
Return type:

int

jade.RAbD_BM.tools_features_db.get_total_entries(df, pdbid, cdr)[source]

Get the total number of entries of the particular CDR and PDBID in the database :param df: pandas.DataFrame :rtype: int