Skip to content

Commit

Permalink
Dev (#6)
Browse files Browse the repository at this point in the history
* setup initial tests

* test: updated testing actions and test structure

* feat: added in some tests for utils

* feat: added in function for reading in population panel files separately

* draft: updated some tests

* test: population panel testing

* feat: new function to add in population handling

* test: added in test for verification of samples

* feat: vcf2frequency table now uses cyvcf2

* draft: small commit - still needs some fixing on docs

* test: some refactoring and some testing

* doc: some additional docstrings

* feat: updated to include data in installation

* feat: finally got cyvcf2 features working

* feat: not supporting windows due to cyvcf2

* feat: added update to make custom lists a little bit easier

* doc: cleaned up a lot of the original documentation
  • Loading branch information
aabiddanda authored Nov 10, 2022
1 parent 30d7ec0 commit 1703ff0
Show file tree
Hide file tree
Showing 50 changed files with 42 additions and 94,215 deletions.
Binary file removed docs/_images/notebooks_getting-started_11_0.png
Binary file not shown.
7,975 changes: 0 additions & 7,975 deletions docs/_images/notebooks_getting-started_11_0.svg

This file was deleted.

Binary file modified docs/_images/notebooks_getting-started_12_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2,492 changes: 0 additions & 2,492 deletions docs/_images/notebooks_getting-started_12_0.svg

This file was deleted.

2,451 changes: 0 additions & 2,451 deletions docs/_images/notebooks_getting-started_12_1.svg

This file was deleted.

Binary file removed docs/_images/notebooks_getting-started_13_0.png
Binary file not shown.
9,236 changes: 0 additions & 9,236 deletions docs/_images/notebooks_getting-started_13_0.svg

This file was deleted.

Binary file modified docs/_images/notebooks_getting-started_14_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3,139 changes: 0 additions & 3,139 deletions docs/_images/notebooks_getting-started_14_0.svg

This file was deleted.

3,139 changes: 0 additions & 3,139 deletions docs/_images/notebooks_getting-started_15_0.svg

This file was deleted.

Binary file removed docs/_images/notebooks_getting-started_17_0.png
Binary file not shown.
19,656 changes: 0 additions & 19,656 deletions docs/_images/notebooks_getting-started_17_0.svg

This file was deleted.

Binary file modified docs/_images/notebooks_getting-started_18_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2,963 changes: 0 additions & 2,963 deletions docs/_images/notebooks_getting-started_18_0.svg

This file was deleted.

2,963 changes: 0 additions & 2,963 deletions docs/_images/notebooks_getting-started_19_0.svg

This file was deleted.

Binary file removed docs/_images/notebooks_getting-started_23_0.png
Binary file not shown.
2,868 changes: 0 additions & 2,868 deletions docs/_images/notebooks_getting-started_23_0.svg

This file was deleted.

2,772 changes: 0 additions & 2,772 deletions docs/_images/notebooks_getting-started_24_0.svg

This file was deleted.

2,772 changes: 0 additions & 2,772 deletions docs/_images/notebooks_getting-started_25_0.svg

This file was deleted.

2,542 changes: 0 additions & 2,542 deletions docs/_images/notebooks_simulated-data_12_0.svg

This file was deleted.

3,203 changes: 0 additions & 3,203 deletions docs/_images/notebooks_simulated-data_14_0.svg

This file was deleted.

3,027 changes: 0 additions & 3,027 deletions docs/_images/notebooks_simulated-data_18_0.svg

This file was deleted.

192 changes: 0 additions & 192 deletions docs/_modules/geovar/geovar.html

This file was deleted.

2 changes: 1 addition & 1 deletion docs/_modules/geovar/utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ <h1>Source code for geovar.utils</h1><div class="highlight"><pre>
<span class="n">idx</span> <span class="o">=</span> <span class="o">~</span><span class="n">np</span><span class="o">.</span><span class="n">isin</span><span class="p">(</span><span class="n">colnames</span><span class="p">,</span> <span class="n">known_cols</span><span class="p">)</span>
<span class="c1"># Generate frequency matrix and the population names</span>
<span class="n">freq_mat</span> <span class="o">=</span> <span class="n">af_df</span><span class="p">[</span><span class="n">af_df</span><span class="o">.</span><span class="n">columns</span><span class="p">[</span><span class="n">idx</span><span class="p">]]</span><span class="o">.</span><span class="n">values</span>
<span class="n">pop_names</span> <span class="o">=</span> <span class="n">af_df</span><span class="o">.</span><span class="n">columns</span><span class="p">[</span><span class="n">idx</span><span class="p">]</span><span class="o">.</span><span class="n">tolist</span><span class="p">()</span>
<span class="n">pop_names</span> <span class="o">=</span> <span class="n">af_df</span><span class="o">.</span><span class="n">columns</span><span class="p">[</span><span class="n">idx</span><span class="p">]</span>
<span class="k">return</span> <span class="p">(</span><span class="n">pop_names</span><span class="p">,</span> <span class="n">freq_mat</span><span class="p">)</span></div>


Expand Down
2 changes: 1 addition & 1 deletion docs/_modules/geovar/viz.html
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ <h1>Source code for geovar.viz</h1><div class="highlight"><pre>
<span class="sd">&quot;&quot;&quot;Add population labels from a file for GeoVar plot.</span>

<span class="sd"> Args:</span>
<span class="sd"> popfile (:obj:`string`): path to population list file with one file per line.</span>
<span class="sd"> popfile (:obj:`string`): path to population list file with one population per line.</span>

<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">assert</span> <span class="bp">self</span><span class="o">.</span><span class="n">geodist</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span>
Expand Down
17 changes: 8 additions & 9 deletions docs/_sources/notebooks/getting-started.ipynb.txt

Large diffs are not rendered by default.

334 changes: 0 additions & 334 deletions docs/_sources/notebooks/simulated-data.ipynb.txt

This file was deleted.

21 changes: 0 additions & 21 deletions docs/_sources/stubs/geovar.binning.GeoVar.rst.txt

This file was deleted.

21 changes: 0 additions & 21 deletions docs/_sources/stubs/geovar.geovar.GeoVar.rst.txt

This file was deleted.

18 changes: 0 additions & 18 deletions docs/_sources/stubs/geovar.viz.GeoVarPlot.rst.txt

This file was deleted.

Binary file removed docs/_static/contents.png
Binary file not shown.
Loading

0 comments on commit 1703ff0

Please sign in to comment.