File: configuration.rst

package info (click to toggle)
xpore 2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 83,008 kB
  • sloc: python: 1,439; sh: 48; makefile: 19
file content (44 lines) | stat: -rw-r--r-- 1,370 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
.. _configuration:

Configuration file
==================

The format of configuration file which is one of the inputs for ``xpore-diffmod`` is YAML.

Only the ``data`` and ``out`` sections are required, other sections are optional. Below is the detail for each section.

::
    
    data:
        <CONDITION_NAME_1>:
            <REP1>: <DIR_PATH_TO_DATA_JSON>
            ...

        <CONDITION_NAME_2>:
            <REP1>: <DIR_PATH_TO_DATA_JSON>
            ...

        ...

    out: <DIR_PATH_FOR_OUTPUTS>
    
    criteria:
        readcount_min: <15>
        readcount_max: <1000>
        
    method:
        # To speed up xpore-diffmod, you can use a statistical test (currently only t-test is implemented) can be used 
        # to remove positions that are unlikely to be differentially modified. So, xpore-diffmod will model only 
        # those significant positions by the statistical test -- usually the P_VALUE_THRESHOLD very high e.g. 0.1. 
        # If you want xPore to test every genomic/transcriptomic position, please remove this prefiltering section.
        prefiltering:
            method: t-test
            threshold: <P_VALUE_THRESHOLD>
        
        # Here are the parameters for Bayesian inference. The default values shown in <> are used, if not specified. 
        max_iters: <500>
        stopping_criteria: <0.00001>