From f025b30338d43c5b225f5621000211090d2d8fbd Mon Sep 17 00:00:00 2001
From: Harshad Hegde <hegdehb@gmail.com>
Date: Sun, 22 Sep 2024 11:33:17 -0500
Subject: [PATCH] corrected query

---
 src/uniprot2s3/main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/uniprot2s3/main.py b/src/uniprot2s3/main.py
index bd43642..84d1b89 100644
--- a/src/uniprot2s3/main.py
+++ b/src/uniprot2s3/main.py
@@ -186,7 +186,7 @@ def fetch_uniprot_reference_proteome_data() -> list:
     file_path = Path(RAW_DATA_DIR) / f"{PROTEOMES_FILENAME}.{UNIPROT_DESIRED_FORMAT}"
     # all_proteomes_query = "%28*%29"
     filtered_proteomes_query = (
-        "(*)+AND+((superkingdom:Bacteria)+OR+(superkingdom:Archaea))+AND+((proteome_type:1)+OR+(proteome_type:2))"
+        "((superkingdom:Bacteria)+OR+(superkingdom:Archaea))+AND+((proteome_type:1)+OR+(proteome_type:2))"
     )
 
     url = construct_query_url(