Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hub
ePeak
Commits
d82790d4
Commit
d82790d4
authored
Apr 29, 2022
by
Rachel LEGENDRE
Browse files
include peaks from IDR in igv_session only if narrow mode is chosen
parent
5e495879
Changes
1
Hide whitespace changes
Inline
Side-by-side
Snakefile
View file @
d82790d4
...
@@ -970,8 +970,10 @@ if config["igv_session"]["do"]:
...
@@ -970,8 +970,10 @@ if config["igv_session"]["do"]:
if
len
(
IP_REP
)
>
1
and
config
[
"macs2"
][
"do"
]:
if
len
(
IP_REP
)
>
1
and
config
[
"macs2"
][
"do"
]:
if
config
[
"intersectionApproach"
][
"do"
]:
if
config
[
"intersectionApproach"
][
"do"
]:
igv_session_input
+=
expand
(
intersectionApproach_output
,
CALLER
=
"macs2_"
+
model
,
IP_IDR
=
IP_REP
)
igv_session_input
+=
expand
(
intersectionApproach_output
,
CALLER
=
"macs2_"
+
model
,
IP_IDR
=
IP_REP
)
el
se
:
el
if
model
in
[
"narrow"
]
and
not
config
[
"intersectionApproach"
][
"do"
]
and
config
[
"compute_idr"
][
"do"
]
:
igv_session_input
+=
expand
(
select_peaks_output
,
CALLER
=
"macs2"
,
IP_IDR
=
IP_REP
)
igv_session_input
+=
expand
(
select_peaks_output
,
CALLER
=
"macs2"
,
IP_IDR
=
IP_REP
)
else
:
igv_session_input
+=
expand
(
macs2_output
,
SAMPLE
=
IP_ALL
)
elif
len
(
IP_REP
)
>
1
and
config
[
"seacr"
][
"do"
]:
elif
len
(
IP_REP
)
>
1
and
config
[
"seacr"
][
"do"
]:
igv_session_input
+=
expand
(
intersectionApproach_output
,
CALLER
=
"seacr_"
+
config
[
"seacr"
][
"threshold"
],
IP_IDR
=
IP_REP
)
igv_session_input
+=
expand
(
intersectionApproach_output
,
CALLER
=
"seacr_"
+
config
[
"seacr"
][
"threshold"
],
IP_IDR
=
IP_REP
)
if
len
(
IP_ALL
)
>
1
and
config
[
"macs2"
][
"do"
]:
if
len
(
IP_ALL
)
>
1
and
config
[
"macs2"
][
"do"
]:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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