-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
84e53fd
commit 391e827
Showing
78 changed files
with
19,620 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Minimal makefile for Sphinx documentation | ||
# | ||
|
||
# You can set these variables from the command line, and also | ||
# from the environment for the first two. | ||
SPHINXOPTS ?= | ||
SPHINXBUILD ?= sphinx-build | ||
SOURCEDIR = source | ||
BUILDDIR = build | ||
|
||
# Put it first so that "make" without argument is like "make help". | ||
help: | ||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
|
||
.PHONY: help Makefile | ||
|
||
# Catch-all target: route all unknown targets to Sphinx using the new | ||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | ||
%: Makefile | ||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: 282ead6f489089e892512bba2a5c5ccd | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
:py:mod:`SVTools` | ||
================= | ||
|
||
.. py:module:: SVTools | ||
Module Contents | ||
--------------- | ||
|
||
Classes | ||
~~~~~~~ | ||
|
||
.. autoapisummary:: | ||
|
||
SVTools.SVariant | ||
SVTools.SVTool | ||
|
||
|
||
|
||
|
||
.. py:class:: SVariant(tool, line=None, chrom=None, pos=None, id=None, ref=None, end=None, gt=None, svlen=None, svtype=None, cipos1=None, cipos2=None, ciend1=None, ciend2=None, algorithms=None) | ||
Class representing structural variant. | ||
|
||
.. py:method:: printVcfLine(self) | ||
Creates a line for the entry in VCF file for particular SV. | ||
|
||
Returns: | ||
str: Line entry for VCF file. | ||
|
||
|
||
.. py:method:: parse_line(self, line) | ||
Parses a line from VCF file, and uses that information for the SVariant initialisation. | ||
|
||
Args: | ||
line (str): Line from the VCF file. | ||
|
||
|
||
.. py:method:: parse_type(self, svtype) | ||
Parses type of the SV. | ||
|
||
Args: | ||
svtype (str): Type from the INFO field. | ||
|
||
Returns: | ||
_type_: Uniform type of SV. | ||
|
||
|
||
.. py:method:: print_sv(self) | ||
Print the SV in the console. Used mostly for debugging. | ||
|
||
|
||
.. py:method:: checkOverlap(self, sv2) | ||
Checks overlap between SVariants. | ||
|
||
Args: | ||
sv2 (SVariant): Variant to overlap. | ||
|
||
Returns: | ||
bool: Information whether the variants overlap or not. | ||
|
||
|
||
|
||
.. py:class:: SVTool(filename) | ||
Class for storing the SV callers. | ||
|
||
.. py:attribute:: max_conf | ||
:annotation: = 200 | ||
|
||
Maximum confidence interval. | ||
|
||
|
||
.. py:method:: parse_file(self, filename) | ||
Function for parsing the VCF file. | ||
|
||
Args: | ||
filename (str): Name of the VCF file for particular tool. | ||
|
||
|
||
|
56 changes: 56 additions & 0 deletions
56
docs/build/html/_sources/autoapi/charles_filter_n/index.rst.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
:py:mod:`charles_filter_n` | ||
========================== | ||
|
||
.. py:module:: charles_filter_n | ||
.. autoapi-nested-parse:: | ||
|
||
Script for generating accuracy metrics between the gold set and the SVs created by ConsensuSV. | ||
|
||
|
||
|
||
Module Contents | ||
--------------- | ||
|
||
.. py:data:: parser | ||
Parser for the arguments to the script. | ||
|
||
|
||
.. py:data:: args | ||
Arguments to the script. | ||
|
||
|
||
.. py:data:: our_callers | ||
Callers used in gold set & our tool (intersection). | ||
|
||
|
||
.. py:data:: samples | ||
Samples to compare. | ||
|
||
|
||
.. py:data:: outputs | ||
Output files from ConsensuSV. | ||
|
||
|
||
.. py:data:: i | ||
:annotation: = 0 | ||
|
||
Iterator | ||
|
||
|
||
.. py:data:: full_text | ||
:annotation: = | ||
|
||
Full text from gold set. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
:py:mod:`conf` | ||
============== | ||
|
||
.. py:module:: conf | ||
Module Contents | ||
--------------- | ||
|
||
.. py:data:: project | ||
:annotation: = ConsensuSV-core | ||
|
||
|
||
|
||
.. py:data:: copyright | ||
:annotation: = 2022, Mateusz Chiliński, Dariusz Plewczyński | ||
|
||
|
||
|
||
.. py:data:: author | ||
:annotation: = Mateusz Chiliński, Dariusz Plewczyński | ||
|
||
|
||
|
||
.. py:data:: release | ||
:annotation: = 1.7 | ||
|
||
|
||
|
||
.. py:data:: extensions | ||
:annotation: = ['autoapi.extension'] | ||
|
||
|
||
|
||
.. py:data:: autoapi_dirs | ||
:annotation: = ['../../'] | ||
|
||
|
||
|
||
.. py:data:: templates_path | ||
:annotation: = ['_templates'] | ||
|
||
|
||
|
||
.. py:data:: exclude_patterns | ||
:annotation: = [] | ||
|
||
|
||
|
||
.. py:data:: html_theme | ||
:annotation: = sphinx_rtd_theme | ||
|
||
|
||
|
||
.. py:data:: html_static_path | ||
:annotation: = ['_static'] | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
API Reference | ||
============= | ||
|
||
This page contains auto-generated API reference documentation [#f1]_. | ||
|
||
.. toctree:: | ||
:titlesonly: | ||
|
||
/autoapi/charles_filter_n/index | ||
/autoapi/input/index | ||
/autoapi/utilities/index | ||
/autoapi/SVTools/index | ||
/autoapi/main/index | ||
/autoapi/conf/index | ||
|
||
.. [#f1] Created with `sphinx-autoapi <https://github.com/readthedocs/sphinx-autoapi>`_ |
Oops, something went wrong.