Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
chipseq_analysis
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Astrocyte
Workflows
BICF
chipseq_analysis
Commits
a7b0a5a8
There was an error fetching the commit references. Please try again later.
Commit
a7b0a5a8
authored
6 years ago
by
Venkat Malladi
Browse files
Options
Downloads
Patches
Plain Diff
Fix main.
parent
f0fbed43
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
workflow/main.nf
+21
-24
21 additions, 24 deletions
workflow/main.nf
with
21 additions
and
24 deletions
workflow/main.nf
+
21
−
24
View file @
a7b0a5a8
...
@@ -47,7 +47,6 @@ cutoffRatio = params.cutoffRatio
...
@@ -47,7 +47,6 @@ cutoffRatio = params.cutoffRatio
outDir = params.outDir
outDir = params.outDir
extendReadsLen = params.extendReadsLen
extendReadsLen = params.extendReadsLen
topPeakCount = params.topPeakCount
topPeakCount = params.topPeakCount
references = params.references
// Check design file for errors
// Check design file for errors
process checkDesignFile {
process checkDesignFile {
...
@@ -134,7 +133,7 @@ process alignReads {
...
@@ -134,7 +133,7 @@ process alignReads {
output:
output:
set sampleId, file('*.bam'), experimentId, biosample, factor, treatment, replicate, controlId into mappedReads
set sampleId, file('*.bam'), experimentId, biosample, factor, treatment, replicate, controlId into mappedReads
file
(
'*.flagstat.qc'
)
into mappedReadsStats
file
'*.flagstat.qc' into mappedReadsStats
file('version_*.txt') into alignReadsVersions
file('version_*.txt') into alignReadsVersions
script:
script:
...
@@ -166,9 +165,9 @@ process filterReads {
...
@@ -166,9 +165,9 @@ process filterReads {
set sampleId, file('*.bam'), file('*.bai'), experimentId, biosample, factor, treatment, replicate, controlId into dedupReads
set sampleId, file('*.bam'), file('*.bai'), experimentId, biosample, factor, treatment, replicate, controlId into dedupReads
set sampleId, file('*.bam'), experimentId, biosample, factor, treatment, replicate, controlId into convertReads
set sampleId, file('*.bam'), experimentId, biosample, factor, treatment, replicate, controlId into convertReads
file
(
'*.flagstat.qc'
)
into dedupReadsStats
file
'*.flagstat.qc' into dedupReadsStats
file
(
'*.pbc.qc'
)
into dedupReadsComplexity
file
'*.pbc.qc' into dedupReadsComplexity
file
(
'*.dedup.qc'
)
into dupReads
file
'*.dedup.qc' into dupReads
file('version_*.txt') into filterReadsVersions
file('version_*.txt') into filterReadsVersions
script:
script:
...
@@ -204,7 +203,7 @@ process experimentQC {
...
@@ -204,7 +203,7 @@ process experimentQC {
output:
output:
file
(
'*.{pdf,npz}'
)
into experimentQCStats
file
'*.{pdf,npz}' into experimentQCStats
file('version_*.txt') into experimentQCVersions
file('version_*.txt') into experimentQCVersions
script:
script:
...
@@ -293,7 +292,7 @@ process defineExpDesignFiles {
...
@@ -293,7 +292,7 @@ process defineExpDesignFiles {
output:
output:
file
(
'*.tsv'
)
into experimentObjs mode flatten
file
'*.tsv' into experimentObjs mode flatten
script:
script:
...
@@ -317,7 +316,7 @@ process poolAndPsuedoReads {
...
@@ -317,7 +316,7 @@ process poolAndPsuedoReads {
output:
output:
file
(
'*.tsv'
)
into experimentPoolObjs
file
'*.tsv' into experimentPoolObjs
script:
script:
...
@@ -351,7 +350,7 @@ process callPeaksMACS {
...
@@ -351,7 +350,7 @@ process callPeaksMACS {
output:
output:
set sampleId, file('*.narrowPeak'), file('*.fc_signal.bw'), file('*.pvalue_signal.bw'), experimentId, biosample, factor, treatment, replicate, controlId into experimentPeaks
set sampleId, file('*.narrowPeak'), file('*.fc_signal.bw'), file('*.pvalue_signal.bw'), experimentId, biosample, factor, treatment, replicate, controlId into experimentPeaks
file
(
'*.xls'
)
into callPeaksMACSsummit
file
'*.xls' into callPeaksMACSsummit
file('version_*.txt') into callPeaksMACSVersions
file('version_*.txt') into callPeaksMACSVersions
script:
script:
...
@@ -388,11 +387,11 @@ process consensusPeaks {
...
@@ -388,11 +387,11 @@ process consensusPeaks {
output:
output:
file
(
'*.replicated.*'
)
into
replicated
Peaks
file
'*.replicated.*' into
consensus
Peaks
file
(
'*.rejected.*'
)
into rejectedPeaks
file
'*.rejected.*' into rejectedPeaks
file
(
'design_diffPeaks.csv'
)
into designDiffPeaks
file
'design_diffPeaks.csv' into designDiffPeaks
file
(
'design_annotatePeaks.tsv'
)
into designAnnotatePeaks, designMotifSearch
file
'design_annotatePeaks.tsv' into designAnnotatePeaks, designMotifSearch
file
(
'unique_experiments.csv'
)
into uniqueExperiments
file
'unique_experiments.csv' into uniqueExperiments
file('version_*.txt') into consensusPeaksVersions
file('version_*.txt') into consensusPeaksVersions
script:
script:
...
@@ -414,7 +413,7 @@ process peakAnnotation {
...
@@ -414,7 +413,7 @@ process peakAnnotation {
output:
output:
file
(
"*chipseeker*"
)
into peakAnnotation
file
"*chipseeker*" into peakAnnotation
file('version_*.txt') into peakAnnotationVersions
file('version_*.txt') into peakAnnotationVersions
script:
script:
...
@@ -436,8 +435,8 @@ process motifSearch {
...
@@ -436,8 +435,8 @@ process motifSearch {
output:
output:
file
(
"*memechip"
)
into motifSearch
file
"*memechip" into motifSearch
file
(
"*narrowPeak"
)
into filteredPeaks
file
"*narrowPeak" into filteredPeaks
file('version_*.txt') into motifSearchVersions
file('version_*.txt') into motifSearchVersions
script:
script:
...
@@ -463,10 +462,10 @@ process diffPeaks {
...
@@ -463,10 +462,10 @@ process diffPeaks {
output:
output:
file
(
'*_diffbind.bed'
)
into diffPeaks
file
'*_diffbind.bed' into diffPeaks
file
(
'*_diffbind.csv'
)
into diffPeaksCounts
file
'*_diffbind.csv' into diffPeaksCounts
file
(
'*.pdf'
)
into diffPeaksStats
file
'*.pdf' into diffPeaksStats
file
(
'normcount_peaksets.txt'
)
into normCountPeaks
file
'normcount_peaksets.txt' into normCountPeaks
file('version_*.txt') into diffPeaksVersions
file('version_*.txt') into diffPeaksVersions
when:
when:
...
@@ -479,7 +478,7 @@ process diffPeaks {
...
@@ -479,7 +478,7 @@ process diffPeaks {
}
}
// Collect Software Versions and references
// Collect Software Versions and references
process software
Report
{
process software
Versions
{
input:
input:
...
@@ -502,10 +501,8 @@ process softwareReport {
...
@@ -502,10 +501,8 @@ process softwareReport {
file('*_mqc.txt') into softwareReferences
file('*_mqc.txt') into softwareReferences
script:
script:
"""
"""
python3 $baseDir/scripts/generate_versions.py -o software_versions
python3 $baseDir/scripts/generate_versions.py -o software_versions
python3 $baseDir/scripts/generate_references.py -r $references -o software_references
python3 $baseDir/scripts/generate_references.py -r $references -o software_references
"""
"""
}
}
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment