Skip to content

Commit

Permalink
Some other minor amendments.
Browse files Browse the repository at this point in the history
  • Loading branch information
lucventurini committed Apr 1, 2021
1 parent 6e7c0cf commit 6fb1562
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/Library/Mikado.scales.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Submodules
Mikado.scales.compare
Mikado.scales.contrast
Mikado.scales.contrast
Mikado.scales.contrast
Mikado.scales.resultstorer

Module contents
Expand Down
2 changes: 2 additions & 0 deletions docs/Library/Mikado.serializers.blast_serializer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ Submodules
.. toctree::
:maxdepth: 4

Mikado.serializers.blast_serializer.aln_string_parser
Mikado.serializers.blast_serializer.aln_string_parser
Mikado.serializers.blast_serializer.aln_string_parser
Mikado.serializers.blast_serializer.blast_serialiser
Mikado.serializers.blast_serializer.btop_parser
Mikado.serializers.blast_serializer.btop_parser
Mikado.serializers.blast_serializer.btop_parser
Mikado.serializers.blast_serializer.hit
Mikado.serializers.blast_serializer.hsp
Mikado.serializers.blast_serializer.query
Expand Down
3 changes: 3 additions & 0 deletions docs/Library/Mikado.utilities.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@ Submodules
Mikado.utilities.dbutils
Mikado.utilities.f1
Mikado.utilities.f1
Mikado.utilities.f1
Mikado.utilities.file_type
Mikado.utilities.intervaltree
Mikado.utilities.intervaltree
Mikado.utilities.intervaltree
Mikado.utilities.log_utils
Mikado.utilities.namespace
Mikado.utilities.overlap
Mikado.utilities.overlap
Mikado.utilities.overlap

Module contents
---------------
Expand Down
10 changes: 7 additions & 3 deletions docs/Scoring_files.rst
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,10 @@ Metrics belong to one of the following categories:
:ref:`relevant section <attributes-metrics>` for details.

.. important:: Starting from Mikado 1 beta 8, it is possible to use metrics with values between 0 and 1 directly as
scores, without rescaling. This feature is available only for metrics whose values naturally lie between
0 and 1, or that are boolean in nature.
scores, without rescaling. From Mikado 2, it is also possible to treat values that are between 0 and 100
in the same way; Mikado will convert them automatically to be between 0 and 1, internally.
It is also possible to instruct Mikado, during scoring, to use certain values as percentages by adding the
:code:`percentage = True` for the scoring parameter.

.. topic:: Available metrics

Expand Down Expand Up @@ -542,7 +544,7 @@ Please note the following:
* Column names **must be unique**.
* The transcript names present in the first column **must** be present in the FASTA file.
* The table should be tab-separated.
* Values can be of any numerical or boolean type. However, only values that are determined **at serialisation** to be comprised within 0 and 1 (inclusive) can be used as raw values.
* Values can be of any numerical or boolean type. However, only values that are determined **at serialisation** to be comprised within 0 and 1 (inclusive), or between 0 and 100 (ie *percentages*) can be used as raw values.

A proper way of generating and using external scores would, therefore, be the following:

Expand All @@ -556,6 +558,8 @@ A proper way of generating and using external scores would, therefore, be the fo

Given the open ended nature of the external scores, the Daijin pipeline currently does not offer any system to generate these scores. This might change in the future.

.. note:: our laboratory has implemented a novel pipeline, Minos (:ref:`https://github.com/EI-CoreBioinformatics/minos <https://github.com/EI-CoreBioinformatics/minos>`) for integrating multiple sources of evidence using Mikado. Internally, Minos makes use of the external metrics described here. We recommend having a look at the pipeline for inspiration.

Adding external scores to the scoring file
------------------------------------------

Expand Down

0 comments on commit 6fb1562

Please sign in to comment.