Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/70/5c6d4c19fc27fd75afd80962bd7ea9/aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bai 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/49/b2b84521db81141d32b603069c0c42/.command.sh Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/70/5c6d4c19fc27fd75afd80962bd7ea9/aih-tih-sc-2f84cc-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-platform-sandbox/pipeline-resources/AIH/rna/GRCh38/gatk4/dbsnp_hg38_contam_sites.bed Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/49/b2b84521db81141d32b603069c0c42/.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-2f84cc-R1_B23WHYVLT4_1 + all_qc -bam aih-tih-sc-2f84cc-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-2f84cc-R1_B23WHYVLT4_1 -reference ref_genome.fa -region chr20 mkdir -p aih-tih-sc-2f84cc-R1_B23WHYVLT4_1/aih-tih-sc-2f84cc-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-2f84cc-R1_B23WHYVLT4_1/aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md/full_bed.bed saturation_plot -bams aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bam -region chr20 -output aih-tih-sc-2f84cc-R1_B23WHYVLT4_1/aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md/saturation_plot.png -threads 1 seqtool depth -bam aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bam -bed aih-tih-sc-2f84cc-R1_B23WHYVLT4_1/aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md/full_bed.bed -threads 4 -bam_threads 2 | bgzip -c > aih-tih-sc-2f84cc-R1_B23WHYVLT4_1/aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md/aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.depth.gz seqtool saturation_metric -at 1000000 -region chr20 -bam_threads 1 aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bam > aih-tih-sc-2f84cc-R1_B23WHYVLT4_1/aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md/saturation_qc.tsv fragment_size -bams aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bam -region chr20 -output_prefix aih-tih-sc-2f84cc-R1_B23WHYVLT4_1/aih-tih-sc-2f84cc-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-2f84cc-R1_B23WHYVLT4_1.md.bam > aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.mpileup && contamination -input aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.mpileup -dbsnp_vcf Homo_sapiens_assembly38.dbsnp138.vcf.gz > aih-tih-sc-2f84cc-R1_B23WHYVLT4_1/aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md/contamination.tsv [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-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-2f84cc-R1_B23WHYVLT4_1.md.bai [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bai [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bai [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bai [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-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-2f84cc-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-2f84cc-R1_B23WHYVLT4_1.md.bai 160055it [00:00, 1600406.53it/s] 328475it [00:00, 1649631.14it/s] 498118it [00:00, 1670949.40it/s] 669616it [00:00, 1688141.41it/s] 842583it [00:00, 1703069.16it/s] 1014905it [00:00, 1709823.43it/s] 1185888it [00:00, 1661469.19it/s] 1352301it [00:00, 1650537.77it/s] 1517532it [00:00, 1635165.27it/s] 1683576it [00:01, 1642790.06it/s] 1850984it [00:01, 1652207.45it/s] 2022383it [00:01, 1670795.97it/s] 2189539it [00:01, 1662715.19it/s] 2363258it [00:01, 1684963.32it/s] 2536056it [00:01, 1697726.60it/s] 2711315it [00:01, 1714144.75it/s] 2882770it [00:01, 1526833.94it/s] 3055347it [00:01, 1581743.74it/s] 3227413it [00:01, 1621018.21it/s] 3391953it [00:02, 1609921.66it/s] 3554635it [00:02, 1604635.99it/s] 3717699it [00:02, 1612166.62it/s] 3880605it [00:02, 1617028.58it/s] 4042909it [00:02, 1614258.69it/s] 4212050it [00:02, 1637076.04it/s] 4377570it [00:02, 1642356.24it/s] 4543640it [00:02, 1647792.68it/s] 4717539it [00:02, 1674996.39it/s] 4885166it [00:02, 1662508.62it/s] 5051524it [00:03, 1531255.72it/s] 5206705it [00:03, 1398396.57it/s] 5349758it [00:03, 1324002.10it/s] 5372679it [00:03, 1592241.65it/s] [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bai [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bai [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bai [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bai [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bai [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bai [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bai [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bai [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bai [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bai [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bai [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bai [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bai [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bai [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bai [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bai [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bai [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bai [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bai [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bai [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bai tabix -s 1 -b 2 -e 2 aih-tih-sc-2f84cc-R1_B23WHYVLT4_1/aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md/aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.depth.gz seqtool depth_hist -nbins 500 aih-tih-sc-2f84cc-R1_B23WHYVLT4_1/aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md/aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.depth.gz > aih-tih-sc-2f84cc-R1_B23WHYVLT4_1/aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md/aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.depth_hist.tsv cat aih-tih-sc-2f84cc-R1_B23WHYVLT4_1/aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md/aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.depth_hist.tsv | plot -x 0 -xlabel Depth -ylabel "Number of Sites" -xlim 0 2000 -title aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md -output aih-tih-sc-2f84cc-R1_B23WHYVLT4_1/aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md/aih-tih-sc-2f84cc-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-2f84cc-R1_B23WHYVLT4_1.md.bam > aih-tih-sc-2f84cc-R1_B23WHYVLT4_1/aih-tih-sc-2f84cc-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-2f84cc-R1_B23WHYVLT4_1.md.bam > aih-tih-sc-2f84cc-R1_B23WHYVLT4_1/aih-tih-sc-2f84cc-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-2f84cc-R1_B23WHYVLT4_1/aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md/aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.depth.gz> aih-tih-sc-2f84cc-R1_B23WHYVLT4_1/aih-tih-sc-2f84cc-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-2f84cc-R1_B23WHYVLT4_1.md.bam > aih-tih-sc-2f84cc-R1_B23WHYVLT4_1/aih-tih-sc-2f84cc-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-2f84cc-R1_B23WHYVLT4_1.md.bai [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bai [W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md.bai cat aih-tih-sc-2f84cc-R1_B23WHYVLT4_1/aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md/gc_bias_qc.Twist_rna_exome_AND_fusion_hg38.bed.tsv | plot -x 0 -header infer -ylim 0 2 -title "aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md" -suptitle "Twist_rna_exome_AND_fusion_hg38.bed" -output "aih-tih-sc-2f84cc-R1_B23WHYVLT4_1/aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md/gc_bias.Twist_rna_exome_AND_fusion_hg38.bed.png" -ylabel "Fold enrichment / depletion" -xlabel "GC Quantile" echo `date` > aih-tih-sc-2f84cc-R1_B23WHYVLT4_1/aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md/qc_complete.txt + merge_qc -folders aih-tih-sc-2f84cc-R1_B23WHYVLT4_1/aih-tih-sc-2f84cc-R1_B23WHYVLT4_1.md -output aih-tih-sc-2f84cc-R1_B23WHYVLT4_1/aih-tih-sc-2f84cc-R1_B23WHYVLT4_1_full_basic_stats.tsv + head -n1 aih-tih-sc-2f84cc-R1_B23WHYVLT4_1/aih-tih-sc-2f84cc-R1_B23WHYVLT4_1_full_basic_stats.tsv ++ basename Twist_rna_exome_AND_fusion_hg38.bed + grep -e Twist_rna_exome_AND_fusion_hg38.bed aih-tih-sc-2f84cc-R1_B23WHYVLT4_1/aih-tih-sc-2f84cc-R1_B23WHYVLT4_1_full_basic_stats.tsv