Skip to content

Commit

Permalink
Deploying to gh-pages from @ 4784007 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
jkanche committed Dec 1, 2023
1 parent bd4ed6f commit d0a931b
Show file tree
Hide file tree
Showing 24 changed files with 126 additions and 91 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 0cccc669bf8fa1377011157458522324
config: fe2d73e2918d3b079c0eb7fa7d350c41
tags: 645f666f9bcd5a90fca523b33c5a78b7
8 changes: 4 additions & 4 deletions _modules/genomicranges/GenomicRanges.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" />

<!-- Generated with Sphinx 7.2.6 and Furo 2023.09.10 -->
<title>genomicranges.GenomicRanges - GenomicRanges 0.4.0 documentation</title>
<title>genomicranges.GenomicRanges - GenomicRanges 0.4.1 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo.css?v=135e06be" />
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo-extensions.css?v=36a5483c" />
Expand Down Expand Up @@ -122,7 +122,7 @@
</label>
</div>
<div class="header-center">
<a href="../../index.html"><div class="brand">GenomicRanges 0.4.0 documentation</div></a>
<a href="../../index.html"><div class="brand">GenomicRanges 0.4.1 documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
Expand All @@ -145,7 +145,7 @@
<div class="sidebar-sticky"><a class="sidebar-brand" href="../../index.html">


<span class="sidebar-brand-text">GenomicRanges 0.4.0 documentation</span>
<span class="sidebar-brand-text">GenomicRanges 0.4.1 documentation</span>

</a><form class="sidebar-search-container" method="get" action="../../search.html" role="search">
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
Expand Down Expand Up @@ -3202,7 +3202,7 @@ <h1>Source code for genomicranges.GenomicRanges</h1><div class="highlight"><pre>

</aside>
</div>
</div><script src="../../_static/documentation_options.js?v=6c02275b"></script>
</div><script src="../../_static/documentation_options.js?v=c87aa342"></script>
<script src="../../_static/doctools.js?v=888ff710"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/scripts/furo.js?v=32e29ea5"></script>
Expand Down
8 changes: 4 additions & 4 deletions _modules/genomicranges/GenomicRangesList.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" />

<!-- Generated with Sphinx 7.2.6 and Furo 2023.09.10 -->
<title>genomicranges.GenomicRangesList - GenomicRanges 0.4.0 documentation</title>
<title>genomicranges.GenomicRangesList - GenomicRanges 0.4.1 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo.css?v=135e06be" />
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo-extensions.css?v=36a5483c" />
Expand Down Expand Up @@ -122,7 +122,7 @@
</label>
</div>
<div class="header-center">
<a href="../../index.html"><div class="brand">GenomicRanges 0.4.0 documentation</div></a>
<a href="../../index.html"><div class="brand">GenomicRanges 0.4.1 documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
Expand All @@ -145,7 +145,7 @@
<div class="sidebar-sticky"><a class="sidebar-brand" href="../../index.html">


<span class="sidebar-brand-text">GenomicRanges 0.4.0 documentation</span>
<span class="sidebar-brand-text">GenomicRanges 0.4.1 documentation</span>

</a><form class="sidebar-search-container" method="get" action="../../search.html" role="search">
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
Expand Down Expand Up @@ -1148,7 +1148,7 @@ <h1>Source code for genomicranges.GenomicRangesList</h1><div class="highlight"><

</aside>
</div>
</div><script src="../../_static/documentation_options.js?v=6c02275b"></script>
</div><script src="../../_static/documentation_options.js?v=c87aa342"></script>
<script src="../../_static/doctools.js?v=888ff710"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/scripts/furo.js?v=32e29ea5"></script>
Expand Down
8 changes: 4 additions & 4 deletions _modules/genomicranges/SeqInfo.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" />

<!-- Generated with Sphinx 7.2.6 and Furo 2023.09.10 -->
<title>genomicranges.SeqInfo - GenomicRanges 0.4.0 documentation</title>
<title>genomicranges.SeqInfo - GenomicRanges 0.4.1 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo.css?v=135e06be" />
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo-extensions.css?v=36a5483c" />
Expand Down Expand Up @@ -122,7 +122,7 @@
</label>
</div>
<div class="header-center">
<a href="../../index.html"><div class="brand">GenomicRanges 0.4.0 documentation</div></a>
<a href="../../index.html"><div class="brand">GenomicRanges 0.4.1 documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
Expand All @@ -145,7 +145,7 @@
<div class="sidebar-sticky"><a class="sidebar-brand" href="../../index.html">


