Feb-21-2020, 02:40 PM
(Feb-21-2020, 02:26 PM)Gribouillis Wrote: I thought goTerms was a list of lists. What is it exactly?
Its a list of GO numbers for every ID in a list (['P52326', 'P26480', 'P52327', 'P0A2E3', 'P00579', 'O24744', 'P32001', 'P57163', 'Q89B10', 'Q83BB6', 'Q9PDM9', 'Q87DT7', 'Q8PG33', 'P43766', 'Q8P4H2', 'P52325', 'P33452', 'Q59753', 'Q2K619', 'P52324', 'D5AQI9', 'P17531', 'P0CZ15', 'Q1RKH7', 'Q92FZ8', 'Q4UJT1', 'P33451', 'Q68VQ5'])
I also checked the type:
print(type(goTerms))<class 'list'>
<class 'list'>
<class 'list'>
....