File Info

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

mkdir BVT_FFPE_TRNA_bst_01_01_A23WKFTLT4_3

all_qc \
-bam "BVT_FFPE_TRNA_bst_01_01_A23WKFTLT4_3.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 BVT_FFPE_TRNA_bst_01_01_A23WKFTLT4_3 \
-reference "ref_genome.fa" \
-region 'chr20'

merge_qc -folders BVT_FFPE_TRNA_bst_01_01_A23WKFTLT4_3/* -output BVT_FFPE_TRNA_bst_01_01_A23WKFTLT4_3/BVT_FFPE_TRNA_bst_01_01_A23WKFTLT4_3_full_basic_stats.tsv

head -n1 BVT_FFPE_TRNA_bst_01_01_A23WKFTLT4_3/BVT_FFPE_TRNA_bst_01_01_A23WKFTLT4_3_full_basic_stats.tsv > BVT_FFPE_TRNA_bst_01_01_A23WKFTLT4_3/BVT_FFPE_TRNA_bst_01_01_A23WKFTLT4_3_basic_stats.tsv
grep -e "$(basename Twist_rna_exome_AND_fusion_hg38.bed)" BVT_FFPE_TRNA_bst_01_01_A23WKFTLT4_3/BVT_FFPE_TRNA_bst_01_01_A23WKFTLT4_3_full_basic_stats.tsv >> BVT_FFPE_TRNA_bst_01_01_A23WKFTLT4_3/BVT_FFPE_TRNA_bst_01_01_A23WKFTLT4_3_basic_stats.tsv