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/40/52072ccf30ba16b984d72592636e12/.command.sh
Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/e2/a0e1aa032ae2a5e983596b5d586607/aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bam
Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/e2/a0e1aa032ae2a5e983596b5d586607/aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
Downloading: s3://natera-platform-sandbox/pipeline-resources/AIH/rna/GRCh38/starfusion/ctat_genome_lib_build_dir/ref_genome.dict
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/40/52072ccf30ba16b984d72592636e12/.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-522d83-R1_B23WHYVLT4_1
+ all_qc -bam aih-tih-sc-522d83-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-522d83-R1_B23WHYVLT4_1 -reference ref_genome.fa -region chr20
mkdir -p aih-tih-sc-522d83-R1_B23WHYVLT4_1/aih-tih-sc-522d83-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-522d83-R1_B23WHYVLT4_1/aih-tih-sc-522d83-R1_B23WHYVLT4_1.md/full_bed.bed
seqtool depth -bam aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bam -bed aih-tih-sc-522d83-R1_B23WHYVLT4_1/aih-tih-sc-522d83-R1_B23WHYVLT4_1.md/full_bed.bed -threads 4 -bam_threads 2 | bgzip -c > aih-tih-sc-522d83-R1_B23WHYVLT4_1/aih-tih-sc-522d83-R1_B23WHYVLT4_1.md/aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.depth.gz
saturation_plot -bams aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bam -region chr20 -output aih-tih-sc-522d83-R1_B23WHYVLT4_1/aih-tih-sc-522d83-R1_B23WHYVLT4_1.md/saturation_plot.png -threads 1
fragment_size -bams aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bam -region chr20 -output_prefix aih-tih-sc-522d83-R1_B23WHYVLT4_1/aih-tih-sc-522d83-R1_B23WHYVLT4_1.md/fragsize -threads 1
seqtool saturation_metric -at 1000000 -region chr20 -bam_threads 1 aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bam > aih-tih-sc-522d83-R1_B23WHYVLT4_1/aih-tih-sc-522d83-R1_B23WHYVLT4_1.md/saturation_qc.tsv
samtools mpileup -B --min-MQ 60 --min-BQ 30 -f ref_genome.fa -l dbsnp_hg38_contam_sites.bed aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bam > aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.mpileup && contamination -input aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.mpileup -dbsnp_vcf Homo_sapiens_assembly38.dbsnp138.vcf.gz > aih-tih-sc-522d83-R1_B23WHYVLT4_1/aih-tih-sc-522d83-R1_B23WHYVLT4_1.md/contamination.tsv
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-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-522d83-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-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-522d83-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
0it [00:00, ?it/s]
154160it [00:00, 1541494.89it/s]
314031it [00:00, 1575104.39it/s]
486420it [00:00, 1642989.77it/s]
652441it [00:00, 1649762.09it/s]
822175it [00:00, 1666821.57it/s]
994412it [00:00, 1685682.88it/s]
1167645it [00:00, 1700910.15it/s]
1338314it [00:00, 1702727.35it/s]
1511764it [00:00, 1712577.12it/s]
1683022it [00:01, 1710501.27it/s]
1854073it [00:01, 1706324.67it/s]
2024708it [00:01, 1687204.00it/s]
2193517it [00:01, 1687436.54it/s]
2363720it [00:01, 1691786.70it/s]
2534816it [00:01, 1697514.24it/s]
2704588it [00:01, 1683141.14it/s]
2872940it [00:01, 1671396.84it/s]
3043146it [00:01, 1680490.05it/s]
3218607it [00:01, 1702447.78it/s]
3388893it [00:02, 1680287.51it/s]
3557005it [00:02, 1673447.66it/s]
3725135it [00:02, 1675757.49it/s]
3894647it [00:02, 1681501.35it/s]
4062832it [00:02, 1672334.21it/s]
4234787it [00:02, 1686373.40it/s]
4406464it [00:02, 1695426.69it/s]
4578417it [00:02, 1702615.49it/s]
4748701it [00:02, 1693259.84it/s]
4918053it [00:02, 1676993.03it/s]
5086180it [00:03, 1678215.22it/s]
5257549it [00:03, 1688727.91it/s]
5428683it [00:03, 1695428.59it/s]
5601023it [00:03, 1703752.35it/s]
5774868it [00:03, 1714098.94it/s]
5950961it [00:03, 1727949.62it/s]
6124174it [00:03, 1729055.53it/s]
6297090it [00:03, 1718805.52it/s]
6468991it [00:03, 1710324.99it/s]
6640044it [00:03, 1524319.14it/s]
6808600it [00:04, 1568636.20it/s]
6970852it [00:04, 1583817.43it/s]
7138616it [00:04, 1610745.17it/s]
7306668it [00:04, 1631027.76it/s]
7474422it [00:04, 1644665.13it/s]
7641881it [00:04, 1653490.29it/s]
7809737it [00:04, 1660849.64it/s]
7982000it [00:04, 1679227.69it/s]
8152887it [00:04, 1688056.11it/s]
8321928it [00:04, 1686079.55it/s]
8490701it [00:05, 1686320.98it/s]
8662212it [00:05, 1694919.17it/s]
8831788it [00:05, 1693945.19it/s]
9001241it [00:05, 1684671.89it/s]
9169760it [00:05, 1682149.48it/s]
9338879it [00:05, 1684830.04it/s]
9507996it [00:05, 1686705.72it/s]
9676686it [00:05, 1684172.10it/s]
9845117it [00:05, 1656418.07it/s]
10011024it [00:05, 1657174.14it/s]
10176817it [00:06, 1552414.51it/s]
10333389it [00:06, 1357568.07it/s]
10474008it [00:06, 1349998.32it/s]
10637828it [00:06, 1427568.88it/s]
10796649it [00:06, 1472171.37it/s]
10962790it [00:06, 1525910.19it/s]
11123836it [00:06, 1550184.23it/s]
11288236it [00:06, 1577557.57it/s]
11453815it [00:06, 1600536.55it/s]
11625744it [00:07, 1635517.00it/s]
11794004it [00:07, 1649342.99it/s]
11965736it [00:07, 1669578.54it/s]
12137512it [00:07, 1683946.21it/s]
12309501it [00:07, 1694673.61it/s]
12479709it [00:07, 1696862.99it/s]
12651746it [00:07, 1703883.32it/s]
12822606it [00:07, 1705250.88it/s]
12994184it [00:07, 1708380.62it/s]
13165066it [00:07, 1699530.03it/s]
13337290it [00:08, 1706170.95it/s]
13507939it [00:08, 1705167.56it/s]
13678478it [00:08, 1683300.01it/s]
13846882it [00:08, 1680764.68it/s]
14015227it [00:08, 1681505.31it/s]
14183414it [00:08, 1678340.74it/s]
14351273it [00:08, 1673699.44it/s]
14519156it [00:08, 1675206.12it/s]
14686690it [00:08, 1666198.55it/s]
14854377it [00:08, 1669358.83it/s]
15021327it [00:09, 1664707.35it/s]
15188861it [00:09, 1667858.26it/s]
15355656it [00:09, 1630849.43it/s]
15520556it [00:09, 1636078.67it/s][W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
15690989it [00:09, 1655919.15it/s]
15860251it [00:09, 1666695.09it/s]
16027632it [00:09, 1668786.49it/s]
16194577it [00:09, 1636485.76it/s]
16361040it [00:09, 1644759.08it/s]
16530149it [00:09, 1658460.61it/s]
16699162it [00:10, 1667848.04it/s]
16867539it [00:10, 1672569.62it/s]
17034859it [00:10, 1668559.44it/s]
17201760it [00:10, 1656963.01it/s]
17367502it [00:10, 1638263.94it/s]
17531394it [00:10, 1563811.66it/s]
17688456it [00:10, 1540697.81it/s]
17842994it [00:10, 1509098.90it/s]
18006082it [00:10, 1543937.33it/s]
18167383it [00:11, 1563998.99it/s]
18332726it [00:11, 1590165.42it/s]
18492573it [00:11, 1592597.40it/s][W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
18659806it [00:11, 1616235.51it/s]
18828407it [00:11, 1636987.18it/s]
18997454it [00:11, 1652887.39it/s]
19166120it [00:11, 1662955.12it/s]
19334463it [00:11, 1669056.65it/s]
19501426it [00:11, 1657096.95it/s]
19667194it [00:11, 1561349.35it/s]
19833929it [00:12, 1591675.38it/s]
19994036it [00:12, 1584182.30it/s]
20156737it [00:12, 1596593.29it/s]
20325925it [00:12, 1624593.13it/s]
20494460it [00:12, 1642545.73it/s]
20659016it [00:12, 1640968.09it/s]
20829013it [00:12, 1658452.58it/s]
20998067it [00:12, 1667992.02it/s]
21168188it [00:12, 1677888.30it/s]
21336063it [00:12, 1676626.53it/s]
21506850it [00:13, 1685860.78it/s]
21676839it [00:13, 1689929.63it/s]
21851020it [00:13, 1705423.52it/s]
22023042it [00:13, 1709835.50it/s]
22194043it [00:13, 1697108.88it/s]
22363787it [00:13, 1694641.11it/s]
22533274it [00:13, 1677224.13it/s]
22701045it [00:13, 1664752.45it/s]
22867563it [00:13, 1609406.28it/s]
22885789it [00:13, 1648638.06it/s]
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
tabix -s 1 -b 2 -e 2 aih-tih-sc-522d83-R1_B23WHYVLT4_1/aih-tih-sc-522d83-R1_B23WHYVLT4_1.md/aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.depth.gz
seqtool depth_hist -nbins 500 aih-tih-sc-522d83-R1_B23WHYVLT4_1/aih-tih-sc-522d83-R1_B23WHYVLT4_1.md/aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.depth.gz > aih-tih-sc-522d83-R1_B23WHYVLT4_1/aih-tih-sc-522d83-R1_B23WHYVLT4_1.md/aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.depth_hist.tsv
cat aih-tih-sc-522d83-R1_B23WHYVLT4_1/aih-tih-sc-522d83-R1_B23WHYVLT4_1.md/aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.depth_hist.tsv | plot -x 0 -xlabel Depth -ylabel "Number of Sites" -xlim 0 2000 -title aih-tih-sc-522d83-R1_B23WHYVLT4_1.md -output aih-tih-sc-522d83-R1_B23WHYVLT4_1/aih-tih-sc-522d83-R1_B23WHYVLT4_1.md/aih-tih-sc-522d83-R1_B23WHYVLT4_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 Twist_rna_exome_AND_fusion_hg38.bed -n_threads 1 -bam_threads 2 aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bam > aih-tih-sc-522d83-R1_B23WHYVLT4_1/aih-tih-sc-522d83-R1_B23WHYVLT4_1.md/read_qc.Twist_rna_exome_AND_fusion_hg38.bed.tsv
seqtool reads_per_target -bed Twist_rna_exome_AND_fusion_hg38.bed -threads 1 -bam_threads 2 aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bam > aih-tih-sc-522d83-R1_B23WHYVLT4_1/aih-tih-sc-522d83-R1_B23WHYVLT4_1.md/reads_per_target.Twist_rna_exome_AND_fusion_hg38.bed.tsv
seqtool depth_stats -bed Twist_rna_exome_AND_fusion_hg38.bed aih-tih-sc-522d83-R1_B23WHYVLT4_1/aih-tih-sc-522d83-R1_B23WHYVLT4_1.md/aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.depth.gz> aih-tih-sc-522d83-R1_B23WHYVLT4_1/aih-tih-sc-522d83-R1_B23WHYVLT4_1.md/depth_stats.Twist_rna_exome_AND_fusion_hg38.bed.tsv
seqtool gc_bias -reference ref_genome.fa -bed Twist_rna_exome_AND_fusion_hg38.bed -bin_size 0.05 -threads 1 -bam_threads 2 aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bam > aih-tih-sc-522d83-R1_B23WHYVLT4_1/aih-tih-sc-522d83-R1_B23WHYVLT4_1.md/gc_bias_qc.Twist_rna_exome_AND_fusion_hg38.bed.tsv
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-522d83-R1_B23WHYVLT4_1.md.bai