<span class="sidebar-brand-text">GenomicRanges 0.4.0 documentation</span>
<span class="sidebar-brand-text">GenomicRanges 0.4.1 documentation</span>

</a><form class="sidebar-search-container" method="get" action="../../search.html" role="search">
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
Expand Down Expand Up @@ -633,7 +633,7 @@ <h1>Source code for genomicranges.SeqInfo</h1><div class="highlight"><pre>

</aside>
</div>
</div><script src="../../_static/documentation_options.js?v=6c02275b"></script>
</div><script src="../../_static/documentation_options.js?v=c87aa342"></script>
<script src="../../_static/doctools.js?v=888ff710"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/scripts/furo.js?v=32e29ea5"></script>
Expand Down
43 changes: 35 additions & 8 deletions _modules/genomicranges/io/gtf.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="../../../genindex.html" /><link rel="search" title="Search" href="../../../search.html" />

<!-- Generated with Sphinx 7.2.6 and Furo 2023.09.10 -->
<title>genomicranges.io.gtf - GenomicRanges 0.4.0 documentation</title>
<title>genomicranges.io.gtf - GenomicRanges 0.4.1 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../../_static/styles/furo.css?v=135e06be" />
<link rel="stylesheet" type="text/css" href="../../../_static/styles/furo-extensions.css?v=36a5483c" />
Expand Down Expand Up @@ -122,7 +122,7 @@
</label>
</div>
<div class="header-center">
<a href="../../../index.html"><div class="brand">GenomicRanges 0.4.0 documentation</div></a>
<a href="../../../index.html"><div class="brand">GenomicRanges 0.4.1 documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
Expand All @@ -145,7 +145,7 @@
<div class="sidebar-sticky"><a class="sidebar-brand" href="../../../index.html">


<span class="sidebar-brand-text">GenomicRanges 0.4.0 documentation</span>
<span class="sidebar-brand-text">GenomicRanges 0.4.1 documentation</span>

</a><form class="sidebar-search-container" method="get" action="../../../search.html" role="search">
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
Expand Down Expand Up @@ -204,7 +204,7 @@
<article role="main">
<h1>Source code for genomicranges.io.gtf</h1><div class="highlight"><pre>
<span></span><span class="kn">import</span> <span class="nn">logging</span>
<span class="kn">from</span> <span class="nn">typing</span> <span class="kn">import</span> <span class="n">Dict</span>
<span class="kn">from</span> <span class="nn">typing</span> <span class="kn">import</span> <span class="n">Dict</span><span class="p">,</span> <span class="n">Union</span><span class="p">,</span> <span class="n">List</span>

<span class="kn">from</span> <span class="nn">pandas</span> <span class="kn">import</span> <span class="n">DataFrame</span><span class="p">,</span> <span class="n">read_csv</span>

Expand Down Expand Up @@ -238,7 +238,12 @@ <h1>Source code for genomicranges.io.gtf</h1><div class="highlight"><pre>

