Skip to content

Instantly share code, notes, and snippets.

View harish0201's full-sized avatar

Harish harish0201

  • Purdue University
  • Lafayette, IN, US
View GitHub Profile
@danilotat
danilotat / query_ensembl.py
Last active September 19, 2025 16:57
Fully remote, it downloads GTF annotation file from Ensembl FTP repo for the provided organism and version, than return .tsv file with gene_id and hgnc_symbol.
#!/usr/bin/python3
import sys
import os
import tempfile
import gzip
import argparse
from ftplib import FTP