File Info

Filename
.command.log
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/4c/23384aa407c291d99c81eae7f6561f/.command.log
Size
13.5 KB
Attempt
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/e6/46dbcc4a070de16ae5cff5eceac3fe/659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bam
  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/4c/23384aa407c291d99c81eae7f6561f/.command.sh
  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/4c/23384aa407c291d99c81eae7f6561f/.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-rnd-pltf-dev-nextflow-scratch-01/work/e6/46dbcc4a070de16ae5cff5eceac3fe/659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai
  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 659_bIB-T1-TRNA-1_B23MHV2LT4_1
+ all_qc -bam 659_bIB-T1-TRNA-1_B23MHV2LT4_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 659_bIB-T1-TRNA-1_B23MHV2LT4_1 -reference ref_genome.fa -region chr20
mkdir -p 659_bIB-T1-TRNA-1_B23MHV2LT4_1/659_bIB-T1-TRNA-1_B23MHV2LT4_1.md/


cat Twist_rna_exome_AND_fusion_hg38.bed | cut -f 1-3 | bedtools sort -g ref_genome.fa.fai | bedtools merge > 659_bIB-T1-TRNA-1_B23MHV2LT4_1/659_bIB-T1-TRNA-1_B23MHV2LT4_1.md/full_bed.bed


