diff --git a/docs/_build/doctrees/documentation/api_reference/basicfeatures.doctree b/docs/_build/doctrees/documentation/api_reference/basicfeatures.doctree index f8adcd03..adf07d57 100644 Binary files a/docs/_build/doctrees/documentation/api_reference/basicfeatures.doctree and b/docs/_build/doctrees/documentation/api_reference/basicfeatures.doctree differ diff --git a/docs/_build/doctrees/documentation/api_reference/cleavageprofile.doctree b/docs/_build/doctrees/documentation/api_reference/cleavageprofile.doctree index 8cba013e..46c43f59 100644 Binary files a/docs/_build/doctrees/documentation/api_reference/cleavageprofile.doctree and b/docs/_build/doctrees/documentation/api_reference/cleavageprofile.doctree differ diff --git a/docs/_build/doctrees/documentation/api_reference/delfi.doctree b/docs/_build/doctrees/documentation/api_reference/delfi.doctree index 2ae64f85..0abce3d8 100644 Binary files a/docs/_build/doctrees/documentation/api_reference/delfi.doctree and b/docs/_build/doctrees/documentation/api_reference/delfi.doctree differ diff --git a/docs/_build/doctrees/documentation/api_reference/endmotifs.doctree b/docs/_build/doctrees/documentation/api_reference/endmotifs.doctree index 4e5c0595..22a32424 100644 Binary files a/docs/_build/doctrees/documentation/api_reference/endmotifs.doctree and b/docs/_build/doctrees/documentation/api_reference/endmotifs.doctree differ diff --git a/docs/_build/doctrees/documentation/api_reference/fragfile.doctree b/docs/_build/doctrees/documentation/api_reference/fragfile.doctree index 41f686e2..718bd09e 100644 Binary files a/docs/_build/doctrees/documentation/api_reference/fragfile.doctree and b/docs/_build/doctrees/documentation/api_reference/fragfile.doctree differ diff --git a/docs/_build/doctrees/documentation/api_reference/genomeutils.doctree b/docs/_build/doctrees/documentation/api_reference/genomeutils.doctree index 9c5ca20d..dd8dbd5a 100644 Binary files a/docs/_build/doctrees/documentation/api_reference/genomeutils.doctree and b/docs/_build/doctrees/documentation/api_reference/genomeutils.doctree differ diff --git a/docs/_build/doctrees/documentation/api_reference/index.doctree b/docs/_build/doctrees/documentation/api_reference/index.doctree index 4a63dcf2..49ba78b1 100644 Binary files a/docs/_build/doctrees/documentation/api_reference/index.doctree and b/docs/_build/doctrees/documentation/api_reference/index.doctree differ diff --git a/docs/_build/doctrees/documentation/api_reference/wps.doctree b/docs/_build/doctrees/documentation/api_reference/wps.doctree index 12743c66..a2a2e064 100644 Binary files a/docs/_build/doctrees/documentation/api_reference/wps.doctree and b/docs/_build/doctrees/documentation/api_reference/wps.doctree differ diff --git a/docs/_build/doctrees/documentation/cli_reference/index.doctree b/docs/_build/doctrees/documentation/cli_reference/index.doctree index 3659ec78..0a0d15d0 100644 Binary files a/docs/_build/doctrees/documentation/cli_reference/index.doctree and b/docs/_build/doctrees/documentation/cli_reference/index.doctree differ diff --git a/docs/_build/doctrees/documentation/index.doctree b/docs/_build/doctrees/documentation/index.doctree index 6cf4c902..03669551 100644 Binary files a/docs/_build/doctrees/documentation/index.doctree and b/docs/_build/doctrees/documentation/index.doctree differ diff --git a/docs/_build/doctrees/documentation/user_guide/features.doctree b/docs/_build/doctrees/documentation/user_guide/features.doctree index 9ec83c51..102319a8 100644 Binary files a/docs/_build/doctrees/documentation/user_guide/features.doctree and b/docs/_build/doctrees/documentation/user_guide/features.doctree differ diff --git a/docs/_build/doctrees/documentation/user_guide/help.doctree b/docs/_build/doctrees/documentation/user_guide/help.doctree index 2bea8d5c..08d62ccd 100644 Binary files a/docs/_build/doctrees/documentation/user_guide/help.doctree and b/docs/_build/doctrees/documentation/user_guide/help.doctree differ diff --git a/docs/_build/doctrees/documentation/user_guide/index.doctree b/docs/_build/doctrees/documentation/user_guide/index.doctree index f68b4db1..7cb36781 100644 Binary files a/docs/_build/doctrees/documentation/user_guide/index.doctree and b/docs/_build/doctrees/documentation/user_guide/index.doctree differ diff --git a/docs/_build/doctrees/documentation/user_guide/inputdata.doctree b/docs/_build/doctrees/documentation/user_guide/inputdata.doctree index 7f5b41bc..3ba95812 100644 Binary files a/docs/_build/doctrees/documentation/user_guide/inputdata.doctree and b/docs/_build/doctrees/documentation/user_guide/inputdata.doctree differ diff --git a/docs/_build/doctrees/documentation/user_guide/installation.doctree b/docs/_build/doctrees/documentation/user_guide/installation.doctree index 000fc7c5..d3f6f36b 100644 Binary files a/docs/_build/doctrees/documentation/user_guide/installation.doctree and b/docs/_build/doctrees/documentation/user_guide/installation.doctree differ diff --git a/docs/_build/doctrees/documentation/user_guide/intersectpolicy.doctree b/docs/_build/doctrees/documentation/user_guide/intersectpolicy.doctree index 8442f578..459d41c0 100644 Binary files a/docs/_build/doctrees/documentation/user_guide/intersectpolicy.doctree and b/docs/_build/doctrees/documentation/user_guide/intersectpolicy.doctree differ diff --git a/docs/_build/doctrees/documentation/user_guide/quickstart.doctree b/docs/_build/doctrees/documentation/user_guide/quickstart.doctree index c9cb33e1..d3fd178b 100644 Binary files a/docs/_build/doctrees/documentation/user_guide/quickstart.doctree and b/docs/_build/doctrees/documentation/user_guide/quickstart.doctree differ diff --git a/docs/_build/doctrees/documentation/user_guide/structure.doctree b/docs/_build/doctrees/documentation/user_guide/structure.doctree index e30ffbac..30ff2be0 100644 Binary files a/docs/_build/doctrees/documentation/user_guide/structure.doctree and b/docs/_build/doctrees/documentation/user_guide/structure.doctree differ diff --git a/docs/_build/doctrees/documentation/user_guide/what.doctree b/docs/_build/doctrees/documentation/user_guide/what.doctree index bc92e1ac..4f4b9968 100644 Binary files a/docs/_build/doctrees/documentation/user_guide/what.doctree and b/docs/_build/doctrees/documentation/user_guide/what.doctree differ diff --git a/docs/_build/doctrees/environment.pickle b/docs/_build/doctrees/environment.pickle index bd69d4c4..51cf070b 100644 Binary files a/docs/_build/doctrees/environment.pickle and b/docs/_build/doctrees/environment.pickle differ diff --git a/docs/_build/doctrees/index.doctree b/docs/_build/doctrees/index.doctree index ccc914b7..e80f99fd 100644 Binary files a/docs/_build/doctrees/index.doctree and b/docs/_build/doctrees/index.doctree differ diff --git a/docs/_build/html/.buildinfo b/docs/_build/html/.buildinfo index b87a602b..c269df07 100644 --- a/docs/_build/html/.buildinfo +++ b/docs/_build/html/.buildinfo @@ -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: 670efaa449e3fccfe64f8fb2cf4a7d46 +# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. +config: a6a7c49fe85dc34358516258c905dd38 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/_build/html/.buildinfo.bak b/docs/_build/html/.buildinfo.bak new file mode 100644 index 00000000..b87a602b --- /dev/null +++ b/docs/_build/html/.buildinfo.bak @@ -0,0 +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: 670efaa449e3fccfe64f8fb2cf4a7d46 +tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/_build/html/_sources/documentation/api_reference/fragfile.rst.txt b/docs/_build/html/_sources/documentation/api_reference/fragfile.rst.txt index a4774294..546d2f30 100644 --- a/docs/_build/html/_sources/documentation/api_reference/fragfile.rst.txt +++ b/docs/_build/html/_sources/documentation/api_reference/fragfile.rst.txt @@ -1,7 +1,7 @@ Frag File Utilities ====================================== -.. autofunction:: finaletoolkit.utils.filter_bam +.. autofunction:: finaletoolkit.utils.filter_file .. autofunction:: finaletoolkit.utils.agg_bw diff --git a/docs/_build/html/_static/basic.css b/docs/_build/html/_static/basic.css index f316efcb..7ebbd6d0 100644 --- a/docs/_build/html/_static/basic.css +++ b/docs/_build/html/_static/basic.css @@ -1,12 +1,5 @@ /* - * basic.css - * ~~~~~~~~~ - * * Sphinx stylesheet -- basic theme. - * - * :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS. - * :license: BSD, see LICENSE for details. - * */ /* -- main layout ----------------------------------------------------------- */ @@ -115,15 +108,11 @@ img { /* -- search page ----------------------------------------------------------- */ ul.search { - margin: 10px 0 0 20px; - padding: 0; + margin-top: 10px; } ul.search li { - padding: 5px 0 5px 20px; - background-image: url(file.png); - background-repeat: no-repeat; - background-position: 0 7px; + padding: 5px 0; } ul.search li a { diff --git a/docs/_build/html/_static/doctools.js b/docs/_build/html/_static/doctools.js index 4d67807d..0398ebb9 100644 --- a/docs/_build/html/_static/doctools.js +++ b/docs/_build/html/_static/doctools.js @@ -1,12 +1,5 @@ /* - * doctools.js - * ~~~~~~~~~~~ - * * Base JavaScript utilities for all Sphinx HTML documentation. - * - * :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS. - * :license: BSD, see LICENSE for details. - * */ "use strict"; diff --git a/docs/_build/html/_static/language_data.js b/docs/_build/html/_static/language_data.js index 367b8ed8..c7fe6c6f 100644 --- a/docs/_build/html/_static/language_data.js +++ b/docs/_build/html/_static/language_data.js @@ -1,13 +1,6 @@ /* - * language_data.js - * ~~~~~~~~~~~~~~~~ - * * This script contains the language-specific data used by searchtools.js, * namely the list of stopwords, stemmer, scorer and splitter. - * - * :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS. - * :license: BSD, see LICENSE for details. - * */ var stopwords = ["a", "and", "are", "as", "at", "be", "but", "by", "for", "if", "in", "into", "is", "it", "near", "no", "not", "of", "on", "or", "such", "that", "the", "their", "then", "there", "these", "they", "this", "to", "was", "will", "with"]; diff --git a/docs/_build/html/_static/pygments.css b/docs/_build/html/_static/pygments.css index 012e6a00..d7dd5778 100644 --- a/docs/_build/html/_static/pygments.css +++ b/docs/_build/html/_static/pygments.css @@ -6,11 +6,11 @@ html[data-theme="light"] .highlight span.linenos.special { color: #000000; backg html[data-theme="light"] .highlight .hll { background-color: #fae4c2 } html[data-theme="light"] .highlight { background: #fefefe; color: #080808 } html[data-theme="light"] .highlight .c { color: #515151 } /* Comment */ -html[data-theme="light"] .highlight .err { color: #a12236 } /* Error */ -html[data-theme="light"] .highlight .k { color: #6730c5 } /* Keyword */ -html[data-theme="light"] .highlight .l { color: #7f4707 } /* Literal */ +html[data-theme="light"] .highlight .err { color: #A12236 } /* Error */ +html[data-theme="light"] .highlight .k { color: #6730C5 } /* Keyword */ +html[data-theme="light"] .highlight .l { color: #7F4707 } /* Literal */ html[data-theme="light"] .highlight .n { color: #080808 } /* Name */ -html[data-theme="light"] .highlight .o { color: #00622f } /* Operator */ +html[data-theme="light"] .highlight .o { color: #00622F } /* Operator */ html[data-theme="light"] .highlight .p { color: #080808 } /* Punctuation */ html[data-theme="light"] .highlight .ch { color: #515151 } /* Comment.Hashbang */ html[data-theme="light"] .highlight .cm { color: #515151 } /* Comment.Multiline */ @@ -18,135 +18,135 @@ html[data-theme="light"] .highlight .cp { color: #515151 } /* Comment.Preproc */ html[data-theme="light"] .highlight .cpf { color: #515151 } /* Comment.PreprocFile */ html[data-theme="light"] .highlight .c1 { color: #515151 } /* Comment.Single */ html[data-theme="light"] .highlight .cs { color: #515151 } /* Comment.Special */ -html[data-theme="light"] .highlight .gd { color: #005b82 } /* Generic.Deleted */ +html[data-theme="light"] .highlight .gd { color: #005B82 } /* Generic.Deleted */ html[data-theme="light"] .highlight .ge { font-style: italic } /* Generic.Emph */ -html[data-theme="light"] .highlight .gh { color: #005b82 } /* Generic.Heading */ +html[data-theme="light"] .highlight .gh { color: #005B82 } /* Generic.Heading */ html[data-theme="light"] .highlight .gs { font-weight: bold } /* Generic.Strong */ -html[data-theme="light"] .highlight .gu { color: #005b82 } /* Generic.Subheading */ -html[data-theme="light"] .highlight .kc { color: #6730c5 } /* Keyword.Constant */ -html[data-theme="light"] .highlight .kd { color: #6730c5 } /* Keyword.Declaration */ -html[data-theme="light"] .highlight .kn { color: #6730c5 } /* Keyword.Namespace */ -html[data-theme="light"] .highlight .kp { color: #6730c5 } /* Keyword.Pseudo */ -html[data-theme="light"] .highlight .kr { color: #6730c5 } /* Keyword.Reserved */ -html[data-theme="light"] .highlight .kt { color: #7f4707 } /* Keyword.Type */ -html[data-theme="light"] .highlight .ld { color: #7f4707 } /* Literal.Date */ -html[data-theme="light"] .highlight .m { color: #7f4707 } /* Literal.Number */ -html[data-theme="light"] .highlight .s { color: #00622f } /* Literal.String */ +html[data-theme="light"] .highlight .gu { color: #005B82 } /* Generic.Subheading */ +html[data-theme="light"] .highlight .kc { color: #6730C5 } /* Keyword.Constant */ +html[data-theme="light"] .highlight .kd { color: #6730C5 } /* Keyword.Declaration */ +html[data-theme="light"] .highlight .kn { color: #6730C5 } /* Keyword.Namespace */ +html[data-theme="light"] .highlight .kp { color: #6730C5 } /* Keyword.Pseudo */ +html[data-theme="light"] .highlight .kr { color: #6730C5 } /* Keyword.Reserved */ +html[data-theme="light"] .highlight .kt { color: #7F4707 } /* Keyword.Type */ +html[data-theme="light"] .highlight .ld { color: #7F4707 } /* Literal.Date */ +html[data-theme="light"] .highlight .m { color: #7F4707 } /* Literal.Number */ +html[data-theme="light"] .highlight .s { color: #00622F } /* Literal.String */ html[data-theme="light"] .highlight .na { color: #912583 } /* Name.Attribute */ -html[data-theme="light"] .highlight .nb { color: #7f4707 } /* Name.Builtin */ -html[data-theme="light"] .highlight .nc { color: #005b82 } /* Name.Class */ -html[data-theme="light"] .highlight .no { color: #005b82 } /* Name.Constant */ -html[data-theme="light"] .highlight .nd { color: #7f4707 } /* Name.Decorator */ -html[data-theme="light"] .highlight .ni { color: #00622f } /* Name.Entity */ -html[data-theme="light"] .highlight .ne { color: #6730c5 } /* Name.Exception */ -html[data-theme="light"] .highlight .nf { color: #005b82 } /* Name.Function */ -html[data-theme="light"] .highlight .nl { color: #7f4707 } /* Name.Label */ +html[data-theme="light"] .highlight .nb { color: #7F4707 } /* Name.Builtin */ +html[data-theme="light"] .highlight .nc { color: #005B82 } /* Name.Class */ +html[data-theme="light"] .highlight .no { color: #005B82 } /* Name.Constant */ +html[data-theme="light"] .highlight .nd { color: #7F4707 } /* Name.Decorator */ +html[data-theme="light"] .highlight .ni { color: #00622F } /* Name.Entity */ +html[data-theme="light"] .highlight .ne { color: #6730C5 } /* Name.Exception */ +html[data-theme="light"] .highlight .nf { color: #005B82 } /* Name.Function */ +html[data-theme="light"] .highlight .nl { color: #7F4707 } /* Name.Label */ html[data-theme="light"] .highlight .nn { color: #080808 } /* Name.Namespace */ html[data-theme="light"] .highlight .nx { color: #080808 } /* Name.Other */ -html[data-theme="light"] .highlight .py { color: #005b82 } /* Name.Property */ -html[data-theme="light"] .highlight .nt { color: #005b82 } /* Name.Tag */ -html[data-theme="light"] .highlight .nv { color: #a12236 } /* Name.Variable */ -html[data-theme="light"] .highlight .ow { color: #6730c5 } /* Operator.Word */ +html[data-theme="light"] .highlight .py { color: #005B82 } /* Name.Property */ +html[data-theme="light"] .highlight .nt { color: #005B82 } /* Name.Tag */ +html[data-theme="light"] .highlight .nv { color: #A12236 } /* Name.Variable */ +html[data-theme="light"] .highlight .ow { color: #6730C5 } /* Operator.Word */ html[data-theme="light"] .highlight .pm { color: #080808 } /* Punctuation.Marker */ html[data-theme="light"] .highlight .w { color: #080808 } /* Text.Whitespace */ -html[data-theme="light"] .highlight .mb { color: #7f4707 } /* Literal.Number.Bin */ -html[data-theme="light"] .highlight .mf { color: #7f4707 } /* Literal.Number.Float */ -html[data-theme="light"] .highlight .mh { color: #7f4707 } /* Literal.Number.Hex */ -html[data-theme="light"] .highlight .mi { color: #7f4707 } /* Literal.Number.Integer */ -html[data-theme="light"] .highlight .mo { color: #7f4707 } /* Literal.Number.Oct */ -html[data-theme="light"] .highlight .sa { color: #00622f } /* Literal.String.Affix */ -html[data-theme="light"] .highlight .sb { color: #00622f } /* Literal.String.Backtick */ -html[data-theme="light"] .highlight .sc { color: #00622f } /* Literal.String.Char */ -html[data-theme="light"] .highlight .dl { color: #00622f } /* Literal.String.Delimiter */ -html[data-theme="light"] .highlight .sd { color: #00622f } /* Literal.String.Doc */ -html[data-theme="light"] .highlight .s2 { color: #00622f } /* Literal.String.Double */ -html[data-theme="light"] .highlight .se { color: #00622f } /* Literal.String.Escape */ -html[data-theme="light"] .highlight .sh { color: #00622f } /* Literal.String.Heredoc */ -html[data-theme="light"] .highlight .si { color: #00622f } /* Literal.String.Interpol */ -html[data-theme="light"] .highlight .sx { color: #00622f } /* Literal.String.Other */ -html[data-theme="light"] .highlight .sr { color: #a12236 } /* Literal.String.Regex */ -html[data-theme="light"] .highlight .s1 { color: #00622f } /* Literal.String.Single */ -html[data-theme="light"] .highlight .ss { color: #005b82 } /* Literal.String.Symbol */ -html[data-theme="light"] .highlight .bp { color: #7f4707 } /* Name.Builtin.Pseudo */ -html[data-theme="light"] .highlight .fm { color: #005b82 } /* Name.Function.Magic */ -html[data-theme="light"] .highlight .vc { color: #a12236 } /* Name.Variable.Class */ -html[data-theme="light"] .highlight .vg { color: #a12236 } /* Name.Variable.Global */ -html[data-theme="light"] .highlight .vi { color: #a12236 } /* Name.Variable.Instance */ -html[data-theme="light"] .highlight .vm { color: #7f4707 } /* Name.Variable.Magic */ -html[data-theme="light"] .highlight .il { color: #7f4707 } /* Literal.Number.Integer.Long */ +html[data-theme="light"] .highlight .mb { color: #7F4707 } /* Literal.Number.Bin */ +html[data-theme="light"] .highlight .mf { color: #7F4707 } /* Literal.Number.Float */ +html[data-theme="light"] .highlight .mh { color: #7F4707 } /* Literal.Number.Hex */ +html[data-theme="light"] .highlight .mi { color: #7F4707 } /* Literal.Number.Integer */ +html[data-theme="light"] .highlight .mo { color: #7F4707 } /* Literal.Number.Oct */ +html[data-theme="light"] .highlight .sa { color: #00622F } /* Literal.String.Affix */ +html[data-theme="light"] .highlight .sb { color: #00622F } /* Literal.String.Backtick */ +html[data-theme="light"] .highlight .sc { color: #00622F } /* Literal.String.Char */ +html[data-theme="light"] .highlight .dl { color: #00622F } /* Literal.String.Delimiter */ +html[data-theme="light"] .highlight .sd { color: #00622F } /* Literal.String.Doc */ +html[data-theme="light"] .highlight .s2 { color: #00622F } /* Literal.String.Double */ +html[data-theme="light"] .highlight .se { color: #00622F } /* Literal.String.Escape */ +html[data-theme="light"] .highlight .sh { color: #00622F } /* Literal.String.Heredoc */ +html[data-theme="light"] .highlight .si { color: #00622F } /* Literal.String.Interpol */ +html[data-theme="light"] .highlight .sx { color: #00622F } /* Literal.String.Other */ +html[data-theme="light"] .highlight .sr { color: #A12236 } /* Literal.String.Regex */ +html[data-theme="light"] .highlight .s1 { color: #00622F } /* Literal.String.Single */ +html[data-theme="light"] .highlight .ss { color: #005B82 } /* Literal.String.Symbol */ +html[data-theme="light"] .highlight .bp { color: #7F4707 } /* Name.Builtin.Pseudo */ +html[data-theme="light"] .highlight .fm { color: #005B82 } /* Name.Function.Magic */ +html[data-theme="light"] .highlight .vc { color: #A12236 } /* Name.Variable.Class */ +html[data-theme="light"] .highlight .vg { color: #A12236 } /* Name.Variable.Global */ +html[data-theme="light"] .highlight .vi { color: #A12236 } /* Name.Variable.Instance */ +html[data-theme="light"] .highlight .vm { color: #7F4707 } /* Name.Variable.Magic */ +html[data-theme="light"] .highlight .il { color: #7F4707 } /* Literal.Number.Integer.Long */ html[data-theme="dark"] .highlight pre { line-height: 125%; } html[data-theme="dark"] .highlight td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } html[data-theme="dark"] .highlight span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } html[data-theme="dark"] .highlight td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } html[data-theme="dark"] .highlight span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } html[data-theme="dark"] .highlight .hll { background-color: #ffd9002e } -html[data-theme="dark"] .highlight { background: #2b2b2b; color: #f8f8f2 } -html[data-theme="dark"] .highlight .c { color: #ffd900 } /* Comment */ -html[data-theme="dark"] .highlight .err { color: #ffa07a } /* Error */ -html[data-theme="dark"] .highlight .k { color: #dcc6e0 } /* Keyword */ -html[data-theme="dark"] .highlight .l { color: #ffd900 } /* Literal */ -html[data-theme="dark"] .highlight .n { color: #f8f8f2 } /* Name */ -html[data-theme="dark"] .highlight .o { color: #abe338 } /* Operator */ -html[data-theme="dark"] .highlight .p { color: #f8f8f2 } /* Punctuation */ -html[data-theme="dark"] .highlight .ch { color: #ffd900 } /* Comment.Hashbang */ -html[data-theme="dark"] .highlight .cm { color: #ffd900 } /* Comment.Multiline */ -html[data-theme="dark"] .highlight .cp { color: #ffd900 } /* Comment.Preproc */ -html[data-theme="dark"] .highlight .cpf { color: #ffd900 } /* Comment.PreprocFile */ -html[data-theme="dark"] .highlight .c1 { color: #ffd900 } /* Comment.Single */ -html[data-theme="dark"] .highlight .cs { color: #ffd900 } /* Comment.Special */ -html[data-theme="dark"] .highlight .gd { color: #00e0e0 } /* Generic.Deleted */ +html[data-theme="dark"] .highlight { background: #2b2b2b; color: #F8F8F2 } +html[data-theme="dark"] .highlight .c { color: #FFD900 } /* Comment */ +html[data-theme="dark"] .highlight .err { color: #FFA07A } /* Error */ +html[data-theme="dark"] .highlight .k { color: #DCC6E0 } /* Keyword */ +html[data-theme="dark"] .highlight .l { color: #FFD900 } /* Literal */ +html[data-theme="dark"] .highlight .n { color: #F8F8F2 } /* Name */ +html[data-theme="dark"] .highlight .o { color: #ABE338 } /* Operator */ +html[data-theme="dark"] .highlight .p { color: #F8F8F2 } /* Punctuation */ +html[data-theme="dark"] .highlight .ch { color: #FFD900 } /* Comment.Hashbang */ +html[data-theme="dark"] .highlight .cm { color: #FFD900 } /* Comment.Multiline */ +html[data-theme="dark"] .highlight .cp { color: #FFD900 } /* Comment.Preproc */ +html[data-theme="dark"] .highlight .cpf { color: #FFD900 } /* Comment.PreprocFile */ +html[data-theme="dark"] .highlight .c1 { color: #FFD900 } /* Comment.Single */ +html[data-theme="dark"] .highlight .cs { color: #FFD900 } /* Comment.Special */ +html[data-theme="dark"] .highlight .gd { color: #00E0E0 } /* Generic.Deleted */ html[data-theme="dark"] .highlight .ge { font-style: italic } /* Generic.Emph */ -html[data-theme="dark"] .highlight .gh { color: #00e0e0 } /* Generic.Heading */ +html[data-theme="dark"] .highlight .gh { color: #00E0E0 } /* Generic.Heading */ html[data-theme="dark"] .highlight .gs { font-weight: bold } /* Generic.Strong */ -html[data-theme="dark"] .highlight .gu { color: #00e0e0 } /* Generic.Subheading */ -html[data-theme="dark"] .highlight .kc { color: #dcc6e0 } /* Keyword.Constant */ -html[data-theme="dark"] .highlight .kd { color: #dcc6e0 } /* Keyword.Declaration */ -html[data-theme="dark"] .highlight .kn { color: #dcc6e0 } /* Keyword.Namespace */ -html[data-theme="dark"] .highlight .kp { color: #dcc6e0 } /* Keyword.Pseudo */ -html[data-theme="dark"] .highlight .kr { color: #dcc6e0 } /* Keyword.Reserved */ -html[data-theme="dark"] .highlight .kt { color: #ffd900 } /* Keyword.Type */ -html[data-theme="dark"] .highlight .ld { color: #ffd900 } /* Literal.Date */ -html[data-theme="dark"] .highlight .m { color: #ffd900 } /* Literal.Number */ -html[data-theme="dark"] .highlight .s { color: #abe338 } /* Literal.String */ -html[data-theme="dark"] .highlight .na { color: #ffd900 } /* Name.Attribute */ -html[data-theme="dark"] .highlight .nb { color: #ffd900 } /* Name.Builtin */ -html[data-theme="dark"] .highlight .nc { color: #00e0e0 } /* Name.Class */ -html[data-theme="dark"] .highlight .no { color: #00e0e0 } /* Name.Constant */ -html[data-theme="dark"] .highlight .nd { color: #ffd900 } /* Name.Decorator */ -html[data-theme="dark"] .highlight .ni { color: #abe338 } /* Name.Entity */ -html[data-theme="dark"] .highlight .ne { color: #dcc6e0 } /* Name.Exception */ -html[data-theme="dark"] .highlight .nf { color: #00e0e0 } /* Name.Function */ -html[data-theme="dark"] .highlight .nl { color: #ffd900 } /* Name.Label */ -html[data-theme="dark"] .highlight .nn { color: #f8f8f2 } /* Name.Namespace */ -html[data-theme="dark"] .highlight .nx { color: #f8f8f2 } /* Name.Other */ -html[data-theme="dark"] .highlight .py { color: #00e0e0 } /* Name.Property */ -html[data-theme="dark"] .highlight .nt { color: #00e0e0 } /* Name.Tag */ -html[data-theme="dark"] .highlight .nv { color: #ffa07a } /* Name.Variable */ -html[data-theme="dark"] .highlight .ow { color: #dcc6e0 } /* Operator.Word */ -html[data-theme="dark"] .highlight .pm { color: #f8f8f2 } /* Punctuation.Marker */ -html[data-theme="dark"] .highlight .w { color: #f8f8f2 } /* Text.Whitespace */ -html[data-theme="dark"] .highlight .mb { color: #ffd900 } /* Literal.Number.Bin */ -html[data-theme="dark"] .highlight .mf { color: #ffd900 } /* Literal.Number.Float */ -html[data-theme="dark"] .highlight .mh { color: #ffd900 } /* Literal.Number.Hex */ -html[data-theme="dark"] .highlight .mi { color: #ffd900 } /* Literal.Number.Integer */ -html[data-theme="dark"] .highlight .mo { color: #ffd900 } /* Literal.Number.Oct */ -html[data-theme="dark"] .highlight .sa { color: #abe338 } /* Literal.String.Affix */ -html[data-theme="dark"] .highlight .sb { color: #abe338 } /* Literal.String.Backtick */ -html[data-theme="dark"] .highlight .sc { color: #abe338 } /* Literal.String.Char */ -html[data-theme="dark"] .highlight .dl { color: #abe338 } /* Literal.String.Delimiter */ -html[data-theme="dark"] .highlight .sd { color: #abe338 } /* Literal.String.Doc */ -html[data-theme="dark"] .highlight .s2 { color: #abe338 } /* Literal.String.Double */ -html[data-theme="dark"] .highlight .se { color: #abe338 } /* Literal.String.Escape */ -html[data-theme="dark"] .highlight .sh { color: #abe338 } /* Literal.String.Heredoc */ -html[data-theme="dark"] .highlight .si { color: #abe338 } /* Literal.String.Interpol */ -html[data-theme="dark"] .highlight .sx { color: #abe338 } /* Literal.String.Other */ -html[data-theme="dark"] .highlight .sr { color: #ffa07a } /* Literal.String.Regex */ -html[data-theme="dark"] .highlight .s1 { color: #abe338 } /* Literal.String.Single */ -html[data-theme="dark"] .highlight .ss { color: #00e0e0 } /* Literal.String.Symbol */ -html[data-theme="dark"] .highlight .bp { color: #ffd900 } /* Name.Builtin.Pseudo */ -html[data-theme="dark"] .highlight .fm { color: #00e0e0 } /* Name.Function.Magic */ -html[data-theme="dark"] .highlight .vc { color: #ffa07a } /* Name.Variable.Class */ -html[data-theme="dark"] .highlight .vg { color: #ffa07a } /* Name.Variable.Global */ -html[data-theme="dark"] .highlight .vi { color: #ffa07a } /* Name.Variable.Instance */ -html[data-theme="dark"] .highlight .vm { color: #ffd900 } /* Name.Variable.Magic */ -html[data-theme="dark"] .highlight .il { color: #ffd900 } /* Literal.Number.Integer.Long */ \ No newline at end of file +html[data-theme="dark"] .highlight .gu { color: #00E0E0 } /* Generic.Subheading */ +html[data-theme="dark"] .highlight .kc { color: #DCC6E0 } /* Keyword.Constant */ +html[data-theme="dark"] .highlight .kd { color: #DCC6E0 } /* Keyword.Declaration */ +html[data-theme="dark"] .highlight .kn { color: #DCC6E0 } /* Keyword.Namespace */ +html[data-theme="dark"] .highlight .kp { color: #DCC6E0 } /* Keyword.Pseudo */ +html[data-theme="dark"] .highlight .kr { color: #DCC6E0 } /* Keyword.Reserved */ +html[data-theme="dark"] .highlight .kt { color: #FFD900 } /* Keyword.Type */ +html[data-theme="dark"] .highlight .ld { color: #FFD900 } /* Literal.Date */ +html[data-theme="dark"] .highlight .m { color: #FFD900 } /* Literal.Number */ +html[data-theme="dark"] .highlight .s { color: #ABE338 } /* Literal.String */ +html[data-theme="dark"] .highlight .na { color: #FFD900 } /* Name.Attribute */ +html[data-theme="dark"] .highlight .nb { color: #FFD900 } /* Name.Builtin */ +html[data-theme="dark"] .highlight .nc { color: #00E0E0 } /* Name.Class */ +html[data-theme="dark"] .highlight .no { color: #00E0E0 } /* Name.Constant */ +html[data-theme="dark"] .highlight .nd { color: #FFD900 } /* Name.Decorator */ +html[data-theme="dark"] .highlight .ni { color: #ABE338 } /* Name.Entity */ +html[data-theme="dark"] .highlight .ne { color: #DCC6E0 } /* Name.Exception */ +html[data-theme="dark"] .highlight .nf { color: #00E0E0 } /* Name.Function */ +html[data-theme="dark"] .highlight .nl { color: #FFD900 } /* Name.Label */ +html[data-theme="dark"] .highlight .nn { color: #F8F8F2 } /* Name.Namespace */ +html[data-theme="dark"] .highlight .nx { color: #F8F8F2 } /* Name.Other */ +html[data-theme="dark"] .highlight .py { color: #00E0E0 } /* Name.Property */ +html[data-theme="dark"] .highlight .nt { color: #00E0E0 } /* Name.Tag */ +html[data-theme="dark"] .highlight .nv { color: #FFA07A } /* Name.Variable */ +html[data-theme="dark"] .highlight .ow { color: #DCC6E0 } /* Operator.Word */ +html[data-theme="dark"] .highlight .pm { color: #F8F8F2 } /* Punctuation.Marker */ +html[data-theme="dark"] .highlight .w { color: #F8F8F2 } /* Text.Whitespace */ +html[data-theme="dark"] .highlight .mb { color: #FFD900 } /* Literal.Number.Bin */ +html[data-theme="dark"] .highlight .mf { color: #FFD900 } /* Literal.Number.Float */ +html[data-theme="dark"] .highlight .mh { color: #FFD900 } /* Literal.Number.Hex */ +html[data-theme="dark"] .highlight .mi { color: #FFD900 } /* Literal.Number.Integer */ +html[data-theme="dark"] .highlight .mo { color: #FFD900 } /* Literal.Number.Oct */ +html[data-theme="dark"] .highlight .sa { color: #ABE338 } /* Literal.String.Affix */ +html[data-theme="dark"] .highlight .sb { color: #ABE338 } /* Literal.String.Backtick */ +html[data-theme="dark"] .highlight .sc { color: #ABE338 } /* Literal.String.Char */ +html[data-theme="dark"] .highlight .dl { color: #ABE338 } /* Literal.String.Delimiter */ +html[data-theme="dark"] .highlight .sd { color: #ABE338 } /* Literal.String.Doc */ +html[data-theme="dark"] .highlight .s2 { color: #ABE338 } /* Literal.String.Double */ +html[data-theme="dark"] .highlight .se { color: #ABE338 } /* Literal.String.Escape */ +html[data-theme="dark"] .highlight .sh { color: #ABE338 } /* Literal.String.Heredoc */ +html[data-theme="dark"] .highlight .si { color: #ABE338 } /* Literal.String.Interpol */ +html[data-theme="dark"] .highlight .sx { color: #ABE338 } /* Literal.String.Other */ +html[data-theme="dark"] .highlight .sr { color: #FFA07A } /* Literal.String.Regex */ +html[data-theme="dark"] .highlight .s1 { color: #ABE338 } /* Literal.String.Single */ +html[data-theme="dark"] .highlight .ss { color: #00E0E0 } /* Literal.String.Symbol */ +html[data-theme="dark"] .highlight .bp { color: #FFD900 } /* Name.Builtin.Pseudo */ +html[data-theme="dark"] .highlight .fm { color: #00E0E0 } /* Name.Function.Magic */ +html[data-theme="dark"] .highlight .vc { color: #FFA07A } /* Name.Variable.Class */ +html[data-theme="dark"] .highlight .vg { color: #FFA07A } /* Name.Variable.Global */ +html[data-theme="dark"] .highlight .vi { color: #FFA07A } /* Name.Variable.Instance */ +html[data-theme="dark"] .highlight .vm { color: #FFD900 } /* Name.Variable.Magic */ +html[data-theme="dark"] .highlight .il { color: #FFD900 } /* Literal.Number.Integer.Long */ \ No newline at end of file diff --git a/docs/_build/html/_static/searchtools.js b/docs/_build/html/_static/searchtools.js index b08d58c9..2c774d17 100644 --- a/docs/_build/html/_static/searchtools.js +++ b/docs/_build/html/_static/searchtools.js @@ -1,12 +1,5 @@ /* - * searchtools.js - * ~~~~~~~~~~~~~~~~ - * * Sphinx JavaScript utilities for the full-text search. - * - * :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS. - * :license: BSD, see LICENSE for details. - * */ "use strict"; @@ -20,7 +13,7 @@ if (typeof Scorer === "undefined") { // and returns the new score. /* score: result => { - const [docname, title, anchor, descr, score, filename] = result + const [docname, title, anchor, descr, score, filename, kind] = result return score }, */ @@ -47,6 +40,14 @@ if (typeof Scorer === "undefined") { }; } +// Global search result kind enum, used by themes to style search results. +class SearchResultKind { + static get index() { return "index"; } + static get object() { return "object"; } + static get text() { return "text"; } + static get title() { return "title"; } +} + const _removeChildren = (element) => { while (element && element.lastChild) element.removeChild(element.lastChild); }; @@ -64,9 +65,13 @@ const _displayItem = (item, searchTerms, highlightTerms) => { const showSearchSummary = DOCUMENTATION_OPTIONS.SHOW_SEARCH_SUMMARY; const contentRoot = document.documentElement.dataset.content_root; - const [docName, title, anchor, descr, score, _filename] = item; + const [docName, title, anchor, descr, score, _filename, kind] = item; let listItem = document.createElement("li"); + // Add a class representing the item's type: + // can be used by a theme's CSS selector for styling + // See SearchResultKind for the class names. + listItem.classList.add(`kind-${kind}`); let requestUrl; let linkUrl; if (docBuilder === "dirhtml") { @@ -115,8 +120,10 @@ const _finishSearch = (resultCount) => { "Your search did not match any documents. Please make sure that all words are spelled correctly and that you've selected enough categories." ); else - Search.status.innerText = _( - "Search finished, found ${resultCount} page(s) matching the search query." + Search.status.innerText = Documentation.ngettext( + "Search finished, found one page matching the search query.", + "Search finished, found ${resultCount} pages matching the search query.", + resultCount, ).replace('${resultCount}', resultCount); }; const _displayNextItem = ( @@ -138,7 +145,7 @@ const _displayNextItem = ( else _finishSearch(resultCount); }; // Helper function used by query() to order search results. -// Each input is an array of [docname, title, anchor, descr, score, filename]. +// Each input is an array of [docname, title, anchor, descr, score, filename, kind]. // Order the results by score (in opposite order of appearance, since the // `_displayNextItem` function uses pop() to retrieve items) and then alphabetically. const _orderResultsByScoreThenName = (a, b) => { @@ -248,6 +255,7 @@ const Search = { searchSummary.classList.add("search-summary"); searchSummary.innerText = ""; const searchList = document.createElement("ul"); + searchList.setAttribute("role", "list"); searchList.classList.add("search"); const out = document.getElementById("search-results"); @@ -318,7 +326,7 @@ const Search = { const indexEntries = Search._index.indexentries; // Collect multiple result groups to be sorted separately and then ordered. - // Each is an array of [docname, title, anchor, descr, score, filename]. + // Each is an array of [docname, title, anchor, descr, score, filename, kind]. const normalResults = []; const nonMainIndexResults = []; @@ -337,6 +345,7 @@ const Search = { null, score + boost, filenames[file], + SearchResultKind.title, ]); } } @@ -354,6 +363,7 @@ const Search = { null, score, filenames[file], + SearchResultKind.index, ]; if (isMain) { normalResults.push(result); @@ -475,6 +485,7 @@ const Search = { descr, score, filenames[match[0]], + SearchResultKind.object, ]); }; Object.keys(objects).forEach((prefix) => @@ -585,6 +596,7 @@ const Search = { null, score, filenames[file], + SearchResultKind.text, ]); } return results; diff --git a/docs/_build/html/documentation/api_reference/basicfeatures.html b/docs/_build/html/documentation/api_reference/basicfeatures.html index 2ed2238d..9c168def 100644 --- a/docs/_build/html/documentation/api_reference/basicfeatures.html +++ b/docs/_build/html/documentation/api_reference/basicfeatures.html @@ -30,7 +30,7 @@ - + @@ -39,7 +39,7 @@ - + @@ -362,7 +362,7 @@
Return estimated fragment coverage over intervals specified in intervals. Fragments are read from input_file which may be a BAM, CRAM, or fragment file. Uses an algorithm where the @@ -404,7 +404,7 @@
Return np.ndarray containing lengths of fragments in input_file that are above the quality threshold and are proper-paired reads.
Takes input_file, computes frag lengths of fragments and returns two arrays containing bins and counts by size. Optionally prints data to output as a tab delimited table or histogram.
@@ -566,7 +566,7 @@Cleavage profile calculated over a single interval.
A function that replicates the methodology of Christiano et al (2019).
Reads kmer frequency from a two-column tab-delimited file.
Function that reads fragments from a BAM, CRAM, or tabix indexed file and returns the 5’ k-mer (default is 4-mer) end motif frequencies as a dictionary. Optionally writes data to a tsv. This @@ -605,7 +605,7 @@
Function that reads fragments from a BAM, CRAM, or tabix indexed file and user-specified intervals and returns the 5’ k-mer (default is 4-mer) end motif. Optionally writes data to a tsv.
@@ -752,7 +752,7 @@Accepts the path to a BAM, CRAM, or BED file and creates a filtered version.
+Filter reads/intervals based on exceeding the specified quality threshold, +intersections with a region in the region bed (if provided), and read length.
+For BAM/CRAM files, it also filters reads based on being read1 in a proper pair.
+input_file (str) – Path string to the input BAM, CRAM, or BED file.
whitelist_file (str, optional) – Path to a BED file defining regions to include.
blacklist_file (str, optional) – Path to a BED file defining regions to exclude.
output_file (str, optional) – Path to the output filtered file. If None, a temporary file is created.
min_length (int, optional) – Minimum length for reads/intervals
max_length (int, optional) – Maximum length for reads/intervals
intersect_policy (str, optional) – Specifies how to determine whether fragments are in interval for +whitelisting and blacklisting functionality.’midpoint’ (default) +calculates the central coordinate of each fragment and only +selects the fragment if the midpoint is in the interval. +‘any’ includes fragments with any overlap with the interval.
quality_threshold (int, optional) – Minimum mapping quality score
workers (int, optional) – Number of worker threads for samtools.
verbose (bool, optional) – Default is False
fraction_low (int, optional) – Deprecated alias for min_length
fraction_high (int, optional) – Deprecated alias for max_length
output_file – Path to the filtered output file.
+str
+Reads from BAM, CRAM, or fragment file and returns a three column matrix with fragment start and stop positions and strand.
filter_file()
agg_bw()
chrom_sizes_to_list()
chrom_sizes_to_dict()
filter_file()
agg_bw()
chrom_sizes_to_list()
chrom_sizes_to_dict()
Return (raw) Windowed Protection Scores as specified in Snyder et al (2016) over a region [start,stop).
Function that aggregates WPS over sites in BED file according to the method described by Snyder et al (2016).
show program’s version number and exit
@@ -368,8 +368,7 @@Calculates fragmentation coverage over intervals defined in a BED file based on alignment data from a BAM/CRAM/Fragment file.
-finaletoolkit coverage [-h] [-o OUTPUT_FILE] [-n] [-s SCALE_FACTOR] [-min MIN_LENGTH] [-max MAX_LENGTH] [-p {midpoint,any}] [-q QUALITY_THRESHOLD]
- [-w WORKERS] [-v]
+finaletoolkit coverage [-h] [-o OUTPUT_FILE] [-n] [-s SCALE_FACTOR] [-min MIN_LENGTH] [-max MAX_LENGTH] [-p {midpoint,any}] [-q QUALITY_THRESHOLD] [-w WORKERS] [-v]
input_file interval_file
@@ -384,24 +383,24 @@ Positional Arguments
-
-Named Arguments#
+
+Named Arguments#
- -o, --output-file
A BED file containing coverage values over the intervals specified in interval file.
-Default: “-”
+Default: '-'
- -n, --normalize
If flag set, multiplies by user inputed scale factor if given and normalizes output by total coverage. May lead to longer execution time for high-throughput data.
-Default: False
+Default: False
- -s, --scale-factor
Scale factor for coverage values. Default is 1.
-Default: 1.0
+Default: 1.0
- -min, --min-length
Minimum length for a fragment to be included in coverage.
-Default: 0
+Default: 0
- -max, --max-length
Maximum length for a fragment to be included in coverage.
@@ -409,19 +408,19 @@ Named Arguments'midpoint'
- -q, --quality-threshold
Minimum mapping quality threshold.
-Default: 30
+Default: 30
- -w, --workers
Number of worker processes.
-Default: 1
+Default: 1
- -v, --verbose
Enable verbose mode to display detailed processing information.
-Default: False
+Default: False
@@ -429,8 +428,8 @@ Named Arguments
frag-length-bins#
Retrieves fragment lengths grouped in bins given a BAM/CRAM/Fragment file.
-finaletoolkit frag-length-bins [-h] [-c CONTIG] [-S START] [-E STOP] [-min MIN_LENGTH] [-max MAX_LENGTH] [-p {midpoint,any}] [--bin-size BIN_SIZE]
- [-o OUTPUT_FILE] [--histogram-path HISTOGRAM_PATH] [-q QUALITY_THRESHOLD] [-v]
+finaletoolkit frag-length-bins [-h] [-c CONTIG] [-S START] [-E STOP] [-min MIN_LENGTH] [-max MAX_LENGTH] [-p {midpoint,any}] [--bin-size BIN_SIZE] [-o OUTPUT_FILE]
+ [--histogram-path HISTOGRAM_PATH] [-q QUALITY_THRESHOLD] [-v]
input_file
@@ -442,8 +441,8 @@ Positional Arguments
-Named Arguments#
+
+Named Arguments#
- -c, --contig
Specify the contig or chromosome to select fragments from. (Required if using –start or –stop.)
@@ -456,7 +455,7 @@ Named Arguments0
- -max, --max-length
Maximum length for a fragment to be included in fragment length.
@@ -464,26 +463,26 @@ Named Arguments'midpoint'
- --bin-size
Specify the size of the bins to group fragment lengths into.
-Default: 1
+Default: 1
- -o, --output-file
A .TSV file containing containing fragment lengths binned according to the specified bin size.
-Default: “-”
+Default: '-'
- --histogram-path
Path to store histogram.
- -q, --quality-threshold
Minimum mapping quality threshold.
-Default: 30
+Default: 30
- -v, --verbose
Enable verbose mode to display detailed processing information.
-Default: 0
+Default: 0
@@ -491,8 +490,7 @@ Named Arguments
frag-length-intervals#
Retrieves fragment length summary statistics over intervals defined in a BED file based on alignment data from a BAM/CRAM/Fragment file.
-finaletoolkit frag-length-intervals [-h] [-min MIN_LENGTH] [-max MAX_LENGTH] [-p {midpoint,any}] [-o OUTPUT_FILE] [-q QUALITY_THRESHOLD] [-w WORKERS] [-v]
- input_file interval_file
+finaletoolkit frag-length-intervals [-h] [-min MIN_LENGTH] [-max MAX_LENGTH] [-p {midpoint,any}] [-o OUTPUT_FILE] [-q QUALITY_THRESHOLD] [-w WORKERS] [-v] input_file interval_file
@@ -506,12 +504,12 @@ Positional Arguments
-Named Arguments#
+
+Named Arguments#
- -min, --min-length
Minimum length for a fragment to be included in fragment length.
-Default: 0
+Default: 0
- -max, --max-length
Maximum length for a fragment to be included in fragment length.
@@ -519,23 +517,23 @@ Named Arguments'midpoint'
- -o, --output-file
A BED file containing fragment length summary statistics (mean, median, st. dev, min, max) over the intervals specified in the interval file.
-Default: “-”
+Default: '-'
- -q, --quality-threshold
Minimum mapping quality threshold.
-Default: 30
+Default: 30
- -w, --workers
Number of worker processes.
-Default: 1
+Default: 1
- -v, --verbose
Enable verbose mode to display detailed processing information.
-Default: 0
+Default: 0
@@ -543,8 +541,8 @@ Named Arguments
cleavage-profile#
Calculates cleavage proportion over intervals defined in a BED file based on alignment data from a BAM/CRAM/Fragment file.
-finaletoolkit cleavage-profile [-h] [-c CHROM_SIZES] [-o OUTPUT_FILE] [-min MIN_LENGTH] [-max MAX_LENGTH] [-lo MIN_LENGTH] [-hi MAX_LENGTH]
- [-q QUALITY_THRESHOLD] [-l LEFT] [-r RIGHT] [-w WORKERS] [-v]
+finaletoolkit cleavage-profile [-h] [-c CHROM_SIZES] [-o OUTPUT_FILE] [-min MIN_LENGTH] [-max MAX_LENGTH] [-lo MIN_LENGTH] [-hi MAX_LENGTH] [-q QUALITY_THRESHOLD] [-l LEFT] [-r RIGHT]
+ [-w WORKERS] [-v]
input_file interval_file
@@ -559,19 +557,19 @@ Positional Arguments
-Named Arguments#
+
+Named Arguments#
- -c, --chrom-sizes
A .chrom.sizes file containing chromosome names and sizes.
- -o, --output-file
A bigWig file containing the cleavage proportion results over the intervals specified in interval file.
-Default: “-”
+Default: '-'
- -min, --min-length
Minimum length for a fragment to be included.
-Default: 0
+Default: 0
- -max, --max-length
Maximum length for a fragment to be included.
@@ -584,23 +582,23 @@ Named Arguments20
- -l, --left
Number of base pairs to subtract from start coordinate to create interval. Useful when dealing with BED files with only CpG coordinates. Default is 0.
-Default: 0
+Default: 0
- -r, --right
Number of base pairs to add to stop coordinate to create interval. Useful when dealing with BED files with only CpG coordinates. Default is 0.
-Default: 0
+Default: 0
- -w, --workers
Number of worker processes.
-Default: 1
+Default: 1
- -v, --verbose
Enable verbose mode to display detailed processing information.
-Default: 0
+Default: 0
@@ -608,8 +606,8 @@ Named Arguments
wps#
Calculates Windowed Protection Score (WPS) over intervals defined in a BED file based on alignment data from a BAM/CRAM/Fragment file.
-finaletoolkit wps [-h] [-c CHROM_SIZES] [-o OUTPUT_FILE] [-i INTERVAL_SIZE] [-W WINDOW_SIZE] [-min MIN_LENGTH] [-max MAX_LENGTH] [-lo MIN_LENGTH]
- [-hi MAX_LENGTH] [-q QUALITY_THRESHOLD] [-w WORKERS] [-v]
+finaletoolkit wps [-h] [-c CHROM_SIZES] [-o OUTPUT_FILE] [-i INTERVAL_SIZE] [-W WINDOW_SIZE] [-min MIN_LENGTH] [-max MAX_LENGTH] [-lo MIN_LENGTH] [-hi MAX_LENGTH] [-q QUALITY_THRESHOLD]
+ [-w WORKERS] [-v]
input_file site_bed
@@ -624,31 +622,31 @@ Positional Arguments
-Named Arguments#
+
+Named Arguments#
- -c, --chrom-sizes
A .chrom.sizes file containing chromosome names and sizes.
- -o, --output-file
A bigWig file containing the WPS results over the intervals specified in interval file.
-Default: “-”
+Default: '-'
- -i, --interval-size
Size in bp of the intervals to calculate WPS over. Thesenew intervals are centered over those specified in the site_bed.Default is 5000
-Default: 5000
+Default: 5000
- -W, --window-size
Size of the sliding window used to calculate WPS scores. Default is 120
-Default: 120
+Default: 120
- -min, --min-length
Minimum length for a fragment to be included. Default is 120, corresponding to L-WPS.
-Default: 120
+Default: 120
- -max, --max-length
Maximum length for a fragment to be included. Default is 180, corresponding to L-WPS.
-Default: 180
+Default: 180
- -lo, --fraction_low
Minimum length for a fragment to be included in WPS calculation. Deprecated. Use –min-length instead.
@@ -658,15 +656,15 @@ Named Arguments30
- -w, --workers
Number of worker processes.
-Default: 1
+Default: 1
- -v, --verbose
Enable verbose mode to display detailed processing information.
-Default: 0
+Default: 0
@@ -674,8 +672,8 @@ Named Arguments
adjust-wps#
Adjusts raw Windowed Protection Score (WPS) by applying a median filter and Savitsky-Golay filter.
-finaletoolkit adjust-wps [-h] [-o OUTPUT_FILE] [-i INTERVAL_SIZE] [-m MEDIAN_WINDOW_SIZE] [-s SAVGOL_WINDOW_SIZE] [-p SAVGOL_POLY_DEG] [-S] [-w WORKERS]
- [--mean] [--subtract-edges] [--edge-size EDGE_SIZE] [-v]
+finaletoolkit adjust-wps [-h] [-o OUTPUT_FILE] [-i INTERVAL_SIZE] [-m MEDIAN_WINDOW_SIZE] [-s SAVGOL_WINDOW_SIZE] [-p SAVGOL_POLY_DEG] [-S] [-w WORKERS] [--mean] [--subtract-edges]
+ [--edge-size EDGE_SIZE] [-v]
input_file interval_file chrom_sizes
@@ -693,48 +691,48 @@ Positional Arguments
-Named Arguments#
+
+Named Arguments#
- -o, --output-file
A bigWig file containing the adjusted WPS results over the intervals specified in interval file.
-Default: “-”
+Default: '-'
- -i, --interval_size
Size in bp of each interval in the interval file.
-Default: 5000
+Default: 5000
- -m, --median-window-size
Size of the median filter or mean filter window used to adjust WPS scores.
-Default: 1000
+Default: 1000
- -s, --savgol-window-size
Size of the Savitsky-Golay filter window used to adjust WPS scores.
-Default: 21
+Default: 21
- -p, --savgol-poly-deg
Degree polynomial for Savitsky-Golay filter.
-Default: 2
+Default: 2
- -S, --exclude-savgol
Do not perform Savitsky-Golay filteringscores.
-Default: True
+Default: True
- -w, --workers
Number of worker processes.
-Default: 1
+Default: 1
- --mean
A mean filter is used instead of median.
-Default: False
+Default: False
- --subtract-edges
Take the median of the first and last 500 bases in a window and subtract from the whole interval.
-Default: False
+Default: False
- --edge-size
size of the edge subtracted from ends of window when –subtract-edges is set. Default is 500.
-Default: 500
+Default: 500
- -v, --verbose
Enable verbose mode to display detailed processing information.
@@ -766,8 +764,8 @@ Positional Arguments
-Named Arguments#
+
+Named Arguments#
- -b, --blacklist-file
BED file containing regions to ignore when calculating DELFI.
@@ -777,35 +775,35 @@ Named Arguments'-'
- -G, --no-gc-correct
Skip GC correction.
-Default: True
+Default: True
- -R, --keep-nocov
Skip removal two regions in hg19 with no coverage. Use this flag when not using hg19 human reference genome.
-Default: True
+Default: True
- -M, --no-merge-bins
Keep 100kb bins and do not merge to 5Mb size.
-Default: True
+Default: True
- -s, --window-size
Specify size of large genomic intervals to merge smaller 100kb intervals (or whatever the user specified in bins_file) into. Defaultis 5000000
-Default: 5000000
+Default: 5000000
- -q, --quality-threshold
Minimum mapping quality threshold.
-Default: 30
+Default: 30
- -w, --workers
Number of worker processes.
-Default: 1
+Default: 1
- -v, --verbose
Enable verbose mode to display detailed processing information.
-Default: 0
+Default: 0
@@ -824,16 +822,16 @@ Positional Arguments
-Named Arguments#
+
+Named Arguments#
- -o, --output-file
BED to print GC-corrected DELFI fractions. If “-”, will write to stdout.
-Default: “-”
+Default: '-'
- --header-lines
Number of header lines in BED.
-Default: 1
+Default: 1
- -v, --verbose
Enable verbose mode to display detailed processing information.
@@ -844,8 +842,7 @@ Named Arguments
end-motifs#
Measures frequency of k-mer 5’ end motifs.
-finaletoolkit end-motifs [-h] [-k K] [-min MIN_LENGTH] [-max MAX_LENGTH] [-B] [-n] [-o OUTPUT_FILE] [-q QUALITY_THRESHOLD] [-w WORKERS] [-v]
- input_file refseq_file
+finaletoolkit end-motifs [-h] [-k K] [-min MIN_LENGTH] [-max MAX_LENGTH] [-B] [-n] [-o OUTPUT_FILE] [-q QUALITY_THRESHOLD] [-w WORKERS] [-v] input_file refseq_file
@@ -859,43 +856,43 @@ Positional Arguments
-Named Arguments#
+
+Named Arguments#
- -k
Length of k-mer.
-Default: 4
+Default: 4
- -min, --min-length
Minimum length for a fragment to be included.
-Default: 0
+Default: 0
- -max, --max-length
Maximum length for a fragment to be included.
- -B, --no-both-strands
Set flag to only consider one strand for end-motifs.
-Default: True
+Default: True
- -n, --negative-strand
Set flag in conjunction with -B to only consider 5’ end motifs on the negative strand.
-Default: False
+Default: False
- -o, --output-file
TSV to print k-mer frequencies. If “-”, will write to stdout.
-Default: “-”
+Default: '-'
- -q, --quality-threshold
Minimum mapping quality threshold.
-Default: 20
+Default: 20
- -w, --workers
Number of worker processes.
-Default: 1
+Default: 1
- -v, --verbose
Enable verbose mode to display detailed processing information.
-Default: 0
+Default: 0
@@ -903,8 +900,7 @@ Named Arguments
interval-end-motifs#
Measures frequency of k-mer 5’ end motifs in each region specified in a BED file and writes data into a table.
-finaletoolkit interval-end-motifs [-h] [-k K] [-min MIN_LENGTH] [-max MAX_LENGTH] [-lo MIN_LENGTH] [-hi MAX_LENGTH] [-B] [-n] [-o OUTPUT_FILE]
- [-q QUALITY_THRESHOLD] [-w WORKERS] [-v]
+finaletoolkit interval-end-motifs [-h] [-k K] [-min MIN_LENGTH] [-max MAX_LENGTH] [-lo MIN_LENGTH] [-hi MAX_LENGTH] [-B] [-n] [-o OUTPUT_FILE] [-q QUALITY_THRESHOLD] [-w WORKERS] [-v]
input_file refseq_file intervals
@@ -922,16 +918,16 @@ Positional Arguments
-Named Arguments#
+
+Named Arguments#
- -k
Length of k-mer.
-Default: 4
+Default: 4
- -min, --min-length
Minimum length for a fragment to be included.
-Default: 0
+Default: 0
- -max, --max-length
Maximum length for a fragment to be included.
@@ -944,27 +940,27 @@ Named Arguments
- -B, --single-strand
Set flag to only consider one strand for end-motifs. By default, the positive strand is calculated, but with the -n flag, the 5’ end motifs of the negative strand are considered instead.
-Default: True
+Default: True
- -n, --negative-strand
Set flag in conjunction with -B to only consider 5’ end motifs on the negative strand.
-Default: False
+Default: False
- -o, --output-file
Path to TSV or CSV file to write end motif frequencies to.
-Default: “-”
+Default: '-'
- -q, --quality-threshold
Minimum mapping quality threshold.
-Default: 20
+Default: 20
- -w, --workers
Number of worker processes.
-Default: 1
+Default: 1
- -v, --verbose
Enable verbose mode to display detailed processing information.
-Default: 0
+Default: 0
@@ -980,20 +976,20 @@ Positional Arguments
- file_path
Tab-delimited or similar file containing one column for all k-mers a one column for frequency. Reads from stdin by default.
-Default: “-”
+Default: '-'
-
-Named Arguments#
+
+Named Arguments#
- -s, --sep
Separator used in tabular file.
-Default: “ “
+Default: ' '
- --header
Number of header rows to ignore. Default is 0
-Default: 0
+Default: 0
@@ -1009,24 +1005,24 @@ Positional Arguments
- file_path
Tab-delimited or similar file containing one column for all k-mers a one column for frequency. Reads from stdin by default.
-Default: “-”
+Default: '-'
- file_out
Path to the output BED/BEDGraph file containing MDS for each interval.
-Default: “-”
+Default: '-'
-
-Named Arguments#
+
+Named Arguments#
- -s, --sep
Separator used in tabular file.
-Default: “ “
+Default: ' '
- --header
Number of header rows to ignore. Default is 0
-Default: 0
+Default: 0
@@ -1034,8 +1030,8 @@ Named Arguments
filter-file#
Filters a BED/BAM/CRAM file so that all reads/intervals, when applicable,are in mapped pairs, exceed a certain MAPQ, are not flagged for quality, are read1, are not secondary or supplementary alignments, are within/excluding specified intervals, and are on the same reference sequence as the mate.
-finaletoolkit filter-file [-h] [-W WHITELIST_FILE] [-B BLACKLIST_FILE] [-o OUTPUT_FILE] [-q QUALITY_THRESHOLD] [-min MIN_LENGTH] [-max MAX_LENGTH]
- [-lo MIN_LENGTH] [-hi MAX_LENGTH] [-w WORKERS] [-v]
+finaletoolkit filter-file [-h] [-W WHITELIST_FILE] [-B BLACKLIST_FILE] [-o OUTPUT_FILE] [-q QUALITY_THRESHOLD] [-min MIN_LENGTH] [-max MAX_LENGTH] [-p {midpoint,any}] [-lo MIN_LENGTH]
+ [-hi MAX_LENGTH] [-w WORKERS] [-v]
input_file
@@ -1047,8 +1043,8 @@ Positional Arguments
-Named Arguments#
+
+Named Arguments#
- -W, --whitelist-file
Only output alignments overlapping the intervals in this BED file will be included.
@@ -1058,11 +1054,11 @@ Named Arguments
- -o, --output-file
Output BED/BAM/CRAM file path.
-Default: “-”
+Default: '-'
- -q, --quality-threshold
Minimum mapping quality threshold.
-Default: 30
+Default: 30
- -min, --min-length
Minimum length for a fragment to be included.
@@ -1070,6 +1066,11 @@ Named Arguments-max, --max-length
Maximum length for a fragment to be included.
+- -p, --intersect-policy
+Possible choices: midpoint, any
+Specifies what policy is used to include/exclude fragments in the given interval. See User Guide for more information.
+Default: 'midpoint'
+
- -lo, --fraction-low
Deprecated alias for –min-length
@@ -1078,7 +1079,7 @@ Named Arguments
- -w, --workers
Number of worker processes.
-Default: 1
+Default: 1
- -v, --verbose
Enable verbose mode to display detailed processing information.
@@ -1105,20 +1106,20 @@ Positional Arguments
-Named Arguments#
+
+Named Arguments#
- -o, --output-file
A wiggle file containing the aggregate signal over the intervals specified in interval file.
-Default: “-”
+Default: '-'
- -m, --median-window-size
Size of the median filter window used to aggregate scores. Set to 120 if aggregating WPS signals.
-Default: 1
+Default: 1
- -a, --mean
use mean instead
-Default: False
+Default: False
- -v, --verbose
Enable verbose mode to display detailed processing information.
@@ -1196,76 +1197,76 @@ Positional Arguments