Révision 21b8928f 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/nucleo_miner/nucleo_miner_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 |
|
|
211 | 9 |
|
212 | 10 |
R Reference |
213 | 11 |
=========== |
... | ... | |
333 | 131 |
Usage |
334 | 132 |
~~~~~ |
335 | 133 |
|
336 |
aggregate_intra_strain_nucs(samples, lod_thres = -20, coord_max = 2e+07)
|
|
134 |
aggregate_intra_strain_nucs(samples, lod_thres = 20, coord_max = 2e+07) |
|
337 | 135 |
|
338 | 136 |
|
339 | 137 |
Arguments |
... | ... | |
412 | 210 |
~~~~~ |
413 | 211 |
|
414 | 212 |
align_inter_strain_nucs(replicates, wp_nucs_strain_ref1 = NULL, |
415 |
wp_nucs_strain_ref2 = NULL, corr_thres = 0.5, lod_thres = -100,
|
|
213 |
wp_nucs_strain_ref2 = NULL, corr_thres = 0.5, lod_thres = 100, |
|
416 | 214 |
config = NULL, ...) |
417 | 215 |
|
418 | 216 |
|
... | ... | |
632 | 430 |
# plot_common_nucs = FALSE, |
633 | 431 |
# height = 50) |
634 | 432 |
|
433 |
R: reformat an "apply manipulated" list of regions |
|
434 |
|
|
435 |
|
|
436 |
reformat an "apply manipulated" list of regions |
|
437 |
----------------------------------------------- |
|
438 |
|
|
439 |
|
|
440 |
Description |
|
441 |
~~~~~~~~~~~ |
|
442 |
|
|
443 |
Utils to reformat an "apply manipulated" list of regions |
|
444 |
|
|
445 |
|
|
446 |
Usage |
|
447 |
~~~~~ |
|
448 |
|
|
449 |
collapse_regions(regions) |
|
450 |
|
|
451 |
|
|
452 |
Arguments |
|
453 |
~~~~~~~~~ |
|
454 |
|
|
455 |
+-----------------+------+ |
|
456 |
+-----------------+------+ |
|
457 |
|
|
458 |
|
|
459 |
Author(s) |
|
460 |
~~~~~~~~~ |
|
461 |
|
|
462 |
Florent Chuffart |
|
463 |
|
|
635 | 464 |
R: Compute Common Uninterrupted Regions (CUR) |
636 | 465 |
|
637 | 466 |
|
... | ... | |
904 | 733 |
~~~~~ |
905 | 734 |
|
906 | 735 |
filter_tf_inputs(inputs, chr, x_min, x_max, nuc_width = 160, |
907 |
only_f = FALSE, only_r = FALSE) |
|
736 |
only_f = FALSE, only_r = FALSE, filter_for_coverage = FALSE)
|
|
908 | 737 |
|
909 | 738 |
|
910 | 739 |
Arguments |
... | ... | |
938 | 767 |
|
939 | 768 |
Filter only R reads. |
940 | 769 |
|
770 |
"filter_for_coverage" |
|
771 |
|
|
772 |
Does it filter for plot coverage? |
|
773 |
|
|
941 | 774 |
|
942 | 775 |
Value |
943 | 776 |
~~~~~ |
... | ... | |
1015 | 848 |
|
1016 | 849 |
Florent Chuffart |
1017 | 850 |
|
851 |
R: to flat aggregate_intra_strain_nucs function output |
|
852 |
|
|
853 |
|
|
854 |
to flat aggregate_intra_strain_nucs function output |
|
855 |
--------------------------------------------------- |
|
856 |
|
|
857 |
|
|
858 |
Description |
|
859 |
~~~~~~~~~~~ |
|
860 |
|
|
861 |
This function builds a dataframe of all clusters obtain from |
|
862 |
aggregate_intra_strain_nucs function. |
|
863 |
|
|
864 |
|
|
865 |
Usage |
|
866 |
~~~~~ |
|
867 |
|
|
868 |
flat_aggregated_intra_strain_nucs(partial_strain_maps, roi_index) |
|
869 |
|
|
870 |
|
|
871 |
Arguments |
|
872 |
~~~~~~~~~ |
|
873 |
|
|
874 |
"partial_strain_maps" |
|
875 |
|
|
876 |
the output of aggregate_intra_strain_nucs function |
|
877 |
|
|
878 |
"roi_index" |
|
879 |
|
|
880 |
the index of the roi involved |
|
881 |
|
|
882 |
|
|
883 |
Value |
|
884 |
~~~~~ |
|
885 |
|
|
886 |
Returns a dataframe of all clusters obtain from |
|
887 |
aggregate_intra_strain_nucs function. |
|
888 |
|
|
889 |
|
|
890 |
Author(s) |
|
891 |
~~~~~~~~~ |
|
892 |
|
|
893 |
Florent Chuffart |
|
894 |
|
|
1018 | 895 |
R: flat reads |
1019 | 896 |
|
1020 | 897 |
|
... | ... | |
1073 | 950 |
Usage |
1074 | 951 |
~~~~~ |
1075 | 952 |
|
1076 |
get_all_reads(marker, combi, form = "wp") |
|
953 |
get_all_reads(marker, combi, form = "wp", config = NULL)
|
|
1077 | 954 |
|
1078 | 955 |
|
1079 | 956 |
Arguments |
... | ... | |
1091 | 968 |
|
1092 | 969 |
The nuc form to considere. |
1093 | 970 |
|
971 |
"config" |
|
972 |
|
|
973 |
GLOBAL config variable |
|
974 |
|
|
1094 | 975 |
|
1095 | 976 |
Author(s) |
1096 | 977 |
~~~~~~~~~ |
... | ... | |
1247 | 1128 |
Usage |
1248 | 1129 |
~~~~~ |
1249 | 1130 |
|
1250 |
get_sneps(marker, combi, form, all_samples) |
|
1131 |
get_sneps(marker, combi, form, all_samples, config = NULL)
|
|
1251 | 1132 |
|
1252 | 1133 |
|
1253 | 1134 |
Arguments |
... | ... | |
1269 | 1150 |
|
1270 | 1151 |
Global list of samples. |
1271 | 1152 |
|
1153 |
"config" |
|
1154 |
|
|
1155 |
GLOBAL config variable |
|
1156 |
|
|
1272 | 1157 |
|
1273 | 1158 |
Author(s) |
1274 | 1159 |
~~~~~~~~~ |
... | ... | |
1369 | 1254 |
+-----------------+-----------------------------------------------------+ |
1370 | 1255 |
| Author: | Florent Chuffart | |
1371 | 1256 |
+-----------------+-----------------------------------------------------+ |
1372 |
| Version: | 2.3.3 |
|
|
1257 |
| Version: | 2.3.28 |
|
|
1373 | 1258 |
+-----------------+-----------------------------------------------------+ |
1374 | 1259 |
| License: | CeCILL | |
1375 | 1260 |
+-----------------+-----------------------------------------------------+ |
... | ... | |
1823 | 1708 |
plot_arrow_raw_reads = TRUE, plot_arrow_nuc_reads = TRUE, |
1824 | 1709 |
plot_squared_reads = TRUE, plot_coverage = FALSE, plot_gaussian_reads = TRUE, |
1825 | 1710 |
plot_gaussian_unified_reads = TRUE, plot_ellipse_nucs = TRUE, |
1826 |
plot_wp_nucs = TRUE, plot_wp_nuc_model = TRUE, plot_common_nucs = TRUE,
|
|
1827 |
plot_anovas = FALSE, plot_anova_boxes = FALSE, plot_wp_nucs_4_nonmnase = FALSE,
|
|
1828 |
aggregated_intra_strain_nucs = NULL, aligned_inter_strain_nucs = NULL,
|
|
1829 |
height = 10, config = NULL) |
|
1711 |
change_col = TRUE, plot_wp_nucs = TRUE, plot_wp_nuc_model = TRUE,
|
|
1712 |
plot_common_nucs = TRUE, plot_anovas = FALSE, plot_anova_boxes = FALSE,
|
|
1713 |
plot_wp_nucs_4_nonmnase = FALSE, plot_chain = FALSE, aggregated_intra_strain_nucs = NULL,
|
|
1714 |
aligned_inter_strain_nucs = NULL, height = 10, config = NULL)
|
|
1830 | 1715 |
|
1831 | 1716 |
|
1832 | 1717 |
Arguments |
... | ... | |
1872 | 1757 |
|
1873 | 1758 |
Plot (or not) ellipse for a nuc. |
1874 | 1759 |
|
1760 |
"change_col" |
|
1761 |
|
|
1762 |
Change the color of each nucleosome. |
|
1763 |
|
|
1875 | 1764 |
"plot_wp_nucs" |
1876 | 1765 |
|
1877 | 1766 |
Plot (or not) cluster of nucs |
... | ... | |
1896 | 1785 |
|
1897 | 1786 |
Plot (or not) clusters for non inputs samples. |
1898 | 1787 |
|
1788 |
"plot_chain" |
|
1789 |
|
|
1790 |
Plot (or not) clusterised nuceosomes between mnase samples. |
|
1791 |
|
|
1899 | 1792 |
"aggregated_intra_strain_nucs" |
1900 | 1793 |
|
1901 | 1794 |
list of aggregated intra strain nucs. If NULL, it will be computed. |
Formats disponibles : Unified diff