File Info

Filename
.command.sh
Full Path
s3://natera-rnd-fsdx-dev-nextflow-scratch-01/work/3a/4166b53ccbbc1b57083076e7cd06d2/.command.sh
Size
345 bytes
Attempt
#!/bin/bash -Ceuo pipefail
set -euo pipefail
RG=$(printf '@RG\tID:%s\tSM:%s\tPL:ILLUMINA\tLB:%s' 'two' 'two' 'two')
bwa-mem2 mem -t 4 -K 50000000 -R "$RG" 'hg38.fa' 'nf_gui_test_one.1.fastp.fq.gz' 'nf_gui_test_one.2.fastp.fq.gz' \
    | samtools sort -@4 -m 768M --no-PG -o two.sorted.bam -
samtools index -@ 4 two.sorted.bam two.sorted.bam.bai