Skip to content

Commit 8982678

Browse files
authored
Merge pull request #45 from Juke34/fastqc
Fastqc
2 parents eb583d4 + 5dc4cb3 commit 8982678

9 files changed

Lines changed: 120 additions & 201 deletions

File tree

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,21 @@ title: "RAIN report"
22

33
run_modules:
44
- fastqc
5-
- bowtie2
6-
- bwa
7-
- bwa-mem
8-
- hisat2
9-
- star
10-
- picard/markdups
5+
- picard
116

127
module_order:
13-
- fastqc:
14-
name: FastQC (raw)
15-
path_filters:
16-
- "*logs_raw*"
17-
- bowtie2
18-
- bwa
19-
- bwa-mem
20-
- hisat2
21-
- star
228
- fastqc:
239
name: FastQC (ali)
2410
path_filters:
2511
- "*logs_ali*"
26-
- picard/markdups
12+
- picard:
13+
path_filters:
14+
- "*marked_dup_metrics.txt"
2715
- fastqc:
2816
name: FastQC (markDuplicates)
2917
path_filters:
3018
- "*logs_dup*"
3119
- fastqc:
3220
name: FastQC (ClipOverlap)
3321
path_filters:
34-
- "*logs_clip*"
35-
sp:
36-
picard/markdups:
37-
fn: "*marked_dup_metrics.txt"
22+
- "*logs_clip*"

config/resources/base_aline.config

Lines changed: 0 additions & 7 deletions
This file was deleted.

config/resources/custom_aline.config

Lines changed: 0 additions & 97 deletions
This file was deleted.

config/softwares.config

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ process {
5252
container = singularity.enabled ? "${params.sifPath}/sapin.sif" : "sapin"
5353
}
5454
withLabel: 'multiqc' {
55-
container = 'quay.io/biocontainers/multiqc:1.14--pyhdfd78af_0'
55+
// container = 'quay.io/biocontainers/multiqc:1.14--pyhdfd78af_0'
56+
//container = 'quay.io/biocontainers/multiqc:1.27--pyhdfd78af_0'
57+
container = 'quay.io/biocontainers/multiqc:1.28--pyhdfd78af_0'
5658
}
5759
withLabel: "pluviometer" {
5860
container = singularity.enabled ? "${params.sifPath}/pluviometer.sif" : "pluviometer"

modules/aline.nf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ process AliNe {
1515
val read_type
1616
val aligner
1717
val library_type
18+
val annotation
1819
val cache_dir // String
1920

2021
when:
@@ -34,11 +35,12 @@ process AliNe {
3435
read_type,
3536
aligner,
3637
library_type,
38+
"--annotation ${annotation}",
3739
"--data_type rna",
3840
"--outdir $task.workDir/AliNe",
3941
].join(" ")
4042
// Copy command to shell script in work dir for reference/debugging.
41-
file("$task.workDir/nf-cmd.sh").text = nxf_cmd.join(" ")
43+
file("$task.workDir/nf-cmd.sh").text = nxf_cmd
4244
// Run nextflow command locally
4345
def process = nxf_cmd.execute(null, cache_path.toFile())
4446
process.waitFor()

modules/multiqc.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ process multiqc {
1212

1313
script:
1414
"""
15-
multiqc -p . -c ${multiqc_config}
15+
multiqc . -c ${multiqc_config}
1616
"""
1717
}

nextflow.config

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ profiles {
5959
includeConfig "$baseDir/config/resources/local.config"
6060
}
6161
test {
62-
params.aline_profiles = "${baseDir}/config/resources/base_aline.config"
6362
params.aligner = "STAR"
6463
params.reads = "${baseDir}/data/chr21/chr21_small_R1.fastq.gz"
6564
params.genome = "${baseDir}/data/chr21/chr21_small.fasta.gz"
@@ -68,7 +67,6 @@ profiles {
6867
params.read_type = "short_single"
6968
}
7069
test2 {
71-
params.aline_profiles = "${baseDir}/config/resources/base_aline.config"
7270
params.aligner = "STAR"
7371
params.reads = "${baseDir}/data/chr21/"
7472
params.genome = "${baseDir}/data/chr21/chr21_small.fasta.gz"

nextflow_aline.config

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
// These are extra parameters specific to AliNe not handled by the RAIN pipeline
2+
3+
params {
4+
5+
//
6+
samtools_stats = false // activate samtools stats
7+
seqtk_sample_size = 50000 // to change default AliNe sample size used to guess library type
8+
read_length = "" // Used by star to set the sjdbOverhang parameter but also by some other aligners
9+
relax = "" //
10+
11+
// Aligner extra parameters
12+
bbmap_options = ''
13+
bowtie_options = ''
14+
bowtie2_options = ''
15+
bwaaln_options = ''
16+
bwamem_options = ''
17+
bwamem2_options = ''
18+
bwasw_options = ''
19+
graphmap2_options = '' // owler option is possible
20+
hisat2_options = ''
21+
kallisto_options = ''
22+
kallisto_index_options = '' // e.g. to use --distinguish, --make-unique, etc...
23+
last_options = ''
24+
last_index_options = ''
25+
minimap2_options = ''
26+
minimap2_index_options = '' // -k, -w, -H and -I
27+
ngmlr_options = ''
28+
novoalign_options = ''
29+
novoalign_license = '' // license. You can ask for one month free trial license at http://www.novocraft.com/products/novoalign/
30+
nucmer_options = ''
31+
salmon_options = ''
32+
salmon_index_options = ''
33+
star_options = ''
34+
star_index_options = ''
35+
star_2pass = false
36+
subread_options = ''
37+
sublong_options = ''
38+
39+
// to store general information about pipeline execution
40+
pipeline_report = "pipeline_report"
41+
monochrome_logs = false
42+
}

0 commit comments

Comments
 (0)