#!/bin/bash -euo pipefail [ ! -f rna_s1221_S42_1.fastq.gz ] && ln -sf rna_s1221_S42_rna_s1221_S42_R1_001.fastq.gz rna_s1221_S42_1.fastq.gz [ ! -f rna_s1221_S42_2.fastq.gz ] && ln -sf rna_s1221_S42_rna_s1221_S42_R2_001.fastq.gz rna_s1221_S42_2.fastq.gz fastp \ --in1 rna_s1221_S42_1.fastq.gz \ --in2 rna_s1221_S42_2.fastq.gz \ --out1 rna_s1221_S42_1.fastp.fastq.gz \ --out2 rna_s1221_S42_2.fastp.fastq.gz \ --json rna_s1221_S42.fastp.json \ --html rna_s1221_S42.fastp.html \ \ \ \ --thread 12 \ --detect_adapter_for_pe \ --reads_to_process 300000000 \ 2> rna_s1221_S42.fastp.log cat <<-END_VERSIONS > versions.yml "NFCORE_RNAFUSION:RNAFUSION:TRIM_WORKFLOW:FASTP": fastp: $(fastp --version 2>&1 | sed -e "s/fastp //g") END_VERSIONS