Downloading: s3://natera-platform-sandbox/pipeline-resources/AIH/rna/GRCh38/starfusion/ctat_genome_lib_build_dir/ref_genome.fa
Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/a8/7d63b3acc2b139e838d72428fc55d6/.command.sh
Downloading: s3://natera-platform-sandbox/pipeline-resources/Homo_sapiens_assembly38.dbsnp138.vcf.gz
Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/35/32286154799cc05c864c2f11558257/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
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/35/32286154799cc05c864c2f11558257/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bam
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/a8/7d63b3acc2b139e838d72428fc55d6/.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 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2
+ all_qc -bam 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_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 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2 -reference ref_genome.fa -region chr20
mkdir -p 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md/
cat Twist_rna_exome_AND_fusion_hg38.bed | cut -f 1-3 | bedtools sort -g ref_genome.fa.fai | bedtools merge > 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md/full_bed.bed
seqtool depth -bam 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bam -bed 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md/full_bed.bed -threads 4 -bam_threads 2 | bgzip -c > 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.depth.gz
saturation_plot -bams 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bam -region chr20 -output 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md/saturation_plot.png -threads 1
seqtool saturation_metric -at 1000000 -region chr20 -bam_threads 1 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bam > 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md/saturation_qc.tsv
fragment_size -bams 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bam -region chr20 -output_prefix 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md/fragsize -threads 1
samtools mpileup -B --min-MQ 60 --min-BQ 30 -f ref_genome.fa -l dbsnp_hg38_contam_sites.bed 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bam > 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.mpileup && contamination -input 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.mpileup -dbsnp_vcf Homo_sapiens_assembly38.dbsnp138.vcf.gz > 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md/contamination.tsv
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[mpileup] 1 samples in 1 input files
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.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: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
0it [00:00, ?it/s]
150912it [00:00, 1508855.23it/s]
315462it [00:00, 1589187.25it/s]
482118it [00:00, 1624434.75it/s]
652770it [00:00, 1656814.74it/s]
823104it [00:00, 1673570.25it/s]
994431it [00:00, 1687046.31it/s]
1166723it [00:00, 1698734.65it/s]
1338115it [00:00, 1703548.58it/s]
1508470it [00:00, 1698878.58it/s]
1680662it [00:01, 1705953.71it/s]
1854068it [00:01, 1714518.38it/s]
2025524it [00:01, 1700313.53it/s]
2197443it [00:01, 1705973.43it/s]
2373981it [00:01, 1723811.76it/s]
2547340it [00:01, 1726728.10it/s]
2720031it [00:01, 1721355.02it/s]
2893911it [00:01, 1726559.30it/s]
3066580it [00:01, 1717563.93it/s]
3238906it [00:01, 1719243.73it/s]
3410844it [00:02, 1701057.99it/s]
3584716it [00:02, 1712229.31it/s]
3758063it [00:02, 1718540.74it/s]
3930622it [00:02, 1720630.07it/s]
4103783it [00:02, 1723745.24it/s]
4279274it [00:02, 1733059.14it/s]
4452596it [00:02, 1723201.43it/s]
4625384it [00:02, 1724546.68it/s]
4797855it [00:02, 1672542.37it/s]
4965447it [00:02, 1625695.11it/s]
5131732it [00:03, 1636330.39it/s]
5301871it [00:03, 1655323.38it/s]
5475065it [00:03, 1677870.30it/s]
5647452it [00:03, 1691476.22it/s]
5816790it [00:03, 1677067.52it/s]
5985146it [00:03, 1678956.83it/s]
6154488it [00:03, 1683222.02it/s]
6322889it [00:03, 1673620.57it/s]
6490314it [00:03, 1624842.69it/s]
6659938it [00:03, 1645675.90it/s]
6828311it [00:04, 1656797.45it/s]
7000117it [00:04, 1674914.92it/s]
7174092it [00:04, 1694167.14it/s]
7345940it [00:04, 1701390.87it/s]
7516183it [00:04, 1700858.83it/s]
7688190it [00:04, 1706583.89it/s]
7858902it [00:04, 1699764.38it/s]
8033245it [00:04, 1712652.87it/s]
8204546it [00:04, 1679014.14it/s]
8372610it [00:04, 1665356.69it/s]
8541978it [00:05, 1673687.67it/s]
8715166it [00:05, 1690916.01it/s]
8884348it [00:05, 1689151.40it/s]
9055506it [00:05, 1695820.05it/s]
9228613it [00:05, 1706329.02it/s]
9399285it [00:05, 1705846.91it/s]
9569897it [00:05, 1704059.42it/s]
9741128it [00:05, 1706511.62it/s]
9911793it [00:05, 1706527.96it/s]
10082456it [00:05, 1696329.44it/s]
10252109it [00:06, 1694714.69it/s]
10425237it [00:06, 1705616.10it/s]
10596793it [00:06, 1708526.24it/s]
10767657it [00:06, 1706693.39it/s]
10938334it [00:06, 1702277.86it/s]
11108569it [00:06, 1700071.32it/s]
11278581it [00:06, 1688526.78it/s]
11447452it [00:06, 1685861.59it/s]
11619829it [00:06, 1697147.28it/s]
11790123it [00:06, 1698861.21it/s]
11962905it [00:07, 1707503.76it/s]
12134556it [00:07, 1710186.98it/s]
12306927it [00:07, 1714222.44it/s]
12481183it [00:07, 1722566.38it/s]
12653445it [00:07, 1718026.38it/s]
12826029it [00:07, 1720197.16it/s]
12998394it [00:07, 1721219.39it/s]
13171223it [00:07, 1723322.45it/s]
13343558it [00:07, 1715103.27it/s]
13515079it [00:07, 1693686.63it/s]
13688278it [00:08, 1705024.97it/s]
13862272it [00:08, 1715400.34it/s]
14037545it [00:08, 1726519.91it/s]
14210237it [00:08, 1719392.33it/s]
14382208it [00:08, 1707048.09it/s]
14556649it [00:08, 1718139.43it/s]
14732744it [00:08, 1730885.07it/s]
14905866it [00:08, 1730291.95it/s]
15078918it [00:08, 1722409.74it/s]
15251181it [00:08, 1713227.41it/s]
15422526it [00:09, 1694114.63it/s]
15591988it [00:09, 1685612.12it/s]
15760583it [00:09, 1675869.14it/s]
15932192it [00:09, 1687757.41it/s]
16105190it [00:09, 1700289.77it/s]
16278841it [00:09, 1711068.88it/s]
16450703it [00:09, 1713306.09it/s]
16622057it [00:09, 1709283.03it/s]
16793003it [00:09, 1707040.23it/s]
16963719it [00:09, 1706991.36it/s]
17136979it [00:10, 1714638.46it/s]
17310148it [00:10, 1719732.73it/s]
17483387it [00:10, 1723363.00it/s]
17656071it [00:10, 1724389.56it/s]
17829654it [00:10, 1727682.76it/s]
18002425it [00:10, 1723204.94it/s]
18174770it [00:10, 1723261.57it/s]
18348226it [00:10, 1726584.71it/s]
18520888it [00:10, 1725413.57it/s]
18693432it [00:10, 1723136.13it/s]
18865748it [00:11, 1721866.47it/s]
19037936it [00:11, 1719099.54it/s]
19209848it [00:11, 1714300.00it/s]
19381940it [00:11, 1716265.84it/s]
19554322it [00:11, 1718455.71it/s]
19727788it [00:11, 1723188.12it/s]
19900110it [00:11, 1721217.46it/s]
20072234it [00:11, 1715900.03it/s]
20243852it [00:11, 1715969.55it/s]
20418589it [00:11, 1725279.21it/s]
20591242it [00:12, 1725635.82it/s]
20767373it [00:12, 1736308.41it/s]
20941008it [00:12, 1731051.33it/s]
21115117it [00:12, 1734039.16it/s]
21288526it [00:12, 1726241.80it/s]
21461161it [00:12, 1724313.83it/s]
21635541it [00:12, 1730119.87it/s]
21808560it [00:12, 1724507.73it/s]
21981019it [00:12, 1720265.29it/s]
22151608it [00:13, 1703753.09it/s]
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
tabix -s 1 -b 2 -e 2 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.depth.gz
seqtool depth_hist -nbins 500 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.depth.gz > 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.depth_hist.tsv
cat 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.depth_hist.tsv | plot -x 0 -xlabel Depth -ylabel "Number of Sites" -xlim 0 2000 -title 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md -output 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.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 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bam > 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.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 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bam > 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md/reads_per_target.Twist_rna_exome_AND_fusion_hg38.bed.tsv
seqtool depth_stats -bed Twist_rna_exome_AND_fusion_hg38.bed 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.depth.gz> 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.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 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bam > 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.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: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
[W::hts_idx_load3] The index file is older than the data file: 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md.bai
cat 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md/gc_bias_qc.Twist_rna_exome_AND_fusion_hg38.bed.tsv | plot -x 0 -header infer -ylim 0 2 -title "1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md" -suptitle "Twist_rna_exome_AND_fusion_hg38.bed" -output "1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md/gc_bias.Twist_rna_exome_AND_fusion_hg38.bed.png" -ylabel "Fold enrichment / depletion" -xlabel "GC Quantile"
echo `date` > 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md/qc_complete.txt
+ merge_qc -folders 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2.md -output 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2_full_basic_stats.tsv
+ head -n1 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2_full_basic_stats.tsv
++ basename Twist_rna_exome_AND_fusion_hg38.bed
+ grep -e Twist_rna_exome_AND_fusion_hg38.bed 1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2/1173_CRL_T1_RNA_SLD_01_A23T55JLT4_2_full_basic_stats.tsv