<div class="viewcode-block" id="parse_gtf">
<a class="viewcode-back" href="../../../api/genomicranges.io.html#genomicranges.io.gtf.parse_gtf">[docs]</a>
<span class="k">def</span> <span class="nf">parse_gtf</span><span class="p">(</span><span class="n">path</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">compressed</span><span class="p">:</span> <span class="nb">bool</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">DataFrame</span><span class="p">:</span>
<span class="k">def</span> <span class="nf">parse_gtf</span><span class="p">(</span>
<span class="n">path</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span>
<span class="n">compressed</span><span class="p">:</span> <span class="nb">bool</span><span class="p">,</span>
<span class="n">skiprows</span><span class="p">:</span> <span class="n">Union</span><span class="p">[</span><span class="nb">int</span><span class="p">,</span> <span class="n">List</span><span class="p">[</span><span class="nb">int</span><span class="p">]]</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span>
<span class="n">comment</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="s2">&quot;#&quot;</span><span class="p">,</span>
<span class="p">)</span> <span class="o">-&gt;</span> <span class="n">DataFrame</span><span class="p">:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Read a GTF file as :py:class:`~pandas.DataFrame`.</span>

<span class="sd"> Args:</span>
Expand All @@ -248,6 +253,13 @@ <h1>Source code for genomicranges.io.gtf</h1><div class="highlight"><pre>
<span class="sd"> compressed:</span>
<span class="sd"> Whether the file is gzip compressed.</span>

<span class="sd"> skiprows:</span>
<span class="sd"> Rows to skip if the gtf file has header.</span>

<span class="sd"> comment:</span>
<span class="sd"> Character indicating that the line should not be</span>
<span class="sd"> parsed. Defaults to &quot;#&quot;.</span>

<span class="sd"> Returns:</span>
<span class="sd"> Genome annotations from GTF as pandas dataframe.</span>
<span class="sd"> &quot;&quot;&quot;</span>
Expand All @@ -271,6 +283,8 @@ <h1>Source code for genomicranges.io.gtf</h1><div class="highlight"><pre>
<span class="s2">&quot;group&quot;</span><span class="p">,</span>
<span class="p">],</span>
<span class="n">compression</span><span class="o">=</span><span class="s2">&quot;gzip&quot;</span><span class="p">,</span>
<span class="n">skiprows</span><span class="o">=</span><span class="n">skiprows</span><span class="p">,</span>
<span class="n">comment</span><span class="o">=</span><span class="n">comment</span><span class="p">,</span>
<span class="p">)</span>
<span class="k">else</span><span class="p">:</span>
<span class="n">df</span> <span class="o">=</span> <span class="n">read_csv</span><span class="p">(</span>
Expand All @@ -287,6 +301,8 @@ <h1>Source code for genomicranges.io.gtf</h1><div class="highlight"><pre>
<span class="s2">&quot;frame&quot;</span><span class="p">,</span>
<span class="s2">&quot;group&quot;</span><span class="p">,</span>
<span class="p">],</span>
<span class="n">skiprows</span><span class="o">=</span><span class="n">skiprows</span><span class="p">,</span>
<span class="n">comment</span><span class="o">=</span><span class="n">comment</span><span class="p">,</span>
<span class="p">)</span>

<span class="n">rows</span> <span class="o">=</span> <span class="n">Parallel</span><span class="p">(</span><span class="n">n_jobs</span><span class="o">=-</span><span class="mi">2</span><span class="p">)(</span>
Expand All @@ -301,13 +317,24 @@ <h1>Source code for genomicranges.io.gtf</h1><div class="highlight"><pre>

<div class="viewcode-block" id="read_gtf">
<a class="viewcode-back" href="../../../api/genomicranges.io.html#genomicranges.io.gtf.read_gtf">[docs]</a>
<span class="k">def</span> <span class="nf">read_gtf</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="o">-&gt;</span> <span class="s2">&quot;GenomicRanges&quot;</span><span class="p">:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Read GTF file as :py:class:`~genomicranges.GenomicRanges.GenomicRanges`.</span>
<span class="k">def</span> <span class="nf">read_gtf</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="n">skiprows</span><span class="p">:</span> <span class="n">Union</span><span class="p">[</span><span class="nb">int</span><span class="p">,</span> <span class="n">List</span><span class="p">[</span><span class="nb">int</span><span class="p">]]</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span>
<span class="n">comment</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="s2">&quot;#&quot;</span><span class="p">,</span>
<span class="p">)</span> <span class="o">-&gt;</span> <span class="s2">&quot;GenomicRanges&quot;</span><span class="p">:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Read a GTF file as :py:class:`~genomicranges.GenomicRanges.GenomicRanges`.</span>

<span class="sd"> Args:</span>
<span class="sd"> file:</span>
<span class="sd"> Path to GTF file.</span>

<span class="sd"> skiprows:</span>
<span class="sd"> Rows to skip if the gtf file has header.</span>

