Skip to content

Commit d52fde6

Browse files
committed
updating validation for nanopore
1 parent 090dd82 commit d52fde6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

modules/validate.nf

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ process VALIDATE_NANOPORE {
1818
script:
1919
if ( file(seq_file).getName().endsWith(".fastq.gz") )
2020
"""
21-
seqkit seq --validate-seq ${seq_file} -o ${label}.validated.fastq.gz
21+
fq lint \
22+
--lint-mode panic \
23+
--single-read-validation-level high \
24+
${seq_file} && cp \$(realpath ${seq_file}) ${label}.validated.fastq.gz
2225
"""
2326
else if ( file(seq_file).getName().endsWith(".bam") )
2427
"""
@@ -49,7 +52,6 @@ process VALIDATE_ILLUMINA {
4952

5053
script:
5154
"""
52-
seqfu check --deep --verbose --thousands \
5355
fq lint \
5456
--lint-mode panic \
5557
--single-read-validation-level high \

0 commit comments

Comments
 (0)