Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Maintenance - Mise à jour mensuelle Lundi 6 Février entre 7h00 et 9h00
Open sidebar
genotoul-bioinfo
ng6
Commits
5ab283f6
Commit
5ab283f6
authored
Oct 16, 2018
by
Gerald Salin
Browse files
reactivate insertsize
parent
f459dde2
Changes
2
Hide whitespace changes
Inline
Side-by-side
workflows/components/insertssizes.py
View file @
5ab283f6
...
...
@@ -16,6 +16,8 @@
#
import
os
,
re
,
pickle
import
logging
from
subprocess
import
Popen
,
PIPE
from
ng6.analysis
import
Analysis
...
...
workflows/methylseq/__init__.py
View file @
5ab283f6
...
...
@@ -129,7 +129,7 @@ class Methylseq (CasavaNG6Workflow):
# parent_for_next_step = rmDuplicate
# process insert sizes of the aligned reads
#
insertssizesReference = self.add_component("InsertsSizes", [bam_for_next_step, self.histogram_width, self.min_pct, "LENIENT", "inserts_sizes.tar.gz"], component_prefix="paired", parent = parent_for_next_step)
insertssizesReference
=
self
.
add_component
(
"InsertsSizes"
,
[
bam_for_next_step
,
self
.
histogram_width
,
self
.
min_pct
,
"LENIENT"
,
"inserts_sizes.tar.gz"
],
component_prefix
=
"paired"
,
parent
=
parent_for_next_step
)
# compute the methylation extraction from the alignement
bismarkReference_extract
=
self
.
add_component
(
"BismarkMethylationExtractor"
,
[
indexed_ref
,
bam_for_next_step
,
"paired"
,
self
.
methylation_extractor_no_overlap
,
self
.
large_genome
],
component_prefix
=
"paired"
,
parent
=
parent_for_next_step
)
else
:
...
...
@@ -166,7 +166,7 @@ class Methylseq (CasavaNG6Workflow):
# bam_for_next_step = rmDuplicate.output
# parent_for_next_step = rmDuplicate
# process insert sizes of the aligned reads
#
insertssizesControl = self.add_component("InsertsSizes", [bam_for_next_step, insert_size_histogram_width, insert_size_min_percentage, "LENIENT", "inserts_sizes.tar.gz"], component_prefix="control_paired", parent = parent_for_next_step)
insertssizesControl
=
self
.
add_component
(
"InsertsSizes"
,
[
bam_for_next_step
,
insert_size_histogram_width
,
insert_size_min_percentage
,
"LENIENT"
,
"inserts_sizes.tar.gz"
],
component_prefix
=
"control_paired"
,
parent
=
parent_for_next_step
)
# compute the methylation extraction from the alignement
bismarkControl_extract
=
self
.
add_component
(
"BismarkMethylationExtractor"
,
[
indexed_control
,
bam_for_next_step
,
"paired"
,
self
.
methylation_extractor_no_overlap
],
component_prefix
=
"control_paired"
,
parent
=
parent_for_next_step
)
else
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment