Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ChIPster
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
Xavier Grand
ChIPster
Commits
aa917c02
Commit
aa917c02
authored
3 years ago
by
Xavier Grand
Browse files
Options
Downloads
Patches
Plain Diff
src/chipster.nf fonctionnel utilisé sur les data Chipseq CTCF
parent
893fbb6e
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/chipster.nf
+22
-13
22 additions, 13 deletions
src/chipster.nf
with
22 additions
and
13 deletions
src/chipster.nf
+
22
−
13
View file @
aa917c02
...
...
@@ -31,8 +31,8 @@ params.genome = "data/tinyTestDataset/reference.fasta"
@type: File
*/
/
*
params.idx
genome = "data/tinyTestDataset/*.fasta.fai*" */
/* already indexed reference genome
/
/
params.idx
= ""
/* already indexed reference genome
? enter path...
@Type: String
*/
...
...
@@ -40,17 +40,16 @@ params.genome = "data/tinyTestDataset/reference.fasta"
/* Parametres ctrl names & IP names
utiliser l'oppérateur .join ou .filter
/* Params project
folder
/* Params project
Name */
params
.
project
=
""
*/
/* Params out */
params
.
fastp_out
=
'
fastp/
'
params
.
index_fasta_out
=
"Indexed_genome/"
params
.
sort_bam_out
=
"Bam_filtered_sorted/"
params
.
index_bam_out
=
"Bam_filt_sort_indexed/"
params
.
bam_to_bigwig_out
=
"BigWig/"
params
.
peak_calling_bg_out
=
"Peak_calling/"
params
.
fastp_out
=
"$params.project/
fastp/
"
params
.
index_fasta_out
=
"
$params.project/
Indexed_genome/"
params
.
sort_bam_out
=
"
$params.project/
Bam_filtered_sorted/"
params
.
index_bam_out
=
"
$params.project/
Bam_filt_sort_indexed/"
params
.
bam_to_bigwig_out
=
"
$params.project/
BigWig/"
params
.
peak_calling_bg_out
=
"
$params.project/
Peak_calling/"
/*
****************************************************************
...
...
@@ -86,6 +85,16 @@ if (params.paired_end) {
.
set
{
fastq_files
}
}
/*
if (params.idx != "") {
Channel
.fromPath( params.idx )
.ifEmpty { error "Cannot find idexed genome reference files matching: ${params.idx}" }
.map { it -> [(it.baseName =~ /([^\.]*)/)[0][1], [it] ]}
.set { index_fasta.out }
}
*/
Channel
.
fromPath
(
params
.
genome
)
.
ifEmpty
{
error
"Cannot find any files matching: ${params.genome}"
}
...
...
@@ -115,9 +124,9 @@ Channel
fastqc_mod
=
"./nf_modules/fastqc/main.nf"
include
{
fastp_default
}
from
"./nf_modules/fastp/main.nf"
include
{
fastqc_fastq
as
fastqc_raw
}
from
fastqc_mod
addParams
(
fastqc_fastq_out:
'
01_fastqc_raw/
'
)
include
{
fastqc_fastq
as
fastqc_preprocessed
}
from
fastqc_mod
addParams
(
fastqc_fastq_out:
'
02_fastqc_preprocessed/
'
)
include
{
multiqc
}
from
'./nf_modules/multiqc/main.nf'
addParams
(
multiqc_out:
"QC/"
)
include
{
fastqc_fastq
as
fastqc_raw
}
from
fastqc_mod
addParams
(
fastqc_fastq_out:
"$params.project/
01_fastqc_raw/
"
)
include
{
fastqc_fastq
as
fastqc_preprocessed
}
from
fastqc_mod
addParams
(
fastqc_fastq_out:
"$params.project/
02_fastqc_preprocessed/
"
)
include
{
multiqc
}
from
'./nf_modules/multiqc/main.nf'
addParams
(
multiqc_out:
"
$params.project/
QC/"
)
include
{
index_fasta
}
from
"./nf_modules/bowtie2/main.nf"
include
{
mapping_fastq
}
from
"./nf_modules/bowtie2/main.nf"
include
{
filter_bam_quality
}
from
"./nf_modules/samtools/main.nf"
...
...
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