Downloading: s3://natera-platform-sandbox/pipeline-resources/ngi-igenomes/igenomes/Homo_sapiens/GATK/GRCh38/Sequence/WholeGenomeFasta/Homo_sapiens_assembly38.fasta
Downloading: s3://natera-platform-sandbox/pipeline-resources/Homo_sapiens_assembly38.dbsnp138.vcf.gz
Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/24/4e72016856e6b8ecccb46678a6653e/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam
Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/24/4e72016856e6b8ecccb46678a6653e/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
Downloading: s3://natera-platform-sandbox/pipeline-resources/beds/altera_subpanels/hg38/altera_v3_targets_postQC_hg38.bed
Downloading: s3://natera-platform-sandbox/pipeline-resources/beds/altera_subpanels/hg38/altera_v3_targets_coding_postQC_hg38.bed
Downloading: s3://natera-platform-sandbox/pipeline-resources/Homo_sapiens_assembly38.dbsnp138.vcf.gz.tbi
Downloading: s3://natera-platform-sandbox/pipeline-resources/beds/altera_subpanels/hg38/foresight/foresight_clarity_targets_hg38.bed
Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/ad/068caacdeea1bf1aa075a77797484b/.command.sh
Downloading: s3://natera-platform-sandbox/pipeline-resources/ngi-igenomes/igenomes/Homo_sapiens/GATK/GRCh38/Sequence/WholeGenomeFasta/Homo_sapiens_assembly38.fasta.fai
Downloading: s3://natera-platform-sandbox/pipeline-resources/beds/altera_subpanels/hg38/FINAL_hotspot_list_07302025_hg38_sorted.bed
Downloading: s3://natera-platform-sandbox/pipeline-resources/beds/altera_subpanels/hg38/foresight/xgen-exome-hyb-panel-v2-targets-hg38_AND_altera_v3_targets_postQC_hg38_AND_foresight_clarity.bed
Downloading: s3://natera-platform-sandbox/platform-users/ralla/nfcore_rnafusion_resources/GRCh38/gatk4/dbsnp_hg38_contam_sites.bed
Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/ad/068caacdeea1bf1aa075a77797484b/.command.run
Downloading: s3://natera-platform-sandbox/pipeline-resources/beds/altera_subpanels/hg38/xgen-exome-hyb-panel-v2-targets-hg38_minus_altera_v3_targets_postQC_hg38.bed
Downloading: s3://natera-platform-sandbox/pipeline-resources/beds/dbsnp138_hg38_common.bed
Downloading: s3://natera-platform-sandbox/pipeline-resources/beds/altera_subpanels/hg38/foresight/xgen-exome-hyb-panel-v2_AND_altera_v3_probes_short_hg38_AND_cdx_spike_custom30off4x_hg38_AND_foresight_clarity_footprint.bed
Downloading: s3://natera-platform-sandbox/pipeline-resources/beds/altera_subpanels/hg38/altera_v3_targets_noncoding_postQC_hg38.bed
==> STAGING COMPLETE (18 inputs)
mkdir -p 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/
cat xgen-exome-hyb-panel-v2-targets-hg38_AND_altera_v3_targets_postQC_hg38_AND_foresight_clarity.bed xgen-exome-hyb-panel-v2_AND_altera_v3_probes_short_hg38_AND_cdx_spike_custom30off4x_hg38_AND_foresight_clarity_footprint.bed altera_v3_targets_postQC_hg38.bed altera_v3_targets_coding_postQC_hg38.bed altera_v3_targets_noncoding_postQC_hg38.bed xgen-exome-hyb-panel-v2-targets-hg38_minus_altera_v3_targets_postQC_hg38.bed FINAL_hotspot_list_07302025_hg38_sorted.bed foresight_clarity_targets_hg38.bed | cut -f 1-3 | bedtools sort -g Homo_sapiens_assembly38.fasta.fai | bedtools merge > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/full_bed.bed
seqtool depth -bam 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam -bed 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/full_bed.bed -threads 4 -bam_threads 2 | bgzip -c > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.depth.gz
saturation_plot -bams 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam -region chr20 -output 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/saturation_plot.png -threads 1
seqtool saturation_metric -at 1000000 -region chr20 -bam_threads 1 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/saturation_qc.tsv
fragment_size -bams 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam -region chr20 -output_prefix 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/fragsize -threads 1
samtools mpileup -B --min-MQ 60 --min-BQ 30 -f Homo_sapiens_assembly38.fasta -l dbsnp_hg38_contam_sites.bed 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.mpileup && contamination -input 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.mpileup -dbsnp_vcf Homo_sapiens_assembly38.dbsnp138.vcf.gz > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/contamination.tsv
seqtool noise -bam 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam -ref Homo_sapiens_assembly38.fasta -region chr20 -include_bed 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/full_bed.bed -exclude_bed dbsnp138_hg38_common.bed -threads 1 > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.noise_summary.tsv
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[mpileup] 1 samples in 1 input files
loading BEDs...
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
/opt/conda/lib/python3.9/site-packages/pyranges/__init__.py:8: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources
/opt/conda/lib/python3.9/site-packages/pyranges/__init__.py:8: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
0it [00:00, ?it/s][W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
83035it [00:00, 830261.71it/s]
170804it [00:00, 857984.29it/s]
262079it [00:00, 882787.65it/s]
355042it [00:00, 901220.80it/s]
447696it [00:00, 910326.29it/s]
538729it [00:00, 905199.43it/s]
629255it [00:00, 897104.91it/s]
723005it [00:00, 909833.07it/s]
815797it [00:00, 915435.00it/s]
907359it [00:01, 903382.41it/s]
997740it [00:01, 895221.05it/s]
1087317it [00:01, 895366.63it/s]
1176880it [00:01, 881236.98it/s]
1265058it [00:01, 874788.17it/s]
1352574it [00:01, 856187.96it/s]
1443005it [00:01, 870178.11it/s]
1530897it [00:01, 872734.71it/s]
1618244it [00:01, 837931.27it/s]
1702687it [00:01, 839720.20it/s]
1794035it [00:02, 861252.28it/s]
1885905it [00:02, 878150.11it/s]
1979502it [00:02, 895253.56it/s]
2074476it [00:02, 911430.69it/s]
2168588it [00:02, 920262.71it/s]
2262217it [00:02, 925032.24it/s]
2354787it [00:02, 921395.06it/s]
2446975it [00:02, 918579.05it/s]
2539226it [00:02, 919735.35it/s]
2631225it [00:02, 914284.47it/s]
2724226it [00:03, 918951.98it/s]
2818296it [00:03, 925309.78it/s]
2912114it [00:03, 929138.68it/s]
3007552it [00:03, 936670.77it/s]
3101230it [00:03, 935965.99it/s]
3194835it [00:03, 922255.33it/s]
3288135it [00:03, 925423.36it/s]
3382189it [00:03, 929810.20it/s]
3476593it [00:03, 934030.75it/s]
3570994it [00:03, 936994.54it/s]
3665158it [00:04, 938312.17it/s]
3759264it [00:04, 939114.97it/s]
3853185it [00:04, 933119.73it/s]
3947505it [00:04, 936110.74it/s]
4041957it [00:04, 938502.29it/s]
4135817it [00:04, 934280.34it/s]
4229255it [00:04, 933688.48it/s]
4322631it [00:04, 932031.70it/s]
4417751it [00:04, 937741.47it/s]
4512011it [00:04, 939176.32it/s]
4605933it [00:05, 939068.34it/s]
4699843it [00:05, 936295.74it/s]
4795297it [00:05, 941734.65it/s]
4889871it [00:05, 942911.66it/s]
4984166it [00:05, 932587.18it/s]
5079380it [00:05, 938381.78it/s]
5173242it [00:05, 920064.86it/s]
5266700it [00:05, 924235.69it/s]
5360319it [00:05, 927757.28it/s]
5454875it [00:05, 933029.68it/s]
5549276it [00:06, 936186.70it/s]
5642926it [00:06, 934880.01it/s]
5736436it [00:06, 928906.27it/s]
5830905it [00:06, 933590.97it/s]
5924283it [00:06, 932436.90it/s]
6018436it [00:06, 935005.44it/s]
6111947it [00:06, 933875.93it/s]
6206560it [00:06, 937429.03it/s]
6300428it [00:06, 937782.97it/s]
6325017it [00:06, 916729.81it/s]
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
done loading BEDs.
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
tabix -s 1 -b 2 -e 2 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.depth.gz
seqtool depth_hist -nbins 500 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.depth.gz > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.depth_hist.tsv
cat 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.depth_hist.tsv | plot -x 0 -xlabel Depth -ylabel "Number of Sites" -xlim 0 2000 -title 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md -output 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.depth.png
[W::hts_idx_load3] The index file is older than the data file: Homo_sapiens_assembly38.dbsnp138.vcf.gz.tbi
seqtool read_qc -bed xgen-exome-hyb-panel-v2-targets-hg38_AND_altera_v3_targets_postQC_hg38_AND_foresight_clarity.bed -n_threads 1 -bam_threads 2 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/read_qc.xgen-exome-hyb-panel-v2-targets-hg38_AND_altera_v3_targets_postQC_hg38_AND_foresight_clarity.bed.tsv
seqtool reads_per_target -bed xgen-exome-hyb-panel-v2-targets-hg38_AND_altera_v3_targets_postQC_hg38_AND_foresight_clarity.bed -threads 1 -bam_threads 2 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/reads_per_target.xgen-exome-hyb-panel-v2-targets-hg38_AND_altera_v3_targets_postQC_hg38_AND_foresight_clarity.bed.tsv
seqtool depth_stats -bed xgen-exome-hyb-panel-v2-targets-hg38_AND_altera_v3_targets_postQC_hg38_AND_foresight_clarity.bed 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.depth.gz> 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/depth_stats.xgen-exome-hyb-panel-v2-targets-hg38_AND_altera_v3_targets_postQC_hg38_AND_foresight_clarity.bed.tsv
seqtool gc_bias -reference Homo_sapiens_assembly38.fasta -bed xgen-exome-hyb-panel-v2-targets-hg38_AND_altera_v3_targets_postQC_hg38_AND_foresight_clarity.bed -bin_size 0.05 -threads 1 -bam_threads 2 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/gc_bias_qc.xgen-exome-hyb-panel-v2-targets-hg38_AND_altera_v3_targets_postQC_hg38_AND_foresight_clarity.bed.tsv
seqtool read_qc -bed xgen-exome-hyb-panel-v2_AND_altera_v3_probes_short_hg38_AND_cdx_spike_custom30off4x_hg38_AND_foresight_clarity_footprint.bed -n_threads 1 -bam_threads 2 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/read_qc.xgen-exome-hyb-panel-v2_AND_altera_v3_probes_short_hg38_AND_cdx_spike_custom30off4x_hg38_AND_foresight_clarity_footprint.bed.tsv
seqtool reads_per_target -bed xgen-exome-hyb-panel-v2_AND_altera_v3_probes_short_hg38_AND_cdx_spike_custom30off4x_hg38_AND_foresight_clarity_footprint.bed -threads 1 -bam_threads 2 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/reads_per_target.xgen-exome-hyb-panel-v2_AND_altera_v3_probes_short_hg38_AND_cdx_spike_custom30off4x_hg38_AND_foresight_clarity_footprint.bed.tsv
seqtool depth_stats -bed xgen-exome-hyb-panel-v2_AND_altera_v3_probes_short_hg38_AND_cdx_spike_custom30off4x_hg38_AND_foresight_clarity_footprint.bed 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.depth.gz> 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/depth_stats.xgen-exome-hyb-panel-v2_AND_altera_v3_probes_short_hg38_AND_cdx_spike_custom30off4x_hg38_AND_foresight_clarity_footprint.bed.tsv
seqtool gc_bias -reference Homo_sapiens_assembly38.fasta -bed xgen-exome-hyb-panel-v2_AND_altera_v3_probes_short_hg38_AND_cdx_spike_custom30off4x_hg38_AND_foresight_clarity_footprint.bed -bin_size 0.05 -threads 1 -bam_threads 2 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/gc_bias_qc.xgen-exome-hyb-panel-v2_AND_altera_v3_probes_short_hg38_AND_cdx_spike_custom30off4x_hg38_AND_foresight_clarity_footprint.bed.tsv
seqtool read_qc -bed altera_v3_targets_postQC_hg38.bed -n_threads 1 -bam_threads 2 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/read_qc.altera_v3_targets_postQC_hg38.bed.tsv
seqtool reads_per_target -bed altera_v3_targets_postQC_hg38.bed -threads 1 -bam_threads 2 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/reads_per_target.altera_v3_targets_postQC_hg38.bed.tsv
seqtool depth_stats -bed altera_v3_targets_postQC_hg38.bed 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.depth.gz> 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/depth_stats.altera_v3_targets_postQC_hg38.bed.tsv
seqtool gc_bias -reference Homo_sapiens_assembly38.fasta -bed altera_v3_targets_postQC_hg38.bed -bin_size 0.05 -threads 1 -bam_threads 2 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/gc_bias_qc.altera_v3_targets_postQC_hg38.bed.tsv
seqtool read_qc -bed altera_v3_targets_coding_postQC_hg38.bed -n_threads 1 -bam_threads 2 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/read_qc.altera_v3_targets_coding_postQC_hg38.bed.tsv
seqtool reads_per_target -bed altera_v3_targets_coding_postQC_hg38.bed -threads 1 -bam_threads 2 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/reads_per_target.altera_v3_targets_coding_postQC_hg38.bed.tsv
seqtool depth_stats -bed altera_v3_targets_coding_postQC_hg38.bed 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.depth.gz> 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/depth_stats.altera_v3_targets_coding_postQC_hg38.bed.tsv
seqtool gc_bias -reference Homo_sapiens_assembly38.fasta -bed altera_v3_targets_coding_postQC_hg38.bed -bin_size 0.05 -threads 1 -bam_threads 2 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/gc_bias_qc.altera_v3_targets_coding_postQC_hg38.bed.tsv
seqtool read_qc -bed altera_v3_targets_noncoding_postQC_hg38.bed -n_threads 1 -bam_threads 2 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/read_qc.altera_v3_targets_noncoding_postQC_hg38.bed.tsv
seqtool reads_per_target -bed altera_v3_targets_noncoding_postQC_hg38.bed -threads 1 -bam_threads 2 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/reads_per_target.altera_v3_targets_noncoding_postQC_hg38.bed.tsv
seqtool depth_stats -bed altera_v3_targets_noncoding_postQC_hg38.bed 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.depth.gz> 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/depth_stats.altera_v3_targets_noncoding_postQC_hg38.bed.tsv
seqtool gc_bias -reference Homo_sapiens_assembly38.fasta -bed altera_v3_targets_noncoding_postQC_hg38.bed -bin_size 0.05 -threads 1 -bam_threads 2 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/gc_bias_qc.altera_v3_targets_noncoding_postQC_hg38.bed.tsv
seqtool read_qc -bed xgen-exome-hyb-panel-v2-targets-hg38_minus_altera_v3_targets_postQC_hg38.bed -n_threads 1 -bam_threads 2 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/read_qc.xgen-exome-hyb-panel-v2-targets-hg38_minus_altera_v3_targets_postQC_hg38.bed.tsv
seqtool reads_per_target -bed xgen-exome-hyb-panel-v2-targets-hg38_minus_altera_v3_targets_postQC_hg38.bed -threads 1 -bam_threads 2 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/reads_per_target.xgen-exome-hyb-panel-v2-targets-hg38_minus_altera_v3_targets_postQC_hg38.bed.tsv
seqtool depth_stats -bed xgen-exome-hyb-panel-v2-targets-hg38_minus_altera_v3_targets_postQC_hg38.bed 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.depth.gz> 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/depth_stats.xgen-exome-hyb-panel-v2-targets-hg38_minus_altera_v3_targets_postQC_hg38.bed.tsv
seqtool gc_bias -reference Homo_sapiens_assembly38.fasta -bed xgen-exome-hyb-panel-v2-targets-hg38_minus_altera_v3_targets_postQC_hg38.bed -bin_size 0.05 -threads 1 -bam_threads 2 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/gc_bias_qc.xgen-exome-hyb-panel-v2-targets-hg38_minus_altera_v3_targets_postQC_hg38.bed.tsv
seqtool read_qc -bed FINAL_hotspot_list_07302025_hg38_sorted.bed -n_threads 1 -bam_threads 2 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/read_qc.FINAL_hotspot_list_07302025_hg38_sorted.bed.tsv
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
seqtool reads_per_target -bed FINAL_hotspot_list_07302025_hg38_sorted.bed -threads 1 -bam_threads 2 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/reads_per_target.FINAL_hotspot_list_07302025_hg38_sorted.bed.tsv
seqtool depth_stats -bed FINAL_hotspot_list_07302025_hg38_sorted.bed 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.depth.gz> 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/depth_stats.FINAL_hotspot_list_07302025_hg38_sorted.bed.tsv
seqtool gc_bias -reference Homo_sapiens_assembly38.fasta -bed FINAL_hotspot_list_07302025_hg38_sorted.bed -bin_size 0.05 -threads 1 -bam_threads 2 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/gc_bias_qc.FINAL_hotspot_list_07302025_hg38_sorted.bed.tsv
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
seqtool read_qc -bed foresight_clarity_targets_hg38.bed -n_threads 1 -bam_threads 2 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/read_qc.foresight_clarity_targets_hg38.bed.tsv
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
seqtool reads_per_target -bed foresight_clarity_targets_hg38.bed -threads 1 -bam_threads 2 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/reads_per_target.foresight_clarity_targets_hg38.bed.tsv
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
seqtool depth_stats -bed foresight_clarity_targets_hg38.bed 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.depth.gz> 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/depth_stats.foresight_clarity_targets_hg38.bed.tsv
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
seqtool gc_bias -reference Homo_sapiens_assembly38.fasta -bed foresight_clarity_targets_hg38.bed -bin_size 0.05 -threads 1 -bam_threads 2 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/gc_bias_qc.foresight_clarity_targets_hg38.bed.tsv
[W::hts_idx_load3] The index file is older than the data file: 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md.bam.bai
cat 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/gc_bias_qc.FINAL_hotspot_list_07302025_hg38_sorted.bed.tsv | plot -x 0 -header infer -ylim 0 2 -title "1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md" -suptitle "FINAL_hotspot_list_07302025_hg38_sorted.bed" -output "1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/gc_bias.FINAL_hotspot_list_07302025_hg38_sorted.bed.png" -ylabel "Fold enrichment / depletion" -xlabel "GC Quantile"
cat 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/gc_bias_qc.altera_v3_targets_coding_postQC_hg38.bed.tsv | plot -x 0 -header infer -ylim 0 2 -title "1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md" -suptitle "altera_v3_targets_coding_postQC_hg38.bed" -output "1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/gc_bias.altera_v3_targets_coding_postQC_hg38.bed.png" -ylabel "Fold enrichment / depletion" -xlabel "GC Quantile"
cat 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/gc_bias_qc.altera_v3_targets_noncoding_postQC_hg38.bed.tsv | plot -x 0 -header infer -ylim 0 2 -title "1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md" -suptitle "altera_v3_targets_noncoding_postQC_hg38.bed" -output "1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/gc_bias.altera_v3_targets_noncoding_postQC_hg38.bed.png" -ylabel "Fold enrichment / depletion" -xlabel "GC Quantile"
cat 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/gc_bias_qc.altera_v3_targets_postQC_hg38.bed.tsv | plot -x 0 -header infer -ylim 0 2 -title "1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md" -suptitle "altera_v3_targets_postQC_hg38.bed" -output "1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/gc_bias.altera_v3_targets_postQC_hg38.bed.png" -ylabel "Fold enrichment / depletion" -xlabel "GC Quantile"
cat 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/gc_bias_qc.foresight_clarity_targets_hg38.bed.tsv | plot -x 0 -header infer -ylim 0 2 -title "1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md" -suptitle "foresight_clarity_targets_hg38.bed" -output "1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/gc_bias.foresight_clarity_targets_hg38.bed.png" -ylabel "Fold enrichment / depletion" -xlabel "GC Quantile"
cat 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/gc_bias_qc.xgen-exome-hyb-panel-v2-targets-hg38_AND_altera_v3_targets_postQC_hg38_AND_foresight_clarity.bed.tsv | plot -x 0 -header infer -ylim 0 2 -title "1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md" -suptitle "xgen-exome-hyb-panel-v2-targets-hg38_AND_altera_v3_targets_postQC_hg38_AND_foresight_clarity.bed" -output "1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/gc_bias.xgen-exome-hyb-panel-v2-targets-hg38_AND_altera_v3_targets_postQC_hg38_AND_foresight_clarity.bed.png" -ylabel "Fold enrichment / depletion" -xlabel "GC Quantile"
cat 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/gc_bias_qc.xgen-exome-hyb-panel-v2-targets-hg38_minus_altera_v3_targets_postQC_hg38.bed.tsv | plot -x 0 -header infer -ylim 0 2 -title "1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md" -suptitle "xgen-exome-hyb-panel-v2-targets-hg38_minus_altera_v3_targets_postQC_hg38.bed" -output "1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/gc_bias.xgen-exome-hyb-panel-v2-targets-hg38_minus_altera_v3_targets_postQC_hg38.bed.png" -ylabel "Fold enrichment / depletion" -xlabel "GC Quantile"
cat 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/gc_bias_qc.xgen-exome-hyb-panel-v2_AND_altera_v3_probes_short_hg38_AND_cdx_spike_custom30off4x_hg38_AND_foresight_clarity_footprint.bed.tsv | plot -x 0 -header infer -ylim 0 2 -title "1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md" -suptitle "xgen-exome-hyb-panel-v2_AND_altera_v3_probes_short_hg38_AND_cdx_spike_custom30off4x_hg38_AND_foresight_clarity_footprint.bed" -output "1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/gc_bias.xgen-exome-hyb-panel-v2_AND_altera_v3_probes_short_hg38_AND_cdx_spike_custom30off4x_hg38_AND_foresight_clarity_footprint.bed.png" -ylabel "Fold enrichment / depletion" -xlabel "GC Quantile"
echo `date` > 1029_HJ2-N1-BDNA-1_B23KFG5LT4_1/1029_HJ2-N1-BDNA-1_B23KFG5LT4_1.md/qc_complete.txt