File tree 4 files changed +8
-9
lines changed
4 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
- sample_id=" $1 "
3
- reads=" $2 "
2
+ reads=" $1 "
4
3
5
- mkdir fastqc_ ${sample_id} _logs
6
- fastqc -o fastqc_ ${sample_id} _logs -f fastq -q ${reads}
4
+ mkdir fastqc
5
+ fastqc -o fastqc -f fastq -q ${reads}
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ workflow {
73
73
74
74
output {
75
75
samples {
76
- path ' . '
76
+ path { id, _quant, _fastqc -> " ${ workflow.outputDir } / ${ id } " }
77
77
index {
78
78
path ' index.json'
79
79
mapper { id, quant, fastqc ->
Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ process FASTQC {
7
7
tuple val(sample_id), path(fastq_1), path(fastq_2)
8
8
9
9
output:
10
- tuple val(sample_id), path(" fastqc_ ${ sample_id } _logs " ), emit: logs
10
+ tuple val(sample_id), path(' fastqc ' )
11
11
12
12
script:
13
13
"""
14
- fastqc.sh "$s ample_id " " $ fastq_1 $fastq_2 "
14
+ fastqc.sh "$fastq_1 $fastq_2 "
15
15
"""
16
16
}
Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ process QUANT {
8
8
tuple val(sample_id), path(fastq_1), path(fastq_2)
9
9
10
10
output:
11
- tuple val(sample_id), path(sample_id )
11
+ tuple val(sample_id), path(' quant ' )
12
12
13
13
script:
14
14
"""
15
- salmon quant --threads $task . cpus --libType=U -i $index -1 ${ fastq_1} -2 ${ fastq_2} -o $s ample_id
15
+ salmon quant --threads $task . cpus --libType=U -i $index -1 ${ fastq_1} -2 ${ fastq_2} -o quant
16
16
"""
17
17
}
You can’t perform that action at this time.
0 commit comments