File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 1
- cff-version : version = "25.4.30 "
1
+ cff-version : version = "25.5.26 "
2
2
title : ' funannotate2: eukaryotic genome annotation'
3
3
message : >-
4
4
If you use this software, please cite it using the
@@ -17,5 +17,5 @@ keywords:
17
17
- functional annotation
18
18
- consensus gene models
19
19
license : BSD-2-Clause
20
- version : version = "25.4.30 "
21
- date-released : ' 2025-05-01 '
20
+ version : version = "25.5.26 "
21
+ date-released : ' 2025-05-26 '
Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ def lookup_taxonomy(name):
299
299
This function retrieves a taxonomy dictionary for a specified organism by querying
300
300
an external taxonomy service. If the species name is valid, it returns a dictionary
301
301
containing taxonomic levels and names. If the name is invalid or an error occurs,
302
- it returns False.
302
+ it returns False. EDIT: JGI changed superkingdom to domain, so map it.
303
303
304
304
Parameters:
305
305
- name (str): The name of the organism to fetch, e.g., 'Aspergillus nidulans'.
@@ -321,7 +321,7 @@ def lookup_taxonomy(name):
321
321
# reformat result to simpler version
322
322
data = {}
323
323
for i in [
324
- "superkingdom " ,
324
+ "domain " ,
325
325
"kingdom" ,
326
326
"phylum" ,
327
327
"class" ,
@@ -331,7 +331,10 @@ def lookup_taxonomy(name):
331
331
"species" ,
332
332
]:
333
333
if i in result :
334
- data [i ] = result [i ]["name" ]
334
+ if i == "domain" :
335
+ data ["superkingdom" ] = result [i ]["name" ]
336
+ else :
337
+ data [i ] = result [i ]["name" ]
335
338
return data
336
339
except requests .exceptions .RequestException as e :
337
340
print ("ERROR in taxonomy lookup: {}" .format (e ))
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
5
5
[project ]
6
6
name = " funannotate2"
7
- version = " 25.4.30 "
7
+ version = " 25.5.26 "
8
8
description = " Funannotate2: eukarytoic genome annotation pipeline"
9
9
readme = {file = " README.md" , content-type = " text/markdown" }
10
10
authors = [
You can’t perform that action at this time.
0 commit comments