File Info
- Filename
- .command.sh
- Full Path
- s3://natera-rnd-fsdx-dev-nextflow-scratch-01/work/07/369f7bb4bce3e0d2b67f10875efb3f/.command.sh
- Size
- 345 bytes
- Task
- BWA_MEM (one)
- Attempt
Content
View in new tab#!/bin/bash -Ceuo pipefail
set -euo pipefail
RG=$(printf '@RG\tID:%s\tSM:%s\tPL:ILLUMINA\tLB:%s' 'one' 'one' 'one')
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 one.sorted.bam -
samtools index -@ 4 one.sorted.bam one.sorted.bam.bai