Skip to content

Commit

Permalink
Deploying to gh-pages from @ ecf3aa2 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinschaper committed Oct 4, 2024
1 parent fe5b9b2 commit 9244dfb
Show file tree
Hide file tree
Showing 5 changed files with 122 additions and 87 deletions.
35 changes: 35 additions & 0 deletions docs/Usage/CLI/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,15 @@
</label>
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>

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

</li>

<li class="md-nav__item">
<a href="#koza-transform" class="md-nav__link">
<span class="md-ellipsis">
Expand Down Expand Up @@ -624,6 +633,15 @@
</label>
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>

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

</li>

<li class="md-nav__item">
<a href="#koza-transform" class="md-nav__link">
<span class="md-ellipsis">
Expand Down Expand Up @@ -673,9 +691,26 @@ <h1 id="koza"><code>koza</code></h1>
</ul>
<p><strong>Commands</strong>:</p>
<ul>
<li><code>split</code>: Split a file by fields</li>
<li><code>transform</code>: Transform a source file</li>
<li><code>validate</code>: Validate a source file</li>
</ul>
<h2 id="koza-split"><code>koza split</code></h2>
<p>Split a file by fields</p>
<p><strong>Usage</strong>:</p>
<div class="highlight"><pre><span></span><code><span class="gp">$ </span>koza<span class="w"> </span>split<span class="w"> </span><span class="o">[</span>OPTIONS<span class="o">]</span><span class="w"> </span>FILE<span class="w"> </span>FIELDS
</code></pre></div>
<p><strong>Arguments</strong>:</p>
<ul>
<li><code>FILE</code>: Path to the source kgx file to be split [required]</li>
<li><code>FIELDS</code>: Comma separated list of fields to split on [required]</li>
</ul>
<p><strong>Options</strong>:</p>
<ul>
<li><code>--remove-prefixes / --no-remove-prefixes</code>: Remove prefixes from the file names for values from the specified fields. (e.g, NCBIGene:9606 becomes 9606 [default: no-remove-prefixes]</li>
<li><code>--output-dir TEXT</code>: Path to output directory [default: output]</li>
<li><code>--help</code>: Show this message and exit.</li>
</ul>
<h2 id="koza-transform"><code>koza transform</code></h2>
<p>Transform a source file</p>
<p><strong>Usage</strong>:</p>
Expand Down
156 changes: 78 additions & 78 deletions docs/Usage/Module/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -758,16 +758,16 @@ <h2 id="src.koza.cli_utils.get_koza_app" class="doc doc-heading">

<details class="quote">
<summary>Source code in <code>src/koza/cli_utils.py</code></summary>
<div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">26</span>
<span class="normal">27</span>
<div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">27</span>
<span class="normal">28</span>
<span class="normal">29</span>
<span class="normal">30</span>
<span class="normal">31</span>
<span class="normal">32</span>
<span class="normal">33</span>
<span class="normal">34</span>
<span class="normal">35</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="k">def</span> <span class="nf">get_koza_app</span><span class="p">(</span><span class="n">source_name</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">Optional</span><span class="p">[</span><span class="n">KozaApp</span><span class="p">]:</span>
<span class="normal">35</span>
<span class="normal">36</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="k">def</span> <span class="nf">get_koza_app</span><span class="p">(</span><span class="n">source_name</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">Optional</span><span class="p">[</span><span class="n">KozaApp</span><span class="p">]:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Return a KozaApp object for a given source</span>

<span class="sd"> Args:</span>
Expand Down Expand Up @@ -868,47 +868,47 @@ <h2 id="src.koza.cli_utils.get_translation_table" class="doc doc-heading">

<details class="quote">
<summary>Source code in <code>src/koza/cli_utils.py</code></summary>
<div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">162</span>
<span class="normal">163</span>
<span class="normal">164</span>
<span class="normal">165</span>
<span class="normal">166</span>
<span class="normal">167</span>
<span class="normal">168</span>
<span class="normal">169</span>
<span class="normal">170</span>
<span class="normal">171</span>
<span class="normal">172</span>
<span class="normal">173</span>
<span class="normal">174</span>
<span class="normal">175</span>
<span class="normal">176</span>
<span class="normal">177</span>
<span class="normal">178</span>
<span class="normal">179</span>
<span class="normal">180</span>
<span class="normal">181</span>
<span class="normal">182</span>
<span class="normal">183</span>
<span class="normal">184</span>
<span class="normal">185</span>
<span class="normal">186</span>
<span class="normal">187</span>
<span class="normal">188</span>
<span class="normal">189</span>
<span class="normal">190</span>
<span class="normal">191</span>
<span class="normal">192</span>
<span class="normal">193</span>
<span class="normal">194</span>
<span class="normal">195</span>
<span class="normal">196</span>
<span class="normal">197</span>
<span class="normal">198</span>
<span class="normal">199</span>
<span class="normal">200</span>
<span class="normal">201</span>
<span class="normal">202</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="k">def</span> <span class="nf">get_translation_table</span><span class="p">(</span>
<div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">225</span>
<span class="normal">226</span>
<span class="normal">227</span>
<span class="normal">228</span>
<span class="normal">229</span>
<span class="normal">230</span>
<span class="normal">231</span>
<span class="normal">232</span>
<span class="normal">233</span>
<span class="normal">234</span>
<span class="normal">235</span>
<span class="normal">236</span>
<span class="normal">237</span>
<span class="normal">238</span>
<span class="normal">239</span>
<span class="normal">240</span>
<span class="normal">241</span>
<span class="normal">242</span>
<span class="normal">243</span>
<span class="normal">244</span>
<span class="normal">245</span>
<span class="normal">246</span>
<span class="normal">247</span>
<span class="normal">248</span>
<span class="normal">249</span>
<span class="normal">250</span>
<span class="normal">251</span>
<span class="normal">252</span>
<span class="normal">253</span>
<span class="normal">254</span>
<span class="normal">255</span>
<span class="normal">256</span>
<span class="normal">257</span>
<span class="normal">258</span>
<span class="normal">259</span>
<span class="normal">260</span>
<span class="normal">261</span>
<span class="normal">262</span>
<span class="normal">263</span>
<span class="normal">264</span>
<span class="normal">265</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="k">def</span> <span class="nf">get_translation_table</span><span class="p">(</span>
<span class="n">global_table</span><span class="p">:</span> <span class="n">Union</span><span class="p">[</span><span class="nb">str</span><span class="p">,</span> <span class="n">Dict</span><span class="p">]</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span>
<span class="n">local_table</span><span class="p">:</span> <span class="n">Union</span><span class="p">[</span><span class="nb">str</span><span class="p">,</span> <span class="n">Dict</span><span class="p">]</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span>
<span class="n">logger</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
Expand Down Expand Up @@ -1114,8 +1114,7 @@ <h2 id="src.koza.cli_utils.transform_source" class="doc doc-heading">

<details class="quote">
<summary>Source code in <code>src/koza/cli_utils.py</code></summary>
<div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"> 38</span>
<span class="normal"> 39</span>
<div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"> 39</span>
<span class="normal"> 40</span>
<span class="normal"> 41</span>
<span class="normal"> 42</span>
Expand Down Expand Up @@ -1202,7 +1201,8 @@ <h2 id="src.koza.cli_utils.transform_source" class="doc doc-heading">
<span class="normal">123</span>
<span class="normal">124</span>
<span class="normal">125</span>
<span class="normal">126</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="k">def</span> <span class="nf">transform_source</span><span class="p">(</span>
<span class="normal">126</span>
<span class="normal">127</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="k">def</span> <span class="nf">transform_source</span><span class="p">(</span>
<span class="n">source</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span>
<span class="n">output_dir</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span>
<span class="n">output_format</span><span class="p">:</span> <span class="n">OutputFormat</span> <span class="o">=</span> <span class="n">OutputFormat</span><span class="p">(</span><span class="s2">&quot;tsv&quot;</span><span class="p">),</span>
Expand Down Expand Up @@ -1316,37 +1316,37 @@ <h2 id="src.koza.cli_utils.validate_file" class="doc doc-heading">

<details class="quote">
<summary>Source code in <code>src/koza/cli_utils.py</code></summary>
<div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">129</span>
<span class="normal">130</span>
<span class="normal">131</span>
<span class="normal">132</span>
<span class="normal">133</span>
<span class="normal">134</span>
<span class="normal">135</span>
<span class="normal">136</span>
<span class="normal">137</span>
<span class="normal">138</span>
<span class="normal">139</span>
<span class="normal">140</span>
<span class="normal">141</span>
<span class="normal">142</span>
<span class="normal">143</span>
<span class="normal">144</span>
<span class="normal">145</span>
<span class="normal">146</span>
<span class="normal">147</span>
<span class="normal">148</span>
<span class="normal">149</span>
<span class="normal">150</span>
<span class="normal">151</span>
<span class="normal">152</span>
<span class="normal">153</span>
<span class="normal">154</span>
<span class="normal">155</span>
<span class="normal">156</span>
<span class="normal">157</span>
<span class="normal">158</span>
<span class="normal">159</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="k">def</span> <span class="nf">validate_file</span><span class="p">(</span>
<div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">192</span>
<span class="normal">193</span>
<span class="normal">194</span>
<span class="normal">195</span>
<span class="normal">196</span>
<span class="normal">197</span>
<span class="normal">198</span>
<span class="normal">199</span>
<span class="normal">200</span>
<span class="normal">201</span>
<span class="normal">202</span>
<span class="normal">203</span>
<span class="normal">204</span>
<span class="normal">205</span>
<span class="normal">206</span>
<span class="normal">207</span>
<span class="normal">208</span>
<span class="normal">209</span>
<span class="normal">210</span>
<span class="normal">211</span>
<span class="normal">212</span>
<span class="normal">213</span>
<span class="normal">214</span>
<span class="normal">215</span>
<span class="normal">216</span>
<span class="normal">217</span>
<span class="normal">218</span>
<span class="normal">219</span>
<span class="normal">220</span>
<span class="normal">221</span>
<span class="normal">222</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="k">def</span> <span class="nf">validate_file</span><span class="p">(</span>
<span class="n">file</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span>
<span class="nb">format</span><span class="p">:</span> <span class="n">FormatType</span> <span class="o">=</span> <span class="n">FormatType</span><span class="o">.</span><span class="n">csv</span><span class="p">,</span>
<span class="n">delimiter</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="s2">&quot;,&quot;</span><span class="p">,</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/search/search_index.json

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions docs/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,42 +2,42 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://koza.monarchinitiative.org/</loc>
<lastmod>2024-08-20</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://koza.monarchinitiative.org/Ingests/</loc>
<lastmod>2024-08-20</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://koza.monarchinitiative.org/Ingests/mapping/</loc>
<lastmod>2024-08-20</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://koza.monarchinitiative.org/Ingests/source_config/</loc>
<lastmod>2024-08-20</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://koza.monarchinitiative.org/Ingests/testing/</loc>
<lastmod>2024-08-20</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://koza.monarchinitiative.org/Ingests/transform/</loc>
<lastmod>2024-08-20</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://koza.monarchinitiative.org/Usage/CLI/</loc>
<lastmod>2024-08-20</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://koza.monarchinitiative.org/Usage/Module/</loc>
<lastmod>2024-08-20</lastmod>
<lastmod>2024-10-04</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
Binary file modified docs/sitemap.xml.gz
Binary file not shown.

0 comments on commit 9244dfb

Please sign in to comment.