
import itertools
from collections import defaultdict

gse_to_reference = defaultdict(itertools.repeat("?").__next__, 
    {
    "ogura_in_prep": "Ogura, Hutchins et al., in prep",
    "GSE55385": "Hutchins et al., 2015",
    "GSE74747": "Huntley et al., 2016",
    "GSE39524": "ENCODE",
    "GSE36026": "ENCODE",
    "GSE29278": "Shen et al., 2012",
    "GSE20898": "Wei et al., 2011",
    "GSE39756": "Li et al., 2012",
    "GSE40463": "Vahedi et al., 2012",
    "GSE40350": "Ring et al., 2012",
    "GSE42207": "Chuong et al., 2013",
    "GSE40436": "Morasso et al., 2012",
    "GSE42880": "Mellen et al., 2012",
    "GSE38371": "Ostuni et al., 2013",
    "GSE42443": "Yu et al., 2013",
    "GSE33024": "Bergsland et al., 2013",
    "GSE20851": "Guttman et al., 2010",
    "GSE29209": "Grabherr et al., 2012",
    "GSE31530": "Hutchins et al., 2012",
    "GSE34550": "Hutchins et al., 2012",
    "GSE30641": "Cotney et al., 2012",
    "GSE29898": "Sun et al., 2013",
    "GSE39656": "Klattenhoff et al., 2013",
    "GSE40132": "Zhang et al., 2013",
    "GSE44402": "Wang et al., 2013",
    "GSE25549": "Mousavi et al., 2012",
    "GSE33497": "Liu et al., 2012",
    "GSE38741": "Baba et al., 2012",
    "GSE33497": "Liu et al., 2012",
    "GSE40522": "Ulirsch et al., 2014",
    "GSE33497": "Yamaguchi et al., 2012",
    "GSE33497": "Barlow et al., 2013",
    "GSE31235": "Zhang et al., 2013",
    "GSE42443": "Yu et al., 2013",
    "GSE42912": "Kadkhodaei et al., 2013",
    "GSE39656": "Klattenhoff et al., 2013",
    "GSE41908": "Yamaguchi et al., 2012",
    "GSE42207": "Chuong et al., 2013",
    "GSE41637": "Merkin et al., 2012",
    'GSE35616': "van den Berghe et al., 2013",
    'GSE43504': "Barlow et al., 2013",
    'DRP000457': "",
    'GSE39918': "Jia et al., 2013",
    'GSE35005': "Gan et al., 2013",
    'GSE38359': "Mustafi et al., 2012",
    'DRP000508': "Kobayashi et al., 2012",
    'GSE38820': "Bandyopadhyay et al., 2013",
    'GSE38805': "Fietz et al., 2012",
    'SRP007294': "",
    'GSE33343': "Lerch et al., 2012",
    'GSE38892': "Bhatt et al., 2012",
    'GSE33921': "Macfarlan et al., 2012",
    'GSE33922': "Macfarlan et al., 2012",
    'GSE37076': "Solovei et al., 2013",
    'GSE37641': "Wang et al., 2013",
    "GSE45782": "Sher et al., 2013",
    "GSE28666": "Hebenstreit et al., 2011",
    "GSE44183": "Huang et al., 2013",
    'GSE20187': "Tang et al., 2010",
    "GSE44553": "Aksoy et al., 2013",
    "GSE52261": "Guo et al., 2014", 
    "GSE52525": "Lovatt et al., 2014",
    "GSE45719": "Deng et al., 2014",
    "GSE55966": "Brunskill et al., 2014",
    "GSE39918": "Jia et al., 2013",
    'GSE47948': 'Wamstad et al., 2012',  
    'GSE44366': 'Delpretti et al., 2013',  
    'GSE48305': 'Wong et al., 2013',  
    'GSE45278': 'Ramos et al., 2013',  
    'GSE48020': 'Pilon et al., 2011',  
    'GSE42805': 'Feng et al., 2014',  
    'GSE52016': 'Yoo et al., 2015',  
    'ERP005749': 'Boroviak et al., 2014',  
    'GSE53983': 'An et al., 2014; Paralkar et al., 2014',  
    'GSE46688': 'Pong et al., 2013',  
    'GSE51735': 'Zhang et al., 2013',  
    'GSE48005': 'Li et al., 2013',  
    'GSE42704': 'Frangini et al., 2013',  
    'GSE39509': 'Wang et al., 2013',  
    'GSE47851': 'Yagi et al., 2014',  
    'GSE46700': 'Kumar et al., 2013',  
    'GSE47705': 'Hogenbirk et al., 2013',  
    'GSE45182': 'Morgani et al., 2013',  
    'GSE45180': 'Gao et al., 2013',  
    'GSE44942': 'Mann et al., 2013',  
    'GSE44945': 'St-Pierre et al., 2013',  
    'GSE58843': 'www.biorxiv.org/content/biorxiv/early/2014/06/07/005876.full.pdf',  
    'GSE52402': 'Lei et al., 2014',  
    'GSE44288': 'Whyte et al., 2013',  
    'GSE31234': 'Zhang et al., 2012',  
    'GSE47966': 'Lister et al., 2013',  
    'GSE57409': 'Factor et al., 2014',  
    'GSE53942': 'Zhang et al., 2014',  
    'GSE42339': 'Raines et al., 2013',  
    'GSE49622': 'Hammoud et al., 2014',  
    'GSE43351': 'Ji et al., 2013',  
    'GSE42573': 'Hancock et al., 2014',  
    'GSE60101': 'Lara-Astiaso et al., 2014',  
    'GSE49457': 'Marques et al., 2013',  
    'GSE52564': 'Zhang et al., 2014',
    'GSE53110': 'Sansom et al., 2014', 
    'GSE66049': 'Branco et al., 2016', 
    'GSE65321': '', 
    'GSE60603': 'Wu et al., 2015', 
    'GSE71734': 'Atarashi et al., 2015', 
    'GSE78005': 'Yao et al., 2016', 
    'GSE58733': 'Lowe et al., 2015', 
    'GSE73225': 'Garside et al., 2015', 
    'GSE54973': 'Benner et al., 2014', 
    'GSE60377': 'Liu et al., 2014', 
    'E_MTAB-2857': 'Takashima et al., 2014', 
    'GSE77941': 'Cui et al., 2016', 
    'GSE52502': 'Deho et al., 2014', 
    'GSE53150': '', 
    'GSE47703': 'Hogenbirk et al., 2016', 
    'GSE77550': 'Parenti et al., 2016', 
    'E-MTAB-2262': 'Cabezas-Wallscheid et al., 2014', 
    'GSE73372': 'He et al., 2016', 
    'GSE72166': 'Chang et al., 2015', 
    'GSE55590': 'Spiegel et al., 2014', 
    'GSE73175': 'Patenaude et al., 2016', 
    'GSE45657': 'Xing et al., 2014', 
    'GSE61505': 'Genander et al., 2014', 
    })

