Skip to content

Commit

Permalink
Deployed 0fdff94 with MkDocs version: 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
william-swl committed Jun 25, 2024
1 parent 0c0c98a commit 4505177
Show file tree
Hide file tree
Showing 11 changed files with 558 additions and 2 deletions.
415 changes: 415 additions & 0 deletions dev/index.html

Large diffs are not rendered by default.

Binary file added img/gisflu-browsePage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/gisflu-downloadPage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/gisflu-firstPage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/gisflu-homePage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/gisflu-loginPage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/gisflu-resultPage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
138 changes: 137 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,17 @@



<label class="md-nav__link md-nav__link--active" for="__toc">


<span class="md-ellipsis">
Readme
</span>


<span class="md-nav__icon md-icon"></span>
</label>

<a href="." class="md-nav__link md-nav__link--active">


Expand All @@ -238,6 +249,61 @@

</a>



<nav class="md-nav md-nav--secondary" aria-label="Table of contents">






<label class="md-nav__title" for="__toc">
<span class="md-nav__icon md-icon"></span>
Table of contents
</label>
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>

<li class="md-nav__item">
<a href="#install" class="md-nav__link">
<span class="md-ellipsis">
install
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#login" class="md-nav__link">
<span class="md-ellipsis">
login
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#search" class="md-nav__link">
<span class="md-ellipsis">
search
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#download" class="md-nav__link">
<span class="md-ellipsis">
download
</span>
</a>

</li>

</ul>

</nav>

</li>


Expand Down Expand Up @@ -282,6 +348,50 @@



<label class="md-nav__title" for="__toc">
<span class="md-nav__icon md-icon"></span>
Table of contents
</label>
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>

<li class="md-nav__item">
<a href="#install" class="md-nav__link">
<span class="md-ellipsis">
install
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#login" class="md-nav__link">
<span class="md-ellipsis">
login
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#search" class="md-nav__link">
<span class="md-ellipsis">
search
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#download" class="md-nav__link">
<span class="md-ellipsis">
download
</span>
</a>

</li>

</ul>

</nav>
</div>
</div>
Expand All @@ -299,7 +409,33 @@


<h1 id="gisflu">gisflu</h1>
<p>Access the GISAID Flu database using Python</p>
<p>Access the GISAID Flu database using Python. Inspired by <a href="https://github.com/Wytamma/GISAIDR/tree/master">GISAIDR</a>, which is an R package for accessing the EpiCoV, EpiRSV and EpiPox database of GISAID.</p>
<h2 id="install">install</h2>
<pre><code class="language-sh"># use pip
pip install gisflu
# use pdm
pdm add gisflu
</code></pre>
<h2 id="login">login</h2>
<pre><code class="language-python">import gisflu

# Log in with provided username and password
gisflu.login(&quot;myusername&quot;, &quot;mypassword&quot;)

# Log in using environment variables
gisflu.login()
</code></pre>
<h2 id="search">search</h2>
<pre><code class="language-python">cred = gisflu.login()
gisflu.search(cred, type=[&quot;A&quot;], HA=[&quot;3&quot;], NA=[&quot;2&quot;],
collectDateFrom=&quot;2020-01-01&quot;, recordLimit=10)
</code></pre>
<h2 id="download">download</h2>
<pre><code class="language-python">cred = gisflu.login()
isolateIds = [&quot;EPI_ISL_19185107&quot;, &quot;EPI_ISL_19151100&quot;]
gisflu.download(cred, isolateIds, downloadType=&quot;protein&quot;, segments=[&quot;HA&quot;, &quot;NA&quot;],
filename=&quot;records.fasta&quot;)
</code></pre>



Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
<lastmod>2024-06-25</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://william-swl.github.io/gisflu/dev/</loc>
<lastmod>2024-06-25</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://william-swl.github.io/gisflu/reference/</loc>
<lastmod>2024-06-25</lastmod>
Expand Down
Binary file modified sitemap.xml.gz
Binary file not shown.

0 comments on commit 4505177

Please sign in to comment.