File Info

Filename
.command.sh
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/4c/bb89cd20a789b56e97f66cad0b8f31/.command.sh
Size
1.0 KB
Attempt
#!/bin/bash -euo pipefail
[ ! -f  tih_rna_sample_00121_23H5VFLT4_s41_1.fastq.gz ] && ln -sf tih_rna_sample_00121_23H5VFLT4_s41_R1.fastq.gz tih_rna_sample_00121_23H5VFLT4_s41_1.fastq.gz
[ ! -f  tih_rna_sample_00121_23H5VFLT4_s41_2.fastq.gz ] && ln -sf tih_rna_sample_00121_23H5VFLT4_s41_R2.fastq.gz tih_rna_sample_00121_23H5VFLT4_s41_2.fastq.gz
fastp \
    --in1 tih_rna_sample_00121_23H5VFLT4_s41_1.fastq.gz \
    --in2 tih_rna_sample_00121_23H5VFLT4_s41_2.fastq.gz \
    --out1 tih_rna_sample_00121_23H5VFLT4_s41_1.fastp.fastq.gz \
    --out2 tih_rna_sample_00121_23H5VFLT4_s41_2.fastp.fastq.gz \
    --json tih_rna_sample_00121_23H5VFLT4_s41.fastp.json \
    --html tih_rna_sample_00121_23H5VFLT4_s41.fastp.html \
     \
     \
     \
    --thread 12 \
    --detect_adapter_for_pe \
    --reads_to_process 300000000  \
    2> tih_rna_sample_00121_23H5VFLT4_s41.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