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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LBMC
Hub
hic
Commits
804cd499
Commit
804cd499
authored
Apr 2, 2019
by
nservant
Browse files
Options
Downloads
Patches
Plain Diff
update igenomes
parent
c93fa3be
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
conf/hicpro.config
+4
-4
4 additions, 4 deletions
conf/hicpro.config
conf/test.config
+1
-1
1 addition, 1 deletion
conf/test.config
main.nf
+5
-4
5 additions, 4 deletions
main.nf
with
10 additions
and
9 deletions
conf/hicpro.config
+
4
−
4
View file @
804cd499
...
@@ -9,9 +9,9 @@
...
@@ -9,9 +9,9 @@
params
{
params
{
//
Genome
Reference
//
Reference
bwt2_index
=
chromosome_size
=
false
chromosome_size
=
bwt2_index
=
false
//
Alignment
options
//
Alignment
options
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'
...
@@ -20,7 +20,7 @@ params {
...
@@ -20,7 +20,7 @@ params {
//
Digestion
Hi
-
C
//
Digestion
Hi
-
C
restriction_site
=
'A^AGGCT'
restriction_site
=
'A^AGGCT'
restriction_fragments
=
restriction
g
_fragments
=
false
ligation_site
=
'AAGCTAGCTT'
ligation_site
=
'AAGCTAGCTT'
min_restriction_fragment_size
=
0
min_restriction_fragment_size
=
0
max_restriction_fragment_size
=
100
max_restriction_fragment_size
=
100
...
...
This diff is collapsed.
Click to expand it.
conf/test.config
+
1
−
1
View file @
804cd499
...
@@ -24,5 +24,5 @@ params {
...
@@ -24,5 +24,5 @@ params {
]
]
//
Annotations
//
Annotations
genome
=
'GR
c
h37'
genome
=
'GR
C
h37'
}
}
This diff is collapsed.
Click to expand it.
main.nf
+
5
−
4
View file @
804cd499
...
@@ -49,15 +49,15 @@ def helpMessage() {
...
@@ -49,15 +49,15 @@ def helpMessage() {
--bwt2_index Path to Bowtie2 index
--bwt2_index Path to Bowtie2 index
--fasta Path to Fasta reference
--fasta Path to Fasta reference
--chromosome_size Path to chromosome size file
--chromosome_size Path to chromosome size file
--restriction_fragment
_bed
Path to restriction fragment file (bed)
--restriction_fragment
s
Path to restriction fragment file (bed)
Options:
Options:
--bwt2_opts_end2end Options for bowtie2 end-to-end mappinf (first mapping step)
--bwt2_opts_end2end Options for bowtie2 end-to-end mappinf (first mapping step)
--bwt2_opts_trimmed Options for bowtie2 mapping after ligation site trimming
--bwt2_opts_trimmed Options for bowtie2 mapping after ligation site trimming
--min_mapq Minimum mapping quality values to consider
--min_mapq Minimum mapping quality values to consider
--restriction
-
site Cutting motif(s) of restriction enzyme(s) (comma separated)
--restriction
_
site Cutting motif(s) of restriction enzyme(s) (comma separated)
--ligation
-
site Ligation motifs to trim (comma separated)
--ligation
_
site Ligation motifs to trim (comma separated)
--min_restriction_fragment_size Minimum size of restriction fragments to consider
--min_restriction_fragment_size Minimum size of restriction fragments to consider
--max_restriction_framgnet_size Maximum size of restriction fragmants to consider
--max_restriction_framgnet_size Maximum size of restriction fragmants to consider
...
@@ -210,6 +210,7 @@ else if ( params.fasta && params.restriction_site ){
...
@@ -210,6 +210,7 @@ else if ( params.fasta && params.restriction_site ){
Channel
.
fromPath
(
params
.
fasta
)
Channel
.
fromPath
(
params
.
fasta
)
.
ifEmpty
{
exit
1
,
"Fasta file not found: ${params.fasta}"
}
.
ifEmpty
{
exit
1
,
"Fasta file not found: ${params.fasta}"
}
.
set
{
fasta_for_resfrag
}
.
set
{
fasta_for_resfrag
}
}
else
{
else
{
exit
1
,
"No restriction fragments file specified!"
exit
1
,
"No restriction fragments file specified!"
}
}
...
@@ -344,7 +345,7 @@ if(!params.chromosome_size && params.fasta){
...
@@ -344,7 +345,7 @@ if(!params.chromosome_size && params.fasta){
}
}
}
}
if
(!
params
.
bwt2_index
&&
params
.
fasta
){
if
(!
params
.
restriction_fragments
&&
params
.
fasta
){
process
makeRestrictionFragments
{
process
makeRestrictionFragments
{
tag
"$fasta"
tag
"$fasta"
publishDir
path:
{
params
.
saveReference
?
"${params.outdir}/reference_genome"
:
params
.
outdir
},
publishDir
path:
{
params
.
saveReference
?
"${params.outdir}/reference_genome"
:
params
.
outdir
},
...
...
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
sign in
to comment