from easy_ko.load_genomes import SharedData

def component(data: SharedData, name):
    df_components = data.components
    return df_components[df_components['part name'] == name]['part sequence'].iloc[0]