Révision dadb6a4d doc/sphinx_doc/build/text/ref.txt
b/doc/sphinx_doc/build/text/ref.txt | ||
---|---|---|
6 | 6 |
Python Reference |
7 | 7 |
================ |
8 | 8 |
|
9 |
configurator.CSV_SAMPLE_FILE = None |
|
10 |
|
|
11 |
Path to cvs file that contains sample information. |
|
12 |
|
|
13 |
configurator.BOWTIE_BUILD_BIN = None |
|
14 |
|
|
15 |
Path for bowtie2 build bin. |
|
16 |
|
|
17 |
configurator.BOWTIE2_BIN = None |
|
18 |
|
|
19 |
Path for bowtie2 bin. |
|
20 |
|
|
21 |
configurator.SAMTOOLS_BIN = None |
|
22 |
|
|
23 |
Path for samtools bin. |
|
24 |
|
|
25 |
configurator.BEDTOOLS_BIN = None |
|
26 |
|
|
27 |
Path for bedtools bin. |
|
28 |
|
|
29 |
configurator.TF_BIN = None |
|
30 |
|
|
31 |
Path for TemplateFilter bin. |
|
32 |
|
|
33 |
configurator.TF_TEMPLATES_FILE = None |
|
34 |
|
|
35 |
Path for TemplateFilter templates file. |
|
36 |
|
|
37 |
configurator.ILLUMINA_OUTPUTFILE_PREFIX = None |
|
38 |
|
|
39 |
Prefix for Illumina fastq output files. |
|
40 |
|
|
41 |
configurator.INDEX_DIR = None |
|
42 |
|
|
43 |
Path for index dir. |
|
44 |
|
|
45 |
configurator.ALIGN_DIR = None |
|
46 |
|
|
47 |
Path for align dir. |
|
48 |
|
|
49 |
configurator.LOG_DIR = None |
|
50 |
|
|
51 |
Path for log dir |
|
52 |
|
|
53 |
configurator.CACHE_DIR = None |
|
54 |
|
|
55 |
Path for cache dir. |
|
56 |
|
|
57 |
configurator.RESULTS_DIR = None |
|
58 |
|
|
59 |
Path for results dir |
|
60 |
|
|
61 |
configurator.FASTA_REFERENCE_GENOME_FILES = None |
|
62 |
|
|
63 |
Dictionary where each fasta reference genomes is indexed by |
|
64 |
reference strain that it corresponds. |
|
65 |
|
|
66 |
configurator.AREA_BLACK_LIST = None |
|
67 |
|
|
68 |
Dictionary where keys are strain and values are black listed of |
|
69 |
geneome region. |
|
70 |
|
|
71 |
configurator.FASTA_INDEXES = None |
|
72 |
|
|
73 |
Dictionary of strain that indexes dictionaries where keys are |
|
74 |
chromosome reference from Fastq file and value are its |
|
75 |
correspondance for Templatefilter. |
|
76 |
|
|
77 |
configurator.C2C_FILES = None |
|
78 |
|
|
79 |
Dictionary where each strain combination indexes genome aligment. |
|
80 |
|
|
81 |
configurator.READ_LENGTH = None |
|
82 |
|
|
83 |
Length of Illumina reads. |
|
84 |
|
|
85 |
configurator.MAPQ_THRES = None |
|
86 |
|
|
87 |
Aligment quality thresold. |
|
88 |
|
|
89 |
configurator.TF_CORR = None |
|
90 |
|
|
91 |
TemplateFilter Template correlation threshold. |
|
92 |
|
|
93 |
configurator.TF_MINW = None |
|
94 |
|
|
95 |
TemplateFilter minimum width of a nucleosome. |
|
96 |
|
|
97 |
configurator.TF_MAXW = None |
|
98 |
|
|
99 |
TemplateFilter maximum width of a nucleosome. |
|
100 |
|
|
101 |
configurator.TF_OL = None |
|
102 |
|
|
103 |
TemplateFilter maximum allowed overlap for two nucleosomes. |
|
104 |
|
|
105 |
wf.json_conf_file = 'src/current/nucleominer_config.json' |
|
106 |
|
|
107 |
Path to the json configuration file. |
|
108 |
|
|
109 |
wf.samples = [] |
|
110 |
|
|
111 |
List of samples where a sample is identify by an id (key: *id*) and |
|
112 |
a strain name (key *strain*). |
|
113 |
|
|
114 |
wf.samples_mnase = [] |
|
115 |
|
|
116 |
List of Mnase samples. |
|
117 |
|
|
118 |
wf.strains = [] |
|
119 |
|
|
120 |
List of reference strains. |
|
121 |
|
|
122 |
libcoverage.create_bowtie_index(strain, strain_fasta_ref, index_dir, bowtie_build_bin) |
|
123 |
|
|
124 |
Creates bowtie index for a strain *strain*. |
|
125 |
|
|
126 |
Parameters: |
|
127 |
* **strain** -- the strain reference. |
|
128 |
|
|
129 |
* **strain_fasta_ref** -- fasta reference genome. |
|
130 |
|
|
131 |
* **index_dir** -- directories where to put bowtie index. |
|
132 |
|
|
133 |
* **bowtie_build_bin** -- bowtie2 build binary. |
|
134 |
|
|
135 |
libcoverage.align_reads(sample, align_dir, log_dir, index_dir, illumina_outputfile_prefix, bowtie2_bin, samtools_bin, bedtools_bin) |
|
136 |
|
|
137 |
Aligns reads to reference genomes. It produces .sam files, that are |
|
138 |
converted to .bam, that are converted to .bed. |
|
139 |
|
|
140 |
Parameters: |
|
141 |
* **sample** -- a dict that describe a sample. |
|
142 |
|
|
143 |
* **align_dir** -- directory where aligned reads will be |
|
144 |
stored. |
|
145 |
|
|
146 |
* **log_dir** -- directory where logs will be stored. |
|
147 |
|
|
148 |
* **illumina_outputfile_prefix** -- prefix of Illumina |
|
149 |
sequencer fastq.gz output files. |
|
150 |
|
|
151 |
* **bowtie2_bin** -- bowtie2 binary. |
|
152 |
|
|
153 |
* **samtools_bin** -- samtools binary. |
|
154 |
|
|
155 |
* **bedtools_bin** -- bedtools binary. |
|
156 |
|
|
157 |
* **index_dir** -- bowtie index directory. |
|
158 |
|
|
159 |
libcoverage.split_fr_4_TF(sample, align_dir, fasta_indexes, area_black_list, read_length, mapq_thres) |
|
160 |
|
|
161 |
Create TempleFilter input files form bed files. This function |
|
162 |
appends in two times. First, it collects reads from bed files and |
|
163 |
feeds a datastructure |
|
164 |
|
|
165 |
Parameters: |
|
166 |
* **sample** -- a dict that describe a sample. |
|
167 |
|
|
168 |
* **align_dir** -- directory where aligned reads will be |
|
169 |
stored. |
|
170 |
|
|
171 |
* **fasta_index** -- the chr reference from the illumina |
|
172 |
output file. |
|
173 |
|
|
174 |
* **area_black_list** -- the description of genome that will |
|
175 |
be omit. |
|
176 |
|
|
177 |
* **read_length** -- Length of Illumina reads. |
|
178 |
|
|
179 |
* **mapq_thres** -- mapping quality criterion threshold, see |
|
180 |
MAPQ in BED/BAM file format. |
|
181 |
|
|
182 |
libcoverage.template_filter(sample, align_dir, log_dir, tf_bin, tf_templates_file, corr, minw, maxw, ol) |
|
183 |
|
|
184 |
Run TemplateFilter on a specifi sample. It produces .tab file. |
|
185 |
|
|
186 |
Parameters: |
|
187 |
* **sample** -- a dict that describe a sample. |
|
188 |
|
|
189 |
* **align_dir** -- directory where aligned reads will be |
|
190 |
stored. |
|
191 |
|
|
192 |
* **log_dir** -- directory where logs will be stored. |
|
193 |
|
|
194 |
* **tf_bin** -- path to the TemplateFilter binary. |
|
195 |
|
|
196 |
* **tf_templates_file** -- path to the TemplateFilter |
|
197 |
templates file. |
|
198 |
|
|
199 |
* **corr** -- correlation threshold transmits to |
|
200 |
TemplateFilter. |
|
201 |
|
|
202 |
* **minw** -- minimum width of a nuc, transmits to |
|
203 |
TemplateFilter. |
|
204 |
|
|
205 |
* **maxw** -- maximum width of a nuc, transmits to |
|
206 |
TemplateFilter. |
|
207 |
|
|
208 |
* **ol** -- maximum overlaps for 2 nuc, transmits to |
|
209 |
TemplateFilter. |
|
210 |
|
|
9 | 211 |
|
10 | 212 |
R Reference |
11 | 213 |
=========== |
... | ... | |
801 | 1003 |
~~~~~~~~~~~ |
802 | 1004 |
|
803 | 1005 |
This function filters TemplateFilter outputs according, not only |
804 |
genome area observerved properties, but also correlation and overlap
|
|
805 |
threshold. |
|
1006 |
genome area observerved properties, but also correlation and |
|
1007 |
overlapping threshold.
|
|
806 | 1008 |
|
807 | 1009 |
|
808 | 1010 |
Usage |
... | ... | |
1341 | 1543 |
+-----------------+-----------------------------------------------------+ |
1342 | 1544 |
| Author: | Florent Chuffart | |
1343 | 1545 |
+-----------------+-----------------------------------------------------+ |
1344 |
| Version: | 2.3.42 |
|
|
1546 |
| Version: | 2.3.45 |
|
|
1345 | 1547 |
+-----------------+-----------------------------------------------------+ |
1346 | 1548 |
| License: | CeCILL | |
1347 | 1549 |
+-----------------+-----------------------------------------------------+ |
Formats disponibles : Unified diff