index.html 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370
  1. <!DOCTYPE html>
  2. <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
  3. <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8. <link rel="canonical" href="https://OLC-LOC-Bioinformatics.github.io/AzureStorage/download/">
  9. <link rel="shortcut icon" href="../img/favicon.ico">
  10. <title>Download - OLC Bioinformatics Azure Storage</title>
  11. <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700" />
  12. <link rel="stylesheet" href="../css/theme.css" />
  13. <link rel="stylesheet" href="../css/theme_extra.css" />
  14. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css" />
  15. <script>
  16. // Current page data
  17. var mkdocs_page_name = "Download";
  18. var mkdocs_page_input_path = "download.md";
  19. var mkdocs_page_url = "/AzureStorage/download/";
  20. </script>
  21. <script src="../js/jquery-2.1.1.min.js" defer></script>
  22. <script src="../js/modernizr-2.8.3.min.js" defer></script>
  23. <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
  24. <script>hljs.initHighlightingOnLoad();</script>
  25. </head>
  26. <body class="wy-body-for-nav" role="document">
  27. <div class="wy-grid-for-nav">
  28. <nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
  29. <div class="wy-side-scroll">
  30. <div class="wy-side-nav-search">
  31. <a href=".." class="icon icon-home"> OLC Bioinformatics Azure Storage</a>
  32. <div role="search">
  33. <form id ="rtd-search-form" class="wy-form" action="../search.html" method="get">
  34. <input type="text" name="q" placeholder="Search docs" title="Type search term here" />
  35. </form>
  36. </div>
  37. </div>
  38. <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
  39. <ul>
  40. <li class="toctree-l1"><a class="reference internal" href="..">Home</a>
  41. </li>
  42. </ul>
  43. <ul>
  44. <li class="toctree-l1"><a class="reference internal" href="../install/">Installation</a>
  45. </li>
  46. </ul>
  47. <ul>
  48. <li class="toctree-l1"><a class="reference internal" href="../credentials/">Credentials</a>
  49. </li>
  50. </ul>
  51. <ul>
  52. <li class="toctree-l1"><a class="reference internal" href="../upload/">Upload</a>
  53. </li>
  54. </ul>
  55. <ul>
  56. <li class="toctree-l1"><a class="reference internal" href="../sas_url/">SAS URL</a>
  57. </li>
  58. </ul>
  59. <ul>
  60. <li class="toctree-l1"><a class="reference internal" href="../move/">Move</a>
  61. </li>
  62. </ul>
  63. <ul class="current">
  64. <li class="toctree-l1 current"><a class="reference internal current" href="./">Download</a>
  65. <ul class="current">
  66. <li class="toctree-l2"><a class="reference internal" href="#general-usage">General usage</a>
  67. </li>
  68. <li class="toctree-l2"><a class="reference internal" href="#azuredownload-container">AzureDownload container</a>
  69. <ul>
  70. <li class="toctree-l3"><a class="reference internal" href="#required-arguments">Required arguments:</a>
  71. </li>
  72. <li class="toctree-l3"><a class="reference internal" href="#optional-arguments">Optional arguments:</a>
  73. </li>
  74. <li class="toctree-l3"><a class="reference internal" href="#example-commands">Example commands:</a>
  75. </li>
  76. <li class="toctree-l3"><a class="reference internal" href="#usage">Usage</a>
  77. </li>
  78. </ul>
  79. </li>
  80. <li class="toctree-l2"><a class="reference internal" href="#azuredownload-file">AzureDownload file</a>
  81. <ul>
  82. <li class="toctree-l3"><a class="reference internal" href="#required-arguments_1">Required arguments:</a>
  83. </li>
  84. <li class="toctree-l3"><a class="reference internal" href="#optional-arguments_1">Optional arguments:</a>
  85. </li>
  86. <li class="toctree-l3"><a class="reference internal" href="#example-commands_1">Example commands:</a>
  87. </li>
  88. <li class="toctree-l3"><a class="reference internal" href="#usage_1">Usage</a>
  89. </li>
  90. </ul>
  91. </li>
  92. <li class="toctree-l2"><a class="reference internal" href="#azuredownload-folder">AzureDownload folder</a>
  93. <ul>
  94. <li class="toctree-l3"><a class="reference internal" href="#required-arguments_2">Required arguments:</a>
  95. </li>
  96. <li class="toctree-l3"><a class="reference internal" href="#optional-arguments_2">Optional arguments:</a>
  97. </li>
  98. <li class="toctree-l3"><a class="reference internal" href="#example-commands_2">Example commands:</a>
  99. </li>
  100. <li class="toctree-l3"><a class="reference internal" href="#usage_2">Usage</a>
  101. </li>
  102. </ul>
  103. </li>
  104. </ul>
  105. </li>
  106. </ul>
  107. <ul>
  108. <li class="toctree-l1"><a class="reference internal" href="../set_tier/">Set Tier</a>
  109. </li>
  110. </ul>
  111. <ul>
  112. <li class="toctree-l1"><a class="reference internal" href="../delete/">Delete</a>
  113. </li>
  114. </ul>
  115. <ul>
  116. <li class="toctree-l1"><a class="reference internal" href="../automate/">Automate</a>
  117. </li>
  118. </ul>
  119. <ul>
  120. <li class="toctree-l1"><a class="reference internal" href="../list/">List</a>
  121. </li>
  122. </ul>
  123. </div>
  124. </div>
  125. </nav>
  126. <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
  127. <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
  128. <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
  129. <a href="..">OLC Bioinformatics Azure Storage</a>
  130. </nav>
  131. <div class="wy-nav-content">
  132. <div class="rst-content">
  133. <div role="navigation" aria-label="breadcrumbs navigation">
  134. <ul class="wy-breadcrumbs">
  135. <li><a href="..">Docs</a> &raquo;</li>
  136. <li>Download</li>
  137. <li class="wy-breadcrumbs-aside">
  138. <a href="https://github.com/OLC-LOC-Bioinformatics/AzureStorage/edit/main/docs/download.md"
  139. class="icon icon-github"> Edit on GitHub</a>
  140. </li>
  141. </ul>
  142. <hr/>
  143. </div>
  144. <div role="main">
  145. <div class="section">
  146. <h2 id="azuredownload">AzureDownload</h2>
  147. <p>Download containers, files, or folders from your Azure storage account</p>
  148. <p>Choose either the <a href="#azuredownload-container"><code>container</code></a>, <a href="#azuredownload-file"><code>file</code></a>, or <a href="#azuredownload-folder"><code>folder</code></a> functionality</p>
  149. <h4 id="general-usage">General usage</h4>
  150. <pre><code>usage: AzureDownload [-h] {container,file,folder} ...
  151. Download containers/files/folders from Azure storage
  152. optional arguments:
  153. -h, --help show this help message and exit
  154. Available functionality:
  155. {container,file,folder}
  156. container Download a container from Azure storage
  157. file Download a file from Azure storage
  158. folder Download a folder from Azure storage
  159. </code></pre>
  160. <h3 id="azuredownload-container">AzureDownload container</h3>
  161. <p>Download a container from your Azure storage account</p>
  162. <h4 id="required-arguments">Required arguments:</h4>
  163. <ul>
  164. <li>container name</li>
  165. <li>account name</li>
  166. </ul>
  167. <h4 id="optional-arguments">Optional arguments:</h4>
  168. <ul>
  169. <li>output path: local path where container is to be saved. Default is your current working directory</li>
  170. <li>passphrase used to store your connection string in the system keyring (default is AzureStorage)</li>
  171. <li>verbosity: set the logging level. Options are debug,info,warning,error,critical. Default is info</li>
  172. </ul>
  173. <h4 id="example-commands">Example commands:</h4>
  174. <p>These commands will use <code>container-name</code> as the name of the container and <code>account_name</code> as the name of the storage account</p>
  175. <p>To perform a basic container download (download to your current working directory)</p>
  176. <p><code>AzureDownload container -a account name -c container-name</code></p>
  177. <p>To download a container to the folder <code>outputs</code> in your current working directory</p>
  178. <p><code>AzureDownload container -a account name -c container-name -o outputs</code></p>
  179. <p>To download a container to the folder <code>/home/users/outputs</code> </p>
  180. <p><code>AzureDownload container -a account name -c container-name -o /home/users/outputs</code></p>
  181. <h4 id="usage">Usage</h4>
  182. <pre><code>usage: AzureDownload container [-h] -c CONTAINER_NAME -a ACCOUNT_NAME [-p PASSPHRASE] [-v VERBOSITY] [-o OUTPUT_PATH]
  183. Download a container from Azure storage
  184. optional arguments:
  185. -h, --help show this help message and exit
  186. -c CONTAINER_NAME, --container_name CONTAINER_NAME
  187. Name of the Azure storage container. Note that container names must be lowercase, between 3 and 63 characters, start with a letter or number, and can contain only letters, numbers, and the dash (-) character. Consecutive dashes are not permitted.
  188. -a ACCOUNT_NAME, --account_name ACCOUNT_NAME
  189. Name of the Azure storage account
  190. -p PASSPHRASE, --passphrase PASSPHRASE
  191. The passphrase to use when encrypting the azure storage-specific connection string to the system keyring. Default is &quot;AzureStorage&quot;.
  192. -v VERBOSITY, --verbosity VERBOSITY
  193. Set the logging level. Options are debug, info, warning, error, and critical. Default is info.
  194. -o OUTPUT_PATH, --output_path OUTPUT_PATH
  195. Name and path of directory in which the outputs are to be saved. Default is your $CWD
  196. </code></pre>
  197. <h3 id="azuredownload-file">AzureDownload file</h3>
  198. <p>Download a file from your Azure storage account</p>
  199. <h4 id="required-arguments_1">Required arguments:</h4>
  200. <ul>
  201. <li>container name</li>
  202. <li>account name</li>
  203. <li>file name</li>
  204. </ul>
  205. <h4 id="optional-arguments_1">Optional arguments:</h4>
  206. <ul>
  207. <li>output path: local path where container is to be saved. Default is your current working directory</li>
  208. <li>passphrase used to store your connection string in the system keyring (default is AzureStorage)</li>
  209. <li>verbosity: set the logging level. Options are debug,info,warning,error,critical. Default is info</li>
  210. </ul>
  211. <h4 id="example-commands_1">Example commands:</h4>
  212. <p>These commands will use <code>container-name</code> as the name of the container and <code>account_name</code> as the name of the storage account</p>
  213. <p>To download the file <code>file_name.gz</code> to your current working directory</p>
  214. <p><code>AzureDownload file -a account name -c container-name -f file_name.gz</code></p>
  215. <p>To download the file <code>file_name.gz</code> nested in the <code>outputs</code> folder to your current working directory</p>
  216. <p><code>AzureDownload file -a account name -c container-name -f outputs/file_name.gz</code></p>
  217. <p>To download the file <code>file_name.gz</code> nested in the <code>outputs</code> folder to the folder <code>files</code> in your current working directory</p>
  218. <p><code>AzureDownload file -a account name -c container-name -f outputs/file_name.gz -o files</code></p>
  219. <p>To download the file <code>file_name.gz</code> to the folder <code>/home/users/outputs</code> </p>
  220. <p><code>AzureDownload file -a account name -c container-name -f file_name.gz -o /home/users/outputs</code></p>
  221. <h4 id="usage_1">Usage</h4>
  222. <pre><code>usage: AzureDownload file [-h] -c CONTAINER_NAME -a ACCOUNT_NAME [-p PASSPHRASE] [-v VERBOSITY] [-o OUTPUT_PATH] -f FILE
  223. Download a file from Azure storage
  224. optional arguments:
  225. -h, --help show this help message and exit
  226. -c CONTAINER_NAME, --container_name CONTAINER_NAME
  227. Name of the Azure storage container. Note that container names must be lowercase, between 3 and 63 characters, start with a letter or number, and can contain only letters, numbers, and the dash (-) character. Consecutive dashes are not permitted.
  228. -a ACCOUNT_NAME, --account_name ACCOUNT_NAME
  229. Name of the Azure storage account
  230. -p PASSPHRASE, --passphrase PASSPHRASE
  231. The passphrase to use when encrypting the azure storage-specific connection string to the system keyring. Default is &quot;AzureStorage&quot;.
  232. -v VERBOSITY, --verbosity VERBOSITY
  233. Set the logging level. Options are debug, info, warning, error, and critical. Default is info.
  234. -o OUTPUT_PATH, --output_path OUTPUT_PATH
  235. Name and path of directory in which the outputs are to be saved. Default is your $CWD
  236. -f FILE, --file FILE Name of file to download from Azure storage.e.g. 2022-SEQ-0001_S1_L001_R1_001.fastq.gz
  237. </code></pre>
  238. <h3 id="azuredownload-folder">AzureDownload folder</h3>
  239. <p>Download a folder from your Azure storage account</p>
  240. <h4 id="required-arguments_2">Required arguments:</h4>
  241. <ul>
  242. <li>container name</li>
  243. <li>account name</li>
  244. <li>folder name</li>
  245. </ul>
  246. <h4 id="optional-arguments_2">Optional arguments:</h4>
  247. <ul>
  248. <li>output path: local path where container is to be saved. Default is your current working directory</li>
  249. <li>passphrase used to store your connection string in the system keyring (default is AzureStorage)</li>
  250. <li>verbosity: set the logging level. Options are debug,info,warning,error,critical. Default is info</li>
  251. </ul>
  252. <h4 id="example-commands_2">Example commands:</h4>
  253. <p>These commands will use <code>container-name</code> as the name of the container and <code>account_name</code> as the name of the storage account</p>
  254. <p>To download the folder <code>folder_name</code> to your current working directory</p>
  255. <p><code>AzureDownload folder -a account name -c container-name -f folder_name</code></p>
  256. <p>To download the folder <code>folder_name</code> nested in the <code>outputs</code> folder to your current working directory</p>
  257. <p><code>AzureDownload folder -a account name -c container-name -f outputs/folder_name</code></p>
  258. <p>To download the folder <code>folder_name</code> nested in the <code>outputs</code> folder to the folder <code>folders</code> in your current working directory</p>
  259. <p><code>AzureDownload folder -a account name -c container-name -f outputs/folder_name -o folders</code></p>
  260. <p>To download the folder <code>folder_name</code> to the folder <code>/home/users/outputs</code> </p>
  261. <p><code>AzureDownload folder -a account name -c container-name -f folder_name -o /home/users/outputs</code></p>
  262. <h4 id="usage_2">Usage</h4>
  263. <pre><code>usage: AzureDownload folder [-h] -c CONTAINER_NAME -a ACCOUNT_NAME [-p PASSPHRASE] [-v VERBOSITY] [-o OUTPUT_PATH] -f FOLDER
  264. Download a folder from Azure storage
  265. optional arguments:
  266. -h, --help show this help message and exit
  267. -c CONTAINER_NAME, --container_name CONTAINER_NAME
  268. Name of the Azure storage container. Note that container names must be lowercase, between 3 and 63 characters, start with a letter or number, and can contain only letters, numbers, and the dash (-) character. Consecutive dashes are not permitted.
  269. -a ACCOUNT_NAME, --account_name ACCOUNT_NAME
  270. Name of the Azure storage account
  271. -p PASSPHRASE, --passphrase PASSPHRASE
  272. The passphrase to use when encrypting the azure storage-specific connection string to the system keyring. Default is &quot;AzureStorage&quot;.
  273. -v VERBOSITY, --verbosity VERBOSITY
  274. Set the logging level. Options are debug, info, warning, error, and critical. Default is info.
  275. -o OUTPUT_PATH, --output_path OUTPUT_PATH
  276. Name and path of directory in which the outputs are to be saved. Default is your $CWD
  277. -f FOLDER, --folder FOLDER
  278. Name of the folder to download from Azure storage e.g. InterOp
  279. </code></pre>
  280. </div>
  281. </div>
  282. <footer>
  283. <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
  284. <a href="../set_tier/" class="btn btn-neutral float-right" title="Set Tier">Next <span class="icon icon-circle-arrow-right"></span></a>
  285. <a href="../move/" class="btn btn-neutral" title="Move"><span class="icon icon-circle-arrow-left"></span> Previous</a>
  286. </div>
  287. <hr/>
  288. <div role="contentinfo">
  289. <!-- Copyright etc -->
  290. </div>
  291. Built with <a href="https://www.mkdocs.org/">MkDocs</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
  292. </footer>
  293. </div>
  294. </div>
  295. </section>
  296. </div>
  297. <div class="rst-versions" role="note" aria-label="versions">
  298. <span class="rst-current-version" data-toggle="rst-current-version">
  299. <a href="https://github.com/OLC-LOC-Bioinformatics/AzureStorage/" class="fa fa-github" style="float: left; color: #fcfcfc"> GitHub</a>
  300. <span><a href="../move/" style="color: #fcfcfc;">&laquo; Previous</a></span>
  301. <span style="margin-left: 15px"><a href="../set_tier/" style="color: #fcfcfc">Next &raquo;</a></span>
  302. </span>
  303. </div>
  304. <script>var base_url = '..';</script>
  305. <script src="../js/theme.js" defer></script>
  306. <script src="../search/main.js" defer></script>
  307. <script defer>
  308. window.onload = function () {
  309. SphinxRtdTheme.Navigation.enable(true);
  310. };
  311. </script>
  312. </body>
  313. </html>