Downloading: s3://natera-platform-sandbox/pipeline-resources/AIH/rna/GRCh38/starfusion/ctat_genome_lib_build_dir/ref_genome.fa
Downloading: s3://natera-platform-sandbox/pipeline-resources/Homo_sapiens_assembly38.dbsnp138.vcf.gz
Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/3b/3a819158c2367abb3356ec0a6397be/.command.sh
Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/0d/a52f4dd375365a76bec709eed020b3/aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md.bam
Downloading: s3://natera-platform-sandbox/pipeline-resources/AIH/rna/GRCh38/starfusion/ctat_genome_lib_build_dir/ref_genome.dict
Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/0d/a52f4dd375365a76bec709eed020b3/aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md.bai
Downloading: s3://natera-platform-sandbox/pipeline-resources/AIH/rna/GRCh38/gatk4/dbsnp_hg38_contam_sites.bed
Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/3b/3a819158c2367abb3356ec0a6397be/.command.run
Downloading: s3://natera-platform-sandbox/pipeline-resources/AIH/rna/GRCh38/starfusion/ctat_genome_lib_build_dir/ref_genome.fa.fai
Downloading: s3://natera-platform-sandbox/pipeline-resources/beds/twist/Twist_rna_exome_AND_fusion_hg38.bed
Downloading: s3://natera-platform-sandbox/pipeline-resources/Homo_sapiens_assembly38.dbsnp138.vcf.gz.tbi
==> STAGING COMPLETE (11 inputs)
+ mkdir aih-tih-sc-a49d10-R1_B23WHYVLT4_1
+ all_qc -bam aih-tih-sc-a49d10-R1_B23WHYVLT4_1.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 aih-tih-sc-a49d10-R1_B23WHYVLT4_1 -reference ref_genome.fa -region chr20
mkdir -p aih-tih-sc-a49d10-R1_B23WHYVLT4_1/aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md/
cat Twist_rna_exome_AND_fusion_hg38.bed | cut -f 1-3 | bedtools sort -g ref_genome.fa.fai | bedtools merge > aih-tih-sc-a49d10-R1_B23WHYVLT4_1/aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md/full_bed.bed
seqtool depth -bam aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md.bam -bed aih-tih-sc-a49d10-R1_B23WHYVLT4_1/aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md/full_bed.bed -threads 4 -bam_threads 2 | bgzip -c > aih-tih-sc-a49d10-R1_B23WHYVLT4_1/aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md/aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md.depth.gz
saturation_plot -bams aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md.bam -region chr20 -output aih-tih-sc-a49d10-R1_B23WHYVLT4_1/aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md/saturation_plot.png -threads 1
seqtool saturation_metric -at 1000000 -region chr20 -bam_threads 1 aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md.bam > aih-tih-sc-a49d10-R1_B23WHYVLT4_1/aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md/saturation_qc.tsv
fragment_size -bams aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md.bam -region chr20 -output_prefix aih-tih-sc-a49d10-R1_B23WHYVLT4_1/aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md/fragsize -threads 1
samtools mpileup -B --min-MQ 60 --min-BQ 30 -f ref_genome.fa -l dbsnp_hg38_contam_sites.bed aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md.bam > aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md.mpileup && contamination -input aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md.mpileup -dbsnp_vcf Homo_sapiens_assembly38.dbsnp138.vcf.gz > aih-tih-sc-a49d10-R1_B23WHYVLT4_1/aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md/contamination.tsv
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md.bai
[mpileup] 1 samples in 1 input files
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md.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: aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md.bai
0it [00:00, ?it/s][W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md.bai
158457it [00:00, 1584518.62it/s]
325920it [00:00, 1637396.93it/s]
494250it [00:00, 1658138.50it/s]
666547it [00:00, 1683712.07it/s]
839016it [00:00, 1698472.39it/s]
1011370it [00:00, 1706980.25it/s]
1182846it [00:00, 1709510.73it/s]
1354845it [00:00, 1712688.64it/s]
1527183it [00:00, 1716017.07it/s]
1700206it [00:01, 1720389.92it/s]
1872437it [00:01, 1720964.22it/s]
2044534it [00:01, 1717498.61it/s]
2216767it [00:01, 1718946.97it/s]
2388818it [00:01, 1719407.97it/s]
2560760it [00:01, 1717311.77it/s]
2733070it [00:01, 1719037.39it/s]
2904975it [00:01, 1709457.17it/s]
3078362it [00:01, 1716746.47it/s]
3251311it [00:01, 1720548.60it/s]
3423376it [00:02, 1701911.33it/s]
3594458it [00:02, 1704550.46it/s]
3766067it [00:02, 1707977.25it/s]
3936893it [00:02, 1703017.72it/s]
4108669it [00:02, 1707407.62it/s]
4279427it [00:02, 1704170.51it/s]
4449857it [00:02, 1702181.84it/s]
4622050it [00:02, 1708076.20it/s]
4793591it [00:02, 1710182.32it/s]
4964616it [00:02, 1699245.01it/s]
5137764it [00:03, 1708850.89it/s]
5308668it [00:03, 1708148.57it/s]
5479496it [00:03, 1707698.88it/s]
5650275it [00:03, 1690509.75it/s]
5820477it [00:03, 1693915.09it/s]
5992990it [00:03, 1703203.12it/s]
6167868it [00:03, 1716695.37it/s]
6339563it [00:03, 1709396.48it/s]
6511365it [00:03, 1711959.71it/s]
6682579it [00:03, 1692755.66it/s]
6851910it [00:04, 1690368.70it/s]
7022708it [00:04, 1695534.97it/s]
7192292it [00:04, 1691973.97it/s]
7363250it [00:04, 1697216.78it/s]
7536352it [00:04, 1707307.10it/s]
7707099it [00:04, 1704336.65it/s]
7877545it [00:04, 1703283.49it/s]
8049664it [00:04, 1708508.69it/s]
8221652it [00:04, 1711852.88it/s]
8393444it [00:04, 1713653.86it/s]
8566612it [00:05, 1719045.89it/s]
8740772it [00:05, 1725794.41it/s]
8913355it [00:05, 1725161.78it/s]
9085932it [00:05, 1725329.83it/s]
9259497it [00:05, 1728270.60it/s]
9432326it [00:05, 1725762.19it/s]
9606566it [00:05, 1730734.08it/s]
9779761it [00:05, 1731016.15it/s]
9952864it [00:05, 1726502.84it/s]
10127614it [00:05, 1732776.93it/s]
10300896it [00:06, 1731104.16it/s]
10474329it [00:06, 1732050.87it/s]
10647621it [00:06, 1732293.21it/s]
10820852it [00:06, 1727618.45it/s]
10993618it [00:06, 1724512.42it/s]
11166073it [00:06, 1719888.23it/s]
11338483it [00:06, 1721131.26it/s]
11510600it [00:06, 1713071.87it/s]
11681916it [00:06, 1707281.32it/s]
11854992it [00:06, 1714266.90it/s]
12027417it [00:07, 1717233.68it/s]
12199149it [00:07, 1716514.53it/s]
12372163it [00:07, 1720576.90it/s]
12547204it [00:07, 1729498.66it/s]
12724719it [00:07, 1743165.87it/s]
12899041it [00:07, 1736759.43it/s]
13072726it [00:07, 1734644.90it/s]
13248955it [00:07, 1742835.08it/s]
13423246it [00:07, 1739122.01it/s]
13597164it [00:07, 1735184.09it/s]
13770688it [00:08, 1723809.28it/s]
13943086it [00:08, 1717646.20it/s]
14114863it [00:08, 1715123.22it/s]
14291079it [00:08, 1729131.59it/s]
14464007it [00:08, 1728310.02it/s]
14636848it [00:08, 1723545.60it/s]
14810137it [00:08, 1726323.62it/s]
14982799it [00:08, 1726397.98it/s]
15155444it [00:08, 1719892.30it/s]
15327441it [00:08, 1716326.71it/s]
15499080it [00:09, 1712183.43it/s][W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md.bai
15670303it [00:09, 1710438.43it/s]
15841350it [00:09, 1706730.43it/s]
16012026it [00:09, 1687848.27it/s]
16181104it [00:09, 1688698.44it/s]
16354513it [00:09, 1702192.29it/s]
16527421it [00:09, 1710111.35it/s]
16698493it [00:09, 1710215.75it/s]
16870294it [00:09, 1712533.57it/s]
16990605it [00:09, 1713709.98it/s]
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-a49d10-R1_B23WHYVLT4_1.md.bai