<span class="sd"> comment:</span>
<span class="sd"> Character indicating that the line should not be</span>
<span class="sd"> parsed. Defaults to &quot;#&quot;.</span>

<span class="sd"> Returns:</span>
<span class="sd"> Genome annotations from GTF.</span>
<span class="sd"> &quot;&quot;&quot;</span>
Expand Down Expand Up @@ -349,7 +376,7 @@ <h1>Source code for genomicranges.io.gtf</h1><div class="highlight"><pre>

</aside>
</div>
</div><script src="../../../_static/documentation_options.js?v=6c02275b"></script>
</div><script src="../../../_static/documentation_options.js?v=c87aa342"></script>
<script src="../../../_static/doctools.js?v=888ff710"></script>
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../../_static/scripts/furo.js?v=32e29ea5"></script>
Expand Down
8 changes: 4 additions & 4 deletions _modules/genomicranges/io/ucsc.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="../../../genindex.html" /><link rel="search" title="Search" href="../../../search.html" />

<!-- Generated with Sphinx 7.2.6 and Furo 2023.09.10 -->
<title>genomicranges.io.ucsc - GenomicRanges 0.4.0 documentation</title>
<title>genomicranges.io.ucsc - GenomicRanges 0.4.1 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../../_static/styles/furo.css?v=135e06be" />
<link rel="stylesheet" type="text/css" href="../../../_static/styles/furo-extensions.css?v=36a5483c" />
Expand Down Expand Up @@ -122,7 +122,7 @@
</label>
</div>
<div class="header-center">
<a href="../../../index.html"><div class="brand">GenomicRanges 0.4.0 documentation</div></a>
<a href="../../../index.html"><div class="brand">GenomicRanges 0.4.1 documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
Expand All @@ -145,7 +145,7 @@
<div class="sidebar-sticky"><a class="sidebar-brand" href="../../../index.html">


<span class="sidebar-brand-text">GenomicRanges 0.4.0 documentation</span>
<span class="sidebar-brand-text">GenomicRanges 0.4.1 documentation</span>

</a><form class="sidebar-search-container" method="get" action="../../../search.html" role="search">
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
Expand Down Expand Up @@ -306,7 +306,7 @@ <h1>Source code for genomicranges.io.ucsc</h1><div class="highlight"><pre>

</aside>
</div>
</div><script src="../../../_static/documentation_options.js?v=6c02275b"></script>
</div><script src="../../../_static/documentation_options.js?v=c87aa342"></script>
<script src="../../../_static/doctools.js?v=888ff710"></script>
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../../_static/scripts/furo.js?v=32e29ea5"></script>
Expand Down
8 changes: 4 additions & 4 deletions _modules/genomicranges/utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" />

<!-- Generated with Sphinx 7.2.6 and Furo 2023.09.10 -->
<title>genomicranges.utils - GenomicRanges 0.4.0 documentation</title>
<title>genomicranges.utils - GenomicRanges 0.4.1 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo.css?v=135e06be" />
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo-extensions.css?v=36a5483c" />
Expand Down Expand Up @@ -122,7 +122,7 @@
</label>
</div>
<div class="header-center">
<a href="../../index.html"><div class="brand">GenomicRanges 0.4.0 documentation</div></a>
<a href="../../index.html"><div class="brand">GenomicRanges 0.4.1 documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
Expand All @@ -145,7 +145,7 @@
<div class="sidebar-sticky"><a class="sidebar-brand" href="../../index.html">


<span class="sidebar-brand-text">GenomicRanges 0.4.0 documentation</span>
<span class="sidebar-brand-text">GenomicRanges 0.4.1 documentation</span>

</a><form class="sidebar-search-container" method="get" action="../../search.html" role="search">
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
Expand Down Expand Up @@ -444,7 +444,7 @@ <h1>Source code for genomicranges.utils</h1><div class="highlight"><pre>

</aside>
</div>
</div><script src="../../_static/documentation_options.js?v=6c02275b"></script>
</div><script src="../../_static/documentation_options.js?v=c87aa342"></script>
<script src="../../_static/doctools.js?v=888ff710"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/scripts/furo.js?v=32e29ea5"></script>
Expand Down
Loading

0 comments on commit d0a931b

Please sign in to comment.