INNER CODE UNIT · Python
__init__
linnabrown/run_dbcan · dbcan/cli/cgc_process_json.py:30
def __init__(self, data):
self.df = data
def extract_gs(self, dataList):
"""
Extracts gene strings from the provided data list.
This method processes each entry in the dataList, extracting and concatenating specific gene-related information based on gene types like CAZyme, TC, TF, STP, and Null_Type.
Args:
dataList (list): A list of dictionaries, each containing gene and protein information.
Returns
-------
str: A string representing concatenated gene information.
"""
i = 0
geneL = []