import itertools
from collections import defaultdict

gse_to_reference = defaultdict(itertools.repeat("?").__next__, 
    {
    "ogura_in_prep": "Ogura, Hutchins et al., in prep",
    "GSE55385": "Hutchins et al., 2015",
    "GSE74747": "Huntley et al., 2016",
    "GSE39524": "ENCODE",
    "GSE36026": "ENCODE",
    "GSE29278": "Shen et al., 2012",
    "GSE20898": "Wei et al., 2011",
    "GSE39756": "Li et al., 2012",
    "GSE40463": "Vahedi et al., 2012",
    "GSE40350": "Ring et al., 2012",
    "GSE42207": "Chuong et al., 2013",
    "GSE40436": "Morasso et al., 2012",
    "GSE42880": "Mellen et al., 2012",
    "GSE38371": "Ostuni et al., 2013",
    "GSE42443": "Yu et al., 2013",
    "GSE33024": "Bergsland et al., 2013",
    "GSE20851": "Guttman et al., 2010",
    "GSE29209": "Grabherr et al., 2012",
    "GSE31530": "Hutchins et al., 2012",
    "GSE34550": "Hutchins et al., 2012",
    "GSE30641": "Cotney et al., 2012",
    "GSE29898": "Sun et al., 2013",
    "GSE39656": "Klattenhoff et al., 2013",
    "GSE40132": "Zhang et al., 2013",
    "GSE44402": "Wang et al., 2013",
    "GSE25549": "Mousavi et al., 2012",
    "GSE33497": "Liu et al., 2012",
    "GSE38741": "Baba et al., 2012",
    "GSE33497": "Liu et al., 2012",
    "GSE40522": "Ulirsch et al., 2014",
    "GSE33497": "Yamaguchi et al., 2012",
    "GSE33497": "Barlow et al., 2013",
    "GSE31235": "Zhang et al., 2013",
    "GSE42443": "Yu et al., 2013",
    "GSE42912": "Kadkhodaei et al., 2013",
    "GSE39656": "Klattenhoff et al., 2013",
    "GSE41908": "Yamaguchi et al., 2012",
    "GSE42207": "Chuong et al., 2013",
    "GSE41637": "Merkin et al., 2012",
    'GSE35616': "van den Berghe et al., 2013",
    'GSE43504': "Barlow et al., 2013",
    'DRP000457': "",
    'GSE39918': "Jia et al., 2013",
    'GSE35005': "Gan et al., 2013",
    'GSE38359': "Mustafi et al., 2012",
    'DRP000508': "Kobayashi et al., 2012",
    'GSE38820': "Bandyopadhyay et al., 2013",
    'GSE38805': "Fietz et al., 2012",
    'SRP007294': "",
    'GSE33343': "Lerch et al., 2012",
    'GSE38892': "Bhatt et al., 2012",
    'GSE33921': "Macfarlan et al., 2012",
    'GSE33922': "Macfarlan et al., 2012",
    'GSE37076': "Solovei et al., 2013",
    'GSE37641': "Wang et al., 2013",
    "GSE45782": "Sher et al., 2013",
    "GSE28666": "Hebenstreit et al., 2011",
    "GSE44183": "Huang et al., 2013",
    'GSE20187': "Tang et al., 2010",
    "GSE44553": "Aksoy et al., 2013",
    "GSE52261": "Guo et al., 2014", 
    "GSE52525": "Lovatt et al., 2014",
    "GSE45719": "Deng et al., 2014",
    "GSE55966": "Brunskill et al., 2014",
    "GSE39918": "Jia et al., 2013",
    'GSE47948': 'Wamstad et al., 2012',  
    'GSE44366': 'Delpretti et al., 2013',  
    'GSE48305': 'Wong et al., 2013',  
    'GSE45278': 'Ramos et al., 2013',  
    'GSE48020': 'Pilon et al., 2011',  
    'GSE42805': 'Feng et al., 2014',  
    'GSE52016': 'Yoo et al., 2015',  
    'ERP005749': 'Boroviak et al., 2014',  
    'GSE53983': 'An et al., 2014; Paralkar et al., 2014',  
    'GSE46688': 'Pong et al., 2013',  
    'GSE51735': 'Zhang et al., 2013',  
    'GSE48005': 'Li et al., 2013',  
    'GSE42704': 'Frangini et al., 2013',  
    'GSE39509': 'Wang et al., 2013',  
    'GSE47851': 'Yagi et al., 2014',  
    'GSE46700': 'Kumar et al., 2013',  
    'GSE47705': 'Hogenbirk et al., 2013',  
    'GSE45182': 'Morgani et al., 2013',  
    'GSE45180': 'Gao et al., 2013',  
    'GSE44942': 'Mann et al., 2013',  
    'GSE44945': 'St-Pierre et al., 2013',  
    'GSE58843': 'www.biorxiv.org/content/biorxiv/early/2014/06/07/005876.full.pdf',  
    'GSE52402': 'Lei et al., 2014',  
    'GSE44288': 'Whyte et al., 2013',  
    'GSE31234': 'Zhang et al., 2012',  
    'GSE47966': 'Lister et al., 2013',  
    'GSE57409': 'Factor et al., 2014',  
    'GSE53942': 'Zhang et al., 2014',  
    'GSE42339': 'Raines et al., 2013',  
    'GSE49622': 'Hammoud et al., 2014',  
    'GSE43351': 'Ji et al., 2013',  
    'GSE42573': 'Hancock et al., 2014',  
    'GSE60101': 'Lara-Astiaso et al., 2014',  
    'GSE49457': 'Marques et al., 2013',  
    'GSE52564': 'Zhang et al., 2014',
    'GSE53110': 'Sansom et al., 2014', 
    'GSE66049': 'Branco et al., 2016', 
    'GSE65321': '', 
    'GSE60603': 'Wu et al., 2015', 
    'GSE71734': 'Atarashi et al., 2015', 
    'GSE78005': 'Yao et al., 2016', 
    'GSE58733': 'Lowe et al., 2015', 
    'GSE73225': 'Garside et al., 2015', 
    'GSE54973': 'Benner et al., 2014', 
    'GSE60377': 'Liu et al., 2014', 
    'E_MTAB-2857': 'Takashima et al., 2014', 
    'GSE77941': 'Cui et al., 2016', 
    'GSE52502': 'Deho et al., 2014', 
    'GSE53150': '', 
    'GSE47703': 'Hogenbirk et al., 2016', 
    'GSE77550': 'Parenti et al., 2016', 
    'E-MTAB-2262': 'Cabezas-Wallscheid et al., 2014', 
    'GSE73372': 'He et al., 2016', 
    'GSE72166': 'Chang et al., 2015', 
    'GSE55590': 'Spiegel et al., 2014', 
    'GSE73175': 'Patenaude et al., 2016', 
    'GSE45657': 'Xing et al., 2014', 
    'GSE61505': 'Genander et al., 2014', 
    })