File Info

Filename
.command.sh
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/cc/bbe611624705a76fa679deffec88ef/.command.sh
Size
949 bytes
Attempt
#!/bin/bash -euo pipefail
set -euxo pipefail

mkdir 786-O_FFPE_RNA_0001_B23LG7FLT4_2

all_qc \
-bam "786-O_FFPE_RNA_0001_B23LG7FLT4_2.md.bam" \
-beds Twist_rna_exome_AND_fusion_hg38.bed \
-dbsnp_vcf "Homo_sapiens_assembly38.dbsnp138.vcf.gz" \
-contamination_bed "dbsnp_hg38_contam_sites.bed" \
-output_folder 786-O_FFPE_RNA_0001_B23LG7FLT4_2 \
-reference "ref_genome.fa" \
-region 'chr20'

merge_qc -folders 786-O_FFPE_RNA_0001_B23LG7FLT4_2/* -output 786-O_FFPE_RNA_0001_B23LG7FLT4_2/786-O_FFPE_RNA_0001_B23LG7FLT4_2_full_basic_stats.tsv

head -n1 786-O_FFPE_RNA_0001_B23LG7FLT4_2/786-O_FFPE_RNA_0001_B23LG7FLT4_2_full_basic_stats.tsv > 786-O_FFPE_RNA_0001_B23LG7FLT4_2/786-O_FFPE_RNA_0001_B23LG7FLT4_2_basic_stats.tsv
grep -e "$(basename Twist_rna_exome_AND_fusion_hg38.bed)" 786-O_FFPE_RNA_0001_B23LG7FLT4_2/786-O_FFPE_RNA_0001_B23LG7FLT4_2_full_basic_stats.tsv >> 786-O_FFPE_RNA_0001_B23LG7FLT4_2/786-O_FFPE_RNA_0001_B23LG7FLT4_2_basic_stats.tsv