Skip to content

Commit

Permalink
Update main.nf
Browse files Browse the repository at this point in the history
  • Loading branch information
simonleandergrimm authored Dec 16, 2024
1 parent 09eaf8f commit 2e039df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/local/filtlong/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ process FILTLONG {
output:
tuple val(sample), path("${sample}_filtlong.fastq.gz"), emit: reads
shell:
// Filter reads based on length (min 100 bp) and mean quality (min 99%, i.e, a Phred score of 20)
// Filter reads based on length (min 100 bp) and mean average base quality (min 90%, i.e, a Phred score of 10)
'''
o=!{sample}_filtlong.fastq.gz
i=!{reads[0]}
filtlong --min_length 100 --min_mean_q 90 --verbose ${i} | gzip > ${o}
'''
}
}

0 comments on commit 2e039df

Please sign in to comment.