{"id":956,"date":"2020-07-27T14:29:37","date_gmt":"2020-07-27T14:29:37","guid":{"rendered":"http:\/\/timony.com\/mickzblog\/?p=956"},"modified":"2020-07-27T14:29:37","modified_gmt":"2020-07-27T14:29:37","slug":"portal-client","status":"publish","type":"post","link":"https:\/\/timony.com\/mickzblog\/2020\/07\/27\/portal-client\/","title":{"rendered":"Install portal_client on Linux"},"content":{"rendered":"\n<p>A user asked for help installing <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/IGS\/portal_client\" target=\"_blank\">Portal Client<\/a>. Which is a:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Python-based client for downloading data files hosted by the an instance of the portal software developed by the GDC and further modified by the Institute for Genome Sciences (IGS)<\/p><\/blockquote>\n\n\n\n<p>You can install this in any directory that you have write permissions to, and you will need python3 installed. <\/p>\n\n\n\n<p>Here are the quickie install instructions:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>git clone https:\/\/github.com\/IGS\/portal_client;\npython3 -m venv --copies VENV_portal_client;\nsource VENV_portal_client\/bin\/activate;\npip install -r portal_client\/requirements.txt;\ncd portal_client;\neasy_install . ;<\/code><\/pre>\n\n\n\n<p>Any time you need to run the tool, source the Python Virtual Environment (virtualenv) and run the command. For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>source VENV_portal_client\/bin\/activate;\nportal_client --help;<\/code><\/pre>\n\n\n\n<p>If you use a lot of Python virtualenv&#8217;s, I suggest using the virtualenvwrapper tool, which makes it easier to manage and run many virtualenv&#8217;s:<br><br><a href=\"https:\/\/virtualenvwrapper.readthedocs.io\/en\/latest\/\">https:\/\/virtualenvwrapper.<\/a><a href=\"https:\/\/virtualenvwrapper.readthedocs.io\/en\/latest\/\" target=\"_blank\" rel=\"noreferrer noopener\">readthedocs<\/a><a href=\"https:\/\/virtualenvwrapper.readthedocs.io\/en\/latest\/\">.io\/en\/latest\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A user asked for help installing Portal Client. Which is a: Python-based client for downloading data files hosted by the an instance of the portal software developed by the GDC and further modified by the Institute for Genome Sciences (IGS) You can install this in any directory that you have write permissions to, and you &hellip; <a href=\"https:\/\/timony.com\/mickzblog\/2020\/07\/27\/portal-client\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Install portal_client on Linux<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[22,665],"tags":[721,722,720,390,719,670],"class_list":["post-956","post","type-post","status-publish","format-standard","hentry","category-linux","category-python","tag-gdc","tag-genome-sciences","tag-igs","tag-linux","tag-portal_client","tag-python"],"_links":{"self":[{"href":"https:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/posts\/956","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/comments?post=956"}],"version-history":[{"count":4,"href":"https:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/posts\/956\/revisions"}],"predecessor-version":[{"id":960,"href":"https:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/posts\/956\/revisions\/960"}],"wp:attachment":[{"href":"https:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/media?parent=956"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/categories?post=956"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/tags?post=956"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}