seqtool depth -bam 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bam -bed 659_bIB-T1-TRNA-1_B23MHV2LT4_1/659_bIB-T1-TRNA-1_B23MHV2LT4_1.md/full_bed.bed -threads 4 -bam_threads 2 | bgzip -c > 659_bIB-T1-TRNA-1_B23MHV2LT4_1/659_bIB-T1-TRNA-1_B23MHV2LT4_1.md/659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.depth.gz
saturation_plot       -bams 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bam       -region chr20       -output 659_bIB-T1-TRNA-1_B23MHV2LT4_1/659_bIB-T1-TRNA-1_B23MHV2LT4_1.md/saturation_plot.png       -threads 1 
seqtool saturation_metric       -at 1000000       -region chr20       -bam_threads 1       659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bam > 659_bIB-T1-TRNA-1_B23MHV2LT4_1/659_bIB-T1-TRNA-1_B23MHV2LT4_1.md/saturation_qc.tsv 
fragment_size       -bams 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bam       -region chr20       -output_prefix 659_bIB-T1-TRNA-1_B23MHV2LT4_1/659_bIB-T1-TRNA-1_B23MHV2LT4_1.md/fragsize       -threads 1 
samtools mpileup   -B --min-MQ 60 --min-BQ 30    -f ref_genome.fa   -l dbsnp_hg38_contam_sites.bed   659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bam > 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.mpileup && contamination -input 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.mpileup -dbsnp_vcf Homo_sapiens_assembly38.dbsnp138.vcf.gz > 659_bIB-T1-TRNA-1_B23MHV2LT4_1/659_bIB-T1-TRNA-1_B23MHV2LT4_1.md/contamination.tsv 
[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai
[mpileup] 1 samples in 1 input files
[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_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: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai

0it [00:00, ?it/s]
156047it [00:00, 1560397.08it/s]
319802it [00:00, 1605742.90it/s]
491739it [00:00, 1657601.68it/s]
664478it [00:00, 1685120.02it/s]
836498it [00:00, 1697747.00it/s]
1009027it [00:00, 1707088.42it/s]
1180776it [00:00, 1710293.43it/s]
1353112it [00:00, 1714435.10it/s]
1525529it [00:00, 1717412.11it/s]
1698777it [00:01, 1722045.02it/s]
1871698it [00:01, 1724091.06it/s]
2045602it [00:01, 1728490.81it/s]
2218452it [00:01, 1722911.29it/s]
2390748it [00:01, 1722433.94it/s]
2562995it [00:01, 1717934.88it/s]
2735426it [00:01, 1719823.69it/s]
2907412it [00:01, 1718641.30it/s]
3079279it [00:01, 1717990.79it/s]
3254872it [00:01, 1729344.62it/s]
3427810it [00:02, 1700787.63it/s]
3598275it [00:02, 1701803.15it/s]
3770784it [00:02, 1708707.93it/s]
3948272it [00:02, 1728421.85it/s]
4125965it [00:02, 1742889.55it/s]
4300298it [00:02, 1738751.16it/s]
4474205it [00:02, 1732513.80it/s]
4647482it [00:02, 1729870.49it/s]
4820487it [00:02, 1727838.50it/s]
4993283it [00:02, 1722970.02it/s]
5166607it [00:03, 1725986.04it/s]
5340607it [00:03, 1730118.23it/s]
5513626it [00:03, 1717633.52it/s]
5685412it [00:03, 1717444.06it/s]
5857173it [00:03, 1714780.81it/s]
6029365it [00:03, 1716892.61it/s]
6201063it [00:03, 1714312.10it/s]
6372501it [00:03, 1708932.12it/s]
6544057it [00:03, 1710885.21it/s]
6715151it [00:03, 1703455.70it/s]
6885506it [00:04, 1696853.87it/s]
7055201it [00:04, 1692946.39it/s]
7224502it [00:04, 1692073.31it/s]
7396588it [00:04, 1700644.14it/s]
7570978it [00:04, 1713545.89it/s]
7742342it [00:04, 1707914.55it/s]
7914122it [00:04, 1710848.30it/s]
8085215it [00:04, 1709597.71it/s]
8256180it [00:04, 1706092.21it/s]
8429401it [00:04, 1713883.71it/s]
8600795it [00:05, 1711907.19it/s]
8771990it [00:05, 1708047.16it/s]
8942799it [00:05, 1680825.04it/s]
9115945it [00:05, 1695792.19it/s]
9285610it [00:05, 1692342.71it/s]
9456851it [00:05, 1698292.46it/s]
9627766it [00:05, 1701510.92it/s]
9797951it [00:05, 1701531.51it/s]
9969338it [00:05, 1705198.62it/s]
10140765it [00:05, 1707816.29it/s]
10312252it [00:06, 1709907.84it/s]
10483253it [00:06, 1565623.43it/s]
10653243it [00:06, 1603414.66it/s]
10823031it [00:06, 1630496.54it/s]
10993553it [00:06, 1652195.68it/s]
11164483it [00:06, 1668929.57it/s]
11332177it [00:06, 1661551.76it/s]
11502420it [00:06, 1673610.13it/s]
11673826it [00:06, 1685597.73it/s]
11845650it [00:06, 1695298.07it/s]
12018380it [00:07, 1704804.40it/s]
12190886it [00:07, 1710838.61it/s]
12362364it [00:07, 1711995.27it/s]
12533643it [00:07, 1710030.03it/s]
12704702it [00:07, 1706968.51it/s]
12876307it [00:07, 1709660.10it/s]
13047302it [00:07, 1707592.33it/s]
13218940it [00:07, 1710112.05it/s]
13389966it [00:07, 1707384.37it/s]
13561482it [00:07, 1709687.81it/s]
13732459it [00:08, 1708785.53it/s]
13903934it [00:08, 1710400.42it/s]
14078793it [00:08, 1721819.05it/s]
14250980it [00:08, 1716772.42it/s]
14422664it [00:08, 1705793.71it/s]
14595898it [00:08, 1713593.25it/s]
14768094it [00:08, 1716065.63it/s]
14939714it [00:08, 1714916.58it/s]
15111629it [00:08, 1716154.30it/s]
15283252it [00:08, 1713152.93it/s]
15454573it [00:09, 1699607.04it/s]
15627469it [00:09, 1708234.73it/s]
15798317it [00:09, 1702379.07it/s]
15971120it [00:09, 1709950.31it/s]
16142133it [00:09, 1704450.93it/s]
16312593it [00:09, 1704444.97it/s]
16483048it [00:09, 1702710.22it/s]
16655168it [00:09, 1708212.37it/s]
16825996it [00:09, 1706034.49it/s]
16998524it [00:09, 1711770.75it/s]
17170804it [00:10, 1714961.44it/s]
17342304it [00:10, 1714116.37it/s]
17516117it [00:10, 1721287.29it/s]
17690290it [00:10, 1727391.67it/s]
17863032it [00:10, 1721284.44it/s]
18035167it [00:10, 1718358.51it/s]
18207008it [00:10, 1713336.94it/s]
18284246it [00:10, 1705070.78it/s]
[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai


[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai


[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai


[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai


tabix -s 1 -b 2 -e 2 659_bIB-T1-TRNA-1_B23MHV2LT4_1/659_bIB-T1-TRNA-1_B23MHV2LT4_1.md/659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.depth.gz


seqtool depth_hist     -nbins 500     659_bIB-T1-TRNA-1_B23MHV2LT4_1/659_bIB-T1-TRNA-1_B23MHV2LT4_1.md/659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.depth.gz     > 659_bIB-T1-TRNA-1_B23MHV2LT4_1/659_bIB-T1-TRNA-1_B23MHV2LT4_1.md/659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.depth_hist.tsv


cat 659_bIB-T1-TRNA-1_B23MHV2LT4_1/659_bIB-T1-TRNA-1_B23MHV2LT4_1.md/659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.depth_hist.tsv | plot         -x 0         -xlabel Depth -ylabel "Number of Sites"         -xlim 0 2000         -title 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md         -output 659_bIB-T1-TRNA-1_B23MHV2LT4_1/659_bIB-T1-TRNA-1_B23MHV2LT4_1.md/659_bIB-T1-TRNA-1_B23MHV2LT4_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     659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bam > 659_bIB-T1-TRNA-1_B23MHV2LT4_1/659_bIB-T1-TRNA-1_B23MHV2LT4_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     659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bam > 659_bIB-T1-TRNA-1_B23MHV2LT4_1/659_bIB-T1-TRNA-1_B23MHV2LT4_1.md/reads_per_target.Twist_rna_exome_AND_fusion_hg38.bed.tsv 
seqtool depth_stats  -bed Twist_rna_exome_AND_fusion_hg38.bed  659_bIB-T1-TRNA-1_B23MHV2LT4_1/659_bIB-T1-TRNA-1_B23MHV2LT4_1.md/659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.depth.gz> 659_bIB-T1-TRNA-1_B23MHV2LT4_1/659_bIB-T1-TRNA-1_B23MHV2LT4_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  659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bam  > 659_bIB-T1-TRNA-1_B23MHV2LT4_1/659_bIB-T1-TRNA-1_B23MHV2LT4_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: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_bIB-T1-TRNA-1_B23MHV2LT4_1.md.bai






cat 659_bIB-T1-TRNA-1_B23MHV2LT4_1/659_bIB-T1-TRNA-1_B23MHV2LT4_1.md/gc_bias_qc.Twist_rna_exome_AND_fusion_hg38.bed.tsv  | plot -x 0  -header infer  -ylim 0 2  -title "659_bIB-T1-TRNA-1_B23MHV2LT4_1.md" -suptitle "Twist_rna_exome_AND_fusion_hg38.bed" -output "659_bIB-T1-TRNA-1_B23MHV2LT4_1/659_bIB-T1-TRNA-1_B23MHV2LT4_1.md/gc_bias.Twist_rna_exome_AND_fusion_hg38.bed.png"  -ylabel "Fold enrichment / depletion"  -xlabel "GC Quantile" 




echo `date` > 659_bIB-T1-TRNA-1_B23MHV2LT4_1/659_bIB-T1-TRNA-1_B23MHV2LT4_1.md/qc_complete.txt


+ merge_qc -folders 659_bIB-T1-TRNA-1_B23MHV2LT4_1/659_bIB-T1-TRNA-1_B23MHV2LT4_1.md -output 659_bIB-T1-TRNA-1_B23MHV2LT4_1/659_bIB-T1-TRNA-1_B23MHV2LT4_1_full_basic_stats.tsv
+ head -n1 659_bIB-T1-TRNA-1_B23MHV2LT4_1/659_bIB-T1-TRNA-1_B23MHV2LT4_1_full_basic_stats.tsv
++ basename Twist_rna_exome_AND_fusion_hg38.bed
+ grep -e Twist_rna_exome_AND_fusion_hg38.bed 659_bIB-T1-TRNA-1_B23MHV2LT4_1/659_bIB-T1-TRNA-1_B23MHV2LT4_1_full_basic_stats.tsv