File Info

Filename
.command.log
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/46/a47da129ce27fb3aa571a42a556f4e/.command.log
Size
12.6 KB
Attempt
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/36/a7da86e0763952fa13505f87d21a5e/659_c95-T1-TRNA-1_B23WHTKLT4_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/46/a47da129ce27fb3aa571a42a556f4e/.command.sh
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/36/a7da86e0763952fa13505f87d21a5e/659_c95-T1-TRNA-1_B23WHTKLT4_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/46/a47da129ce27fb3aa571a42a556f4e/.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 659_c95-T1-TRNA-1_B23WHTKLT4_1
+ all_qc -bam 659_c95-T1-TRNA-1_B23WHTKLT4_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_c95-T1-TRNA-1_B23WHTKLT4_1 -reference ref_genome.fa -region chr20
mkdir -p 659_c95-T1-TRNA-1_B23WHTKLT4_1/659_c95-T1-TRNA-1_B23WHTKLT4_1.md/


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


seqtool depth -bam 659_c95-T1-TRNA-1_B23WHTKLT4_1.md.bam -bed 659_c95-T1-TRNA-1_B23WHTKLT4_1/659_c95-T1-TRNA-1_B23WHTKLT4_1.md/full_bed.bed -threads 4 -bam_threads 2 | bgzip -c > 659_c95-T1-TRNA-1_B23WHTKLT4_1/659_c95-T1-TRNA-1_B23WHTKLT4_1.md/659_c95-T1-TRNA-1_B23WHTKLT4_1.md.depth.gz
saturation_plot       -bams 659_c95-T1-TRNA-1_B23WHTKLT4_1.md.bam       -region chr20       -output 659_c95-T1-TRNA-1_B23WHTKLT4_1/659_c95-T1-TRNA-1_B23WHTKLT4_1.md/saturation_plot.png       -threads 1 
seqtool saturation_metric       -at 1000000       -region chr20       -bam_threads 1       659_c95-T1-TRNA-1_B23WHTKLT4_1.md.bam > 659_c95-T1-TRNA-1_B23WHTKLT4_1/659_c95-T1-TRNA-1_B23WHTKLT4_1.md/saturation_qc.tsv 
fragment_size       -bams 659_c95-T1-TRNA-1_B23WHTKLT4_1.md.bam       -region chr20       -output_prefix 659_c95-T1-TRNA-1_B23WHTKLT4_1/659_c95-T1-TRNA-1_B23WHTKLT4_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_c95-T1-TRNA-1_B23WHTKLT4_1.md.bam > 659_c95-T1-TRNA-1_B23WHTKLT4_1.md.mpileup && contamination -input 659_c95-T1-TRNA-1_B23WHTKLT4_1.md.mpileup -dbsnp_vcf Homo_sapiens_assembly38.dbsnp138.vcf.gz > 659_c95-T1-TRNA-1_B23WHTKLT4_1/659_c95-T1-TRNA-1_B23WHTKLT4_1.md/contamination.tsv 
[W::hts_idx_load3] The index file is older than the data file: 659_c95-T1-TRNA-1_B23WHTKLT4_1.md.bai
[mpileup] 1 samples in 1 input files
[W::hts_idx_load3] The index file is older than the data file: 659_c95-T1-TRNA-1_B23WHTKLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_c95-T1-TRNA-1_B23WHTKLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_c95-T1-TRNA-1_B23WHTKLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_c95-T1-TRNA-1_B23WHTKLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_c95-T1-TRNA-1_B23WHTKLT4_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_c95-T1-TRNA-1_B23WHTKLT4_1.md.bai

0it [00:00, ?it/s][W::hts_idx_load3] The index file is older than the data file: 659_c95-T1-TRNA-1_B23WHTKLT4_1.md.bai

