Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nextflow
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LBMC
nextflow
Commits
86af07f9
Verified
Commit
86af07f9
authored
3 years ago
by
Laurent Modolo
Browse files
Options
Downloads
Patches
Plain Diff
danpos: add bg input
parent
d1a7babc
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/nf_modules/danpos/main.nf
+56
-0
56 additions, 0 deletions
src/nf_modules/danpos/main.nf
with
56 additions
and
0 deletions
src/nf_modules/danpos/main.nf
+
56
−
0
View file @
86af07f9
version = "v2.2.2_cv3"
container_url = "biocontainers/danpos:${version}"
include {
bigwig_to_wig as bigwig_to_wig_ip;
bigwig_to_wig_ip as bigwig_to_wig_wce
} from "./../ucsc/main.nf"
params.dpos = "--smooth_width 0 -n N "
params.dpos_out = ""
...
...
@@ -48,6 +53,20 @@ danpos.py dpos -m ${m}
"""
}
workflow dpos_bg {
take:
fastq
bg_ip
bg_wce
main:
bigwig_to_wig_ip(bg_ip)
bigwig_to_wig_wce(bg_wce)
dpos_wig(fastq, bigwig_to_wig_ip.out.wig, bigwig_to_wig_wce.out.wig)
emit:
wig = dpos_wig.out.wig
folder = dpos_wig.out.folder
}
process dpos_wig {
container = "${container_url}"
label "big_mem_mono_cpus"
...
...
@@ -185,6 +204,20 @@ danpos.py dpeak -m ${m}
"""
}
workflow dpeak_bg {
take:
fastq
bg_ip
bg_wce
main:
bigwig_to_wig_ip(bg_ip)
bigwig_to_wig_wce(bg_wce)
dpeak_wig(fastq, bigwig_to_wig_ip.out.wig, bigwig_to_wig_wce.out.wig)
emit:
wig = dpeak_wig.out.wig
folder = dpeak_wig.out.folder
}
process dpeak_wig {
container = "${container_url}"
label "big_mem_mono_cpus"
...
...
@@ -229,6 +262,29 @@ danpos.py dpeak -m ${m}
"""
}
workflow dpeak_bgvsbg {
take:
fastq
bg_ip_a
bg_wce_a
bg_ip_b
bg_wce_b
main:
bigwig_to_wig_ip(bg_ip)
bigwig_to_wig_wce(bg_wce)
dpeak_wigvswig(
fastq,
bigwig_to_wig_ip(bg_ip_a).out.wig,
bigwig_to_wig_wce(bg_wce_a).out.wig,
bigwig_to_wig_ip(bg_ip_b).out.wig,
bigwig_to_wig_wce(bg_wce_b).out.wig
)
emit:
wig = dpeak_wig.out.wig
folder = dpeak_wig.out.folder
}
process dpeak_wigvswig {
container = "${container_url}"
label "big_mem_mono_cpus"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment