Skip to content

Instantly share code, notes, and snippets.

View ladyrassilon's full-sized avatar

Gemma Hentsch ladyrassilon

View GitHub Profile
@ladyrassilon
ladyrassilon / OrthologuesIDs
Created April 27, 2016 12:37 — forked from GenDataPro/OrthologuesIDs
Use a list of Ensembl human gene IDs to generate the related orthologue IDs
import requests
import json
from collections import Counter
import pandas as pd
file_name = "/Users/Dani/OneDrive/GenDataPro/TFs.txt"
with open(file_name) as gene_text:
gene_file = gene_text.read()
gene_ids = gene_file.split()