INNER CODE UNIT · Python
run_dbCan_section
linnabrown/run_dbcan · dbcan/cli/cgc_process_json.py:142
def run_dbCan_section(self, df_puls):
"""
Processes the dataframe and yields gene and protein information.
This method iterates over each row of the dataframe and yields a dictionary containing gene and protein information.
Currently, this method is a stub and needs to be implemented.
Args:
df_puls (DataFrame): The dataframe containing gene and protein data.
Yields
------
dict: A dictionary containing gene and protein information.
"""
for _ in df_puls.itertuples():
yield {
# "Gene_Type": row.gene_type,
# "Gene_Start": row.gene_start,