Installation¶
Requirements¶
- Python 3.9 or higher
- pip package manager
Basic Installation¶
Install gs2txt from PyPI:
Installation with Optional Dependencies¶
With Enrichment Support¶
For built-in pathway enrichment using GSEApy:
With All Features¶
For Development¶
Development Installation¶
Clone the repository and install in editable mode:
Verify Installation¶
import gs2txt
from gs2txt import GeneSetAnnotator
from gs2txt.llm import OpenAIProvider, AnthropicProvider, LiteLLMProvider
print("gs2txt installed successfully!")
API Keys¶
gs2txt requires an API key for the LLM provider you choose: