Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hic
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
Package registry
Model registry
Operate
Environments
Terraform modules
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
Hub
hic
Commits
0e5aaa24
Verified
Commit
0e5aaa24
authored
1 year ago
by
Mia Croiset
Browse files
Options
Downloads
Patches
Plain Diff
add enabled option to avoid keeping heavy files
parent
66b73182
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
conf/modules.config
+18
-9
18 additions, 9 deletions
conf/modules.config
nextflow.config
+8
-0
8 additions, 0 deletions
nextflow.config
nextflow_schema.json
+16
-0
16 additions, 0 deletions
nextflow_schema.json
with
42 additions
and
9 deletions
conf/modules.config
+
18
−
9
View file @
0e5aaa24
...
@@ -86,7 +86,8 @@ process {
...
@@ -86,7 +86,8 @@ process {
publishDir
= [
publishDir
= [
path
: {
"${params.outdir}/hicpro/mapping"
},
path
: {
"${params.outdir}/hicpro/mapping"
},
mode
:
'copy'
,
mode
:
'copy'
,
pattern
:
'*.bam'
pattern
:
'*.bam'
,
enabled
:
params
.
save_bam
]
]
ext
.
args
= [
ext
.
args
= [
"-t"
,
"-t"
,
...
@@ -153,7 +154,8 @@ process {
...
@@ -153,7 +154,8 @@ process {
publishDir
= [
publishDir
= [
path
: {
"${params.outdir}/hicpro/valid_pairs/pairix/"
},
path
: {
"${params.outdir}/hicpro/valid_pairs/pairix/"
},
saveAs
: {
filename
->
filename
.
equals
(
'versions.yml'
) ?
null
:
filename
},
saveAs
: {
filename
->
filename
.
equals
(
'versions.yml'
) ?
null
:
filename
},
mode
:
'copy'
mode
:
'copy'
,
enabled
:
params
.
save_pairs
]
]
}
}
...
@@ -181,7 +183,8 @@ process {
...
@@ -181,7 +183,8 @@ process {
ext
.
args
=
params
.
hicstuff_bwt2_align_opts
ext
.
args
=
params
.
hicstuff_bwt2_align_opts
publishDir
= [
publishDir
= [
path
: {
"${params.outdir}/hicstuff/reads"
},
path
: {
"${params.outdir}/hicstuff/reads"
},
mode
:
'copy'
mode
:
'copy'
,
enabled
:
params
.
save_bam
]
]
}
}
...
@@ -196,7 +199,8 @@ process {
...
@@ -196,7 +199,8 @@ process {
].
join
(
''
).
trim
() }
].
join
(
''
).
trim
() }
publishDir
= [
publishDir
= [
path
: {
"${params.outdir}/hicstuff/fragment_enzyme"
},
path
: {
"${params.outdir}/hicstuff/fragment_enzyme"
},
mode
:
'copy'
mode
:
'copy'
,
enabled
:
params
.
save_fragments
]
]
}
}
...
@@ -209,7 +213,8 @@ process {
...
@@ -209,7 +213,8 @@ process {
].
join
(
''
).
trim
() }
].
join
(
''
).
trim
() }
publishDir
= [
publishDir
= [
path
: {
"${params.outdir}/hicstuff/pairs"
},
path
: {
"${params.outdir}/hicstuff/pairs"
},
mode
:
'copy'
mode
:
'copy'
,
enabled
:
params
.
save_pairs
]
]
}
}
...
@@ -222,7 +227,8 @@ process {
...
@@ -222,7 +227,8 @@ process {
].
join
(
''
).
trim
() }
].
join
(
''
).
trim
() }
publishDir
= [
publishDir
= [
path
: {
"${params.outdir}/hicstuff/pairs"
},
path
: {
"${params.outdir}/hicstuff/pairs"
},
mode
:
'copy'
mode
:
'copy'
,
enabled
:
params
.
save_pairs_intermediates
]
]
}
}
...
@@ -238,7 +244,8 @@ process {
...
@@ -238,7 +244,8 @@ process {
].
join
(
''
).
trim
() }
].
join
(
''
).
trim
() }
publishDir
= [
publishDir
= [
path
: {
"${params.outdir}/hicstuff/pairs"
},
path
: {
"${params.outdir}/hicstuff/pairs"
},
mode
:
'copy'
mode
:
'copy'
,
enabled
:
params
.
save_pairs_intermediates
]
]
}
}
...
@@ -248,7 +255,8 @@ process {
...
@@ -248,7 +255,8 @@ process {
].
join
(
''
).
trim
() }
].
join
(
''
).
trim
() }
publishDir
= [
publishDir
= [
path
: {
"${params.outdir}/hicstuff/pairs"
},
path
: {
"${params.outdir}/hicstuff/pairs"
},
mode
:
'copy'
mode
:
'copy'
,
enabled
:
params
.
save_pairs_intermediates
]
]
}
}
...
@@ -408,7 +416,8 @@ process {
...
@@ -408,7 +416,8 @@ process {
].
join
(
''
).
trim
() }
].
join
(
''
).
trim
() }
publishDir
= [
publishDir
= [
path
: {
"${params.outdir}/picard/bam"
},
path
: {
"${params.outdir}/picard/bam"
},
mode
:
'copy'
mode
:
'copy'
,
enabled
:
params
.
save_bam_intermediates
]
]
}
}
...
...
This diff is collapsed.
Click to expand it.
nextflow.config
+
8
−
0
View file @
0e5aaa24
...
@@ -29,6 +29,7 @@ params {
...
@@ -29,6 +29,7 @@ params {
fastq_chunks_size
=
20000000
fastq_chunks_size
=
20000000
save_interaction_bam
=
false
save_interaction_bam
=
false
save_aligned_intermediates
=
false
save_aligned_intermediates
=
false
save_bam
=
false
bwt2_opts_end2end
=
'--very-sensitive -L 30 --score-min L,-0.6,-0.2 --end-to-end --reorder'
bwt2_opts_end2end
=
'--very-sensitive -L 30 --score-min L,-0.6,-0.2 --end-to-end --reorder'
bwt2_opts_trimmed
=
'--very-sensitive -L 20 --score-min L,-0.6,-0.2 --end-to-end --reorder'
bwt2_opts_trimmed
=
'--very-sensitive -L 20 --score-min L,-0.6,-0.2 --end-to-end --reorder'
keep_dups
=
false
keep_dups
=
false
...
@@ -36,6 +37,9 @@ params {
...
@@ -36,6 +37,9 @@ params {
filter_pcr_picard
=
false
filter_pcr_picard
=
false
min_mapq
=
10
min_mapq
=
10
//
Save
bam
filtered
by
Picard
save_bam_intermediates
=
false
//
Digestion
Hi
-
C
//
Digestion
Hi
-
C
digestion
=
null
digestion
=
null
ligation_site
=
null
ligation_site
=
null
...
@@ -64,6 +68,7 @@ params {
...
@@ -64,6 +68,7 @@ params {
min_insert_size
=
0
min_insert_size
=
0
max_insert_size
=
0
max_insert_size
=
0
save_pairs_intermediates
=
false
save_pairs_intermediates
=
false
save_pairs
=
false
//
Dnase
Hi
-
C
//
Dnase
Hi
-
C
dnase
=
false
dnase
=
false
...
@@ -162,6 +167,9 @@ params {
...
@@ -162,6 +167,9 @@ params {
distance_law
=
false
distance_law
=
false
filter_pcr
=
false
filter_pcr
=
false
//
Hicstuff
save
intermediates
files
save_fragments
=
false
}
}
//
Load
base
.
config
by
default
for
all
pipelines
//
Load
base
.
config
by
default
for
all
pipelines
...
...
This diff is collapsed.
Click to expand it.
nextflow_schema.json
+
16
−
0
View file @
0e5aaa24
...
@@ -179,6 +179,10 @@
...
@@ -179,6 +179,10 @@
"save_aligned_intermediates"
:
{
"save_aligned_intermediates"
:
{
"type"
:
"boolean"
,
"type"
:
"boolean"
,
"description"
:
"Save all BAM files during two-steps mapping"
"description"
:
"Save all BAM files during two-steps mapping"
},
"save_bam"
:
{
"type"
:
"boolean"
,
"description"
:
"Save final BAM files after mapping"
}
}
}
}
},
},
...
@@ -224,6 +228,14 @@
...
@@ -224,6 +228,14 @@
"save_pairs_intermediates"
:
{
"save_pairs_intermediates"
:
{
"type"
:
"boolean"
,
"type"
:
"boolean"
,
"description"
:
"Save all types of non valid read pairs in distinct output files"
"description"
:
"Save all types of non valid read pairs in distinct output files"
},
"save_bam_intermediates"
:
{
"type"
:
"boolean"
,
"description"
:
"Save BAM files PICARD pcr duplicates filtering"
},
"save_pairs"
:
{
"type"
:
"boolean"
,
"description"
:
"Save pairs files"
}
}
}
}
},
},
...
@@ -698,6 +710,10 @@
...
@@ -698,6 +710,10 @@
"description"
:
"Name of pair file after PCR filtering"
,
"description"
:
"Name of pair file after PCR filtering"
,
"default"
:
"valid_idx_pcrfree.pairs"
,
"default"
:
"valid_idx_pcrfree.pairs"
,
"fa_icon"
:
"fas fa_cogs"
"fa_icon"
:
"fas fa_cogs"
},
"save_fragments"
:
{
"type"
:
"boolean"
,
"description"
:
"Save fragments files"
}
}
}
}
}
}
...
...
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