147537it [00:00, 1475286.99it/s]
308425it [00:00, 1553750.32it/s]
478934it [00:00, 1622834.49it/s]
651384it [00:00, 1662955.86it/s]
817680it [00:00, 1657166.46it/s]
985203it [00:00, 1663193.48it/s]
1153507it [00:00, 1669644.60it/s]
1323943it [00:00, 1680671.89it/s]
1499016it [00:00, 1702545.46it/s]
1673309it [00:01, 1714960.18it/s]
1844809it [00:01, 1706438.11it/s]
2015465it [00:01, 1682407.50it/s]
2183781it [00:01, 1675470.10it/s]
2353652it [00:01, 1682396.09it/s]
2533112it [00:01, 1715929.88it/s]
2708795it [00:01, 1728129.82it/s]
2881656it [00:01, 1707708.67it/s]
3052508it [00:01, 1701088.49it/s]
3223819it [00:01, 1704650.24it/s]
3394327it [00:02, 1688593.60it/s]
3566625it [00:02, 1698783.45it/s]
3740337it [00:02, 1710184.80it/s]
3911400it [00:02, 1685862.86it/s]
4082646it [00:02, 1693720.42it/s]
4252097it [00:02, 1690201.45it/s]
4421171it [00:02, 1688775.15it/s]
4594563it [00:02, 1702221.60it/s]
4769693it [00:02, 1716866.67it/s]
4942876it [00:02, 1721324.44it/s]
5115032it [00:03, 1720187.51it/s]
5287067it [00:03, 1693665.49it/s]
5458510it [00:03, 1699807.81it/s]
5628771it [00:03, 1700633.23it/s]
5803102it [00:03, 1713349.19it/s]
5978672it [00:03, 1725989.66it/s]
6152851it [00:03, 1730704.95it/s]
6325950it [00:03, 1693872.59it/s]
6495525it [00:03, 1691043.82it/s]
6664757it [00:03, 1689843.87it/s]
6835876it [00:04, 1696111.11it/s]
7009989it [00:04, 1709373.59it/s]
7183970it [00:04, 1718450.50it/s]
7355859it [00:04, 1699653.77it/s]
7525897it [00:04, 1698085.76it/s]
7697027it [00:04, 1701954.19it/s]
7870841it [00:04, 1712738.18it/s]
8043986it [00:04, 1718320.62it/s]
8217329it [00:04, 1722831.74it/s]
8389631it [00:04, 1716917.06it/s]
8561756it [00:05, 1718117.05it/s]
8733580it [00:05, 1717119.29it/s]
8906703it [00:05, 1721333.44it/s]
9082920it [00:05, 1733554.00it/s]
9257104it [00:05, 1736027.56it/s]
9431717it [00:05, 1739042.70it/s]
9605625it [00:05, 1729293.42it/s]
9782442it [00:05, 1740897.72it/s]
9956548it [00:05, 1740301.44it/s]
10131386it [00:05, 1742709.77it/s]
10306762it [00:06, 1745984.88it/s]
10481367it [00:06, 1732661.14it/s]
10654660it [00:06, 1719059.56it/s]
10826601it [00:06, 1706287.55it/s]
10999941it [00:06, 1714242.91it/s]
11172343it [00:06, 1717137.97it/s]
11347851it [00:06, 1728380.00it/s]
11520714it [00:06, 1726733.45it/s]
11693941it [00:06, 1728367.86it/s]
11867684it [00:06, 1730945.37it/s]
12040788it [00:07, 1730125.63it/s]
12214839it [00:07, 1733220.21it/s]
12388167it [00:07, 1730719.93it/s]
12561244it [00:07, 1722537.57it/s]
12734829it [00:07, 1726502.36it/s]
12907489it [00:07, 1722523.64it/s]
13080716it [00:07, 1725300.23it/s]
13255292it [00:07, 1731410.49it/s]
13428440it [00:07, 1722010.63it/s]
13600656it [00:07, 1713866.72it/s]
13772058it [00:08, 1710504.97it/s]
13894451it [00:08, 1708814.00it/s]
[W::hts_idx_load3] The index file is older than the data file: 659_c95-T1-TRNA-1_B23WHTKLT4_1.md.bai


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




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


tabix -s 1 -b 2 -e 2 659_c95-T1-TRNA-1_B23WHTKLT4_1/659_c95-T1-TRNA-1_B23WHTKLT4_1.md/659_c95-T1-TRNA-1_B23WHTKLT4_1.md.depth.gz


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


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






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




echo `date` > 659_c95-T1-TRNA-1_B23WHTKLT4_1/659_c95-T1-TRNA-1_B23WHTKLT4_1.md/qc_complete.txt


+ merge_qc -folders 659_c95-T1-TRNA-1_B23WHTKLT4_1/659_c95-T1-TRNA-1_B23WHTKLT4_1.md -output 659_c95-T1-TRNA-1_B23WHTKLT4_1/659_c95-T1-TRNA-1_B23WHTKLT4_1_full_basic_stats.tsv
+ head -n1 659_c95-T1-TRNA-1_B23WHTKLT4_1/659_c95-T1-TRNA-1_B23WHTKLT4_1_full_basic_stats.tsv
++ basename Twist_rna_exome_AND_fusion_hg38.bed
+ grep -e Twist_rna_exome_AND_fusion_hg38.bed 659_c95-T1-TRNA-1_B23WHTKLT4_1/659_c95-T1-TRNA-1_B23WHTKLT4_1_full_basic_stats.tsv