{"action":"created","issue":{"url":"https://api.github.com/repos/pbnjay/lollipops/issues/13","labels_url":"https://api.github.com/repos/pbnjay/lollipops/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/pbnjay/lollipops/issues/13/comments","events_url":"https://api.github.com/repos/pbnjay/lollipops/issues/13/events","html_url":"https://github.com/pbnjay/lollipops/issues/13","id":130469731,"number":13,"title":"Unable to find Arial.ttf","user":{"login":"tinypirate08","id":4381264,"avatar_url":"https://avatars.githubusercontent.com/u/4381264?v=3","gravatar_id":"","url":"https://api.github.com/users/tinypirate08","html_url":"https://github.com/tinypirate08","followers_url":"https://api.github.com/users/tinypirate08/followers","following_url":"https://api.github.com/users/tinypirate08/following{/other_user}","gists_url":"https://api.github.com/users/tinypirate08/gists{/gist_id}","starred_url":"https://api.github.com/users/tinypirate08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tinypirate08/subscriptions","organizations_url":"https://api.github.com/users/tinypirate08/orgs","repos_url":"https://api.github.com/users/tinypirate08/repos","events_url":"https://api.github.com/users/tinypirate08/events{/privacy}","received_events_url":"https://api.github.com/users/tinypirate08/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-01T20:11:24Z","updated_at":"2016-02-01T20:50:38Z","closed_at":null,"body":"Hi I tried this handy littke thing on both Mac with Yosemite 10.10.5 and on my CentOS 6.6 box.\r\nI downloaded the binaries and started with a simple command for a single gene.\r\n\r\nI am getting the same error on both.\r\n\r\n-bash-4.1$ ./lollipops TAF1 S1579G\r\nERROR: Unable to find Arial.ttf - Required for accurate font sizing.\r\n       Please use -f=/path/to/arial.ttf or the TTF font of your choice.\r\n\r\nAny ideas what may be going on?\r\nThanks\r\n"},"comment":{"url":"https://api.github.com/repos/pbnjay/lollipops/issues/comments/178182065","html_url":"https://github.com/pbnjay/lollipops/issues/13#issuecomment-178182065","issue_url":"https://api.github.com/repos/pbnjay/lollipops/issues/13","id":178182065,"user":{"login":"pbnjay","id":161552,"avatar_url":"https://avatars.githubusercontent.com/u/161552?v=3","gravatar_id":"","url":"https://api.github.com/users/pbnjay","html_url":"https://github.com/pbnjay","followers_url":"https://api.github.com/users/pbnjay/followers","following_url":"https://api.github.com/users/pbnjay/following{/other_user}","gists_url":"https://api.github.com/users/pbnjay/gists{/gist_id}","starred_url":"https://api.github.com/users/pbnjay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbnjay/subscriptions","organizations_url":"https://api.github.com/users/pbnjay/orgs","repos_url":"https://api.github.com/users/pbnjay/repos","events_url":"https://api.github.com/users/pbnjay/events{/privacy}","received_events_url":"https://api.github.com/users/pbnjay/received_events","type":"User","site_admin":false},"created_at":"2016-02-01T20:50:38Z","updated_at":"2016-02-01T20:50:38Z","body":"If somehow you don't have the Font \"Arial\" installed on your system, then provide the path to something else for the image generation to use for labels. Arial is part of a typical install for Yosemite so I don't know why you wouldn't have it. On your Mac, there should be a bunch of fonts you can list with `ls /Library/Fonts/*.ttf` but on CentOS it's probably under `/usr/share/fonts/truetype/` I can't really help much with this issue other than pointing out the usage described in the error message.\r\n\r\nFor example, if you want to use another typical Mac OS X font called Andale Mono:\r\n```\r\n$ ./lollipops -f=\"/Library/Fonts/Andale Mono.ttf\" -o test.png TAF1 S1579G\r\nHGNC Symbol:  TAF1\r\nUniprot returned 46 hits for your gene symbol 'TAF1':\r\nEntry\tEntry name\tStatus\tGene names\tOrganism\r\nP04637\tP53_HUMAN\treviewed\tTP53 P53\tHomo sapiens (Human)\r\nP21675\tTAF1_HUMAN\treviewed\tTAF1 BA2R CCG1 CCGS TAF2A\tHomo sapiens (Human)\r\nQ01105\tSET_HUMAN\treviewed\tSET\tHomo sapiens (Human)\r\nP06400\tRB_HUMAN\treviewed\tRB1\tHomo sapiens (Human)\r\nQ03164\tKMT2A_HUMAN\treviewed\tKMT2A ALL1 CXXC7 HRX HTRX MLL MLL1 TRX1\tHomo sapiens (Human)\r\nP51610\tHCFC1_HUMAN\treviewed\tHCFC1 HCF1 HFC1\tHomo sapiens (Human)\r\nQ9Y230\tRUVB2_HUMAN\treviewed\tRUVBL2 INO80J TIP48 TIP49B CGI-46\tHomo sapiens (Human)\r\nQ15545\tTAF7_HUMAN\treviewed\tTAF7 TAF2F TAFII55\tHomo sapiens (Human)\r\nQ9Y265\tRUVB1_HUMAN\treviewed\tRUVBL1 INO80H NMP238 TIP49 TIP49A\tHomo sapiens (Human)\r\nP52655\tTF2AA_HUMAN\treviewed\tGTF2A1 TF2A1\tHomo sapiens (Human)\r\nQ99496\tRING2_HUMAN\treviewed\tRNF2 BAP1 DING HIPI3 RING1B\tHomo sapiens (Human)\r\nQ9HCK8\tCHD8_HUMAN\treviewed\tCHD8 HELSNF1 KIAA1564\tHomo sapiens (Human)\r\nQ16594\tTAF9_HUMAN\treviewed\tTAF9 TAF2G TAFII31\tHomo sapiens (Human)\r\nP20226\tTBP_HUMAN\treviewed\tTBP GTF2D1 TF2D TFIID\tHomo sapiens (Human)\r\nQ8IZX4\tTAF1L_HUMAN\treviewed\tTAF1L\tHomo sapiens (Human)\r\nQ9H7Z6\tKAT8_HUMAN\treviewed\tKAT8 MOF MYST1 PP7073\tHomo sapiens (Human)\r\nQ53T94\tTAF1B_HUMAN\treviewed\tTAF1B\tHomo sapiens (Human)\r\nP61244\tMAX_HUMAN\treviewed\tMAX BHLHD4\tHomo sapiens (Human)\r\nQ9Y294\tASF1A_HUMAN\treviewed\tASF1A CGI-98 HSPC146\tHomo sapiens (Human)\r\nP35269\tT2FA_HUMAN\treviewed\tGTF2F1 RAP74\tHomo sapiens (Human)\r\nP61964\tWDR5_HUMAN\treviewed\tWDR5 BIG3\tHomo sapiens (Human)\r\nQ8WWY3\tPRP31_HUMAN\treviewed\tPRPF31 PRP31\tHomo sapiens (Human)\r\nP49848\tTAF6_HUMAN\treviewed\tTAF6 TAF2E TAFII70\tHomo sapiens (Human)\r\nQ96EZ8\tMCRS1_HUMAN\treviewed\tMCRS1 INO80Q MSP58\tHomo sapiens (Human)\r\nQ9UBL3\tASH2L_HUMAN\treviewed\tASH2L ASH2L1\tHomo sapiens (Human)\r\nQ7Z3B3\tKANL1_HUMAN\treviewed\tKANSL1 CENP-36 KIAA1267 MSL1V1 NSL1\tHomo sapiens (Human)\r\nQ96IU4\tABHEB_HUMAN\treviewed\tABHD14B CIB\tHomo sapiens (Human)\r\nQ9NVP2\tASF1B_HUMAN\treviewed\tASF1B\tHomo sapiens (Human)\r\nO75461\tE2F6_HUMAN\treviewed\tE2F6\tHomo sapiens (Human)\r\nQ9Y262\tEIF3L_HUMAN\treviewed\tEIF3L EIF3EIP EIF3S6IP HSPC021 HSPC025 MSTP005\tHomo sapiens (Human)\r\nQ6PI98\tIN80C_HUMAN\treviewed\tINO80C C18orf37\tHomo sapiens (Human)\r\nQ9Y4W2\tLAS1L_HUMAN\treviewed\tLAS1L MSTP060\tHomo sapiens (Human)\r\nQ8IWI9\tMGAP_HUMAN\treviewed\tMGA KIAA0518 MAD5\tHomo sapiens (Human)\r\nQ8IZL8\tPELP1_HUMAN\treviewed\tPELP1 HMX3 MNAR\tHomo sapiens (Human)\r\nQ9BVI0\tPHF20_HUMAN\treviewed\tPHF20 C20orf104 GLEA2 HCA58 NZF TZP\tHomo sapiens (Human)\r\nQ15291\tRBBP5_HUMAN\treviewed\tRBBP5 RBQ3\tHomo sapiens (Human)\r\nQ3B726\tRPA43_HUMAN\treviewed\tTWISTNB\tHomo sapiens (Human)\r\nQ9NYV6\tRRN3_HUMAN\treviewed\tRRN3 TIFIA\tHomo sapiens (Human)\r\nQ9H4L4\tSENP3_HUMAN\treviewed\tSENP3 SSP3 SUSP3\tHomo sapiens (Human)\r\nQ15542\tTAF5_HUMAN\treviewed\tTAF5 TAF2D\tHomo sapiens (Human)\r\nQ7Z7C8\tTAF8_HUMAN\treviewed\tTAF8 TAFII43 TBN\tHomo sapiens (Human)\r\nQ5H9L4\tTAF7L_HUMAN\treviewed\tTAF7L TAF2Q\tHomo sapiens (Human)\r\nO00268\tTAF4_HUMAN\treviewed\tTAF4 TAF2C TAF2C1 TAF4A TAFII130 TAFII135\tHomo sapiens (Human)\r\nQ9NXF1\tTEX10_HUMAN\treviewed\tTEX10 L18 Nbla10363\tHomo sapiens (Human)\r\n\r\nSelected 'Q53T94' as the best match. Use -U XXX to use another ID.\r\n\r\nUniprot/SwissProt Accession:  Q53T94\r\nDrawing diagram to test.png\r\n\r\n```\r\n\r\nYou probably don't want the default selection there, use the appropriate Uniprot ID (with -U XXXX):\r\n\r\n```\r\n$ ./lollipops -f=\"/Library/Fonts/Andale Mono.ttf\" -o test.png -U P21675 S1579G   \r\nPfam Symbol:  TAF1_HUMAN\r\nDrawing diagram to test.png\r\n\r\n```\r\n![test](https://cloud.githubusercontent.com/assets/161552/12730632/d0d03506-c8fa-11e5-9707-5e8cdaa81cf2.png)\r\n"}}