File Info

Filename
.command.log
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/81/a6601b8276b8d775f11e36542451c2/.command.log
Size
12.5 KB
Attempt
  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/81/a6601b8276b8d775f11e36542451c2/.command.sh
  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/e9/f73e313d6bbb5d54fe61511e88c6a9/BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md.bai
  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/81/a6601b8276b8d775f11e36542451c2/.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/e9/f73e313d6bbb5d54fe61511e88c6a9/BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md.bam
  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 BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3
+ all_qc -bam BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.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 BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3 -reference ref_genome.fa -region chr20
mkdir -p BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3/BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md/


cat Twist_rna_exome_AND_fusion_hg38.bed | cut -f 1-3 | bedtools sort -g ref_genome.fa.fai | bedtools merge > BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3/BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md/full_bed.bed


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

0it [00:00, ?it/s]
157198it [00:00, 1571842.84it/s]
322633it [00:00, 1620309.73it/s]
496317it [00:00, 1673465.60it/s]
663664it [00:00, 1644165.98it/s]
828158it [00:00, 1621430.60it/s]
996431it [00:00, 1641886.36it/s]
1160707it [00:00, 1625065.44it/s]
1323290it [00:00, 1576174.64it/s]
1481194it [00:00, 1493175.82it/s]
1649002it [00:01, 1546879.41it/s]
1820380it [00:01, 1595807.71it/s]
1980819it [00:01, 1588198.98it/s]
2140225it [00:01, 1577451.70it/s]
2306487it [00:01, 1602555.90it/s]
2470981it [00:01, 1615086.87it/s]
2632747it [00:01, 1609987.56it/s]
2797617it [00:01, 1621471.99it/s]
2969433it [00:01, 1650272.75it/s]
3139627it [00:01, 1665674.84it/s]
3306285it [00:02, 1660916.36it/s]
3472442it [00:02, 1641871.13it/s]
3636716it [00:02, 1630076.18it/s]
3804147it [00:02, 1643139.04it/s]
3968526it [00:02, 1622369.08it/s]
4130851it [00:02, 1605315.94it/s]
4292507it [00:02, 1608583.05it/s]
4454732it [00:02, 1612591.15it/s]
4621661it [00:02, 1629419.97it/s]
4784652it [00:02, 1573303.56it/s]
4942405it [00:03, 1404530.37it/s]
5086268it [00:03, 1276056.03it/s]
5217831it [00:03, 1281271.09it/s]
5359152it [00:03, 1316760.06it/s]
5519230it [00:03, 1395605.25it/s]
5661596it [00:03, 1403545.52it/s]
5803614it [00:03, 1395607.46it/s]
5953332it [00:03, 1425042.33it/s][W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md.bai

6111080it [00:03, 1469554.26it/s]
6267767it [00:04, 1496945.43it/s]
6420847it [00:04, 1506945.72it/s]
6571945it [00:04, 1507683.08it/s]
6722997it [00:04, 1487140.55it/s]
6871963it [00:04, 1486566.50it/s]
7024336it [00:04, 1497565.96it/s]
7174228it [00:04, 1486924.52it/s]
7323025it [00:04, 1471147.78it/s]
7476503it [00:04, 1489796.09it/s]
7628014it [00:04, 1497273.52it/s]
7777816it [00:05, 1489616.43it/s]
7926834it [00:05, 1477577.37it/s][W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md.bai

8074644it [00:05, 1443643.10it/s]
8227498it [00:05, 1468448.47it/s]
8374527it [00:05, 1465220.56it/s]
8521174it [00:05, 1382242.69it/s]
8660372it [00:05, 1326489.43it/s]
8793971it [00:05, 1305330.92it/s]
8925122it [00:05, 1284761.94it/s]
9053994it [00:06, 1256001.80it/s]
9179877it [00:06, 1241758.29it/s]
9180914it [00:06, 1493420.61it/s]
[W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md.bai


[W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md.bai




[W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md.bai


tabix -s 1 -b 2 -e 2 BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3/BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md/BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md.depth.gz


seqtool depth_hist     -nbins 500     BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3/BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md/BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md.depth.gz     > BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3/BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md/BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md.depth_hist.tsv


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




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






echo `date` > BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3/BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md/qc_complete.txt


+ merge_qc -folders BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3/BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3.md -output BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3/BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3_full_basic_stats.tsv
+ head -n1 BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3/BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3_full_basic_stats.tsv
++ basename Twist_rna_exome_AND_fusion_hg38.bed
+ grep -e Twist_rna_exome_AND_fusion_hg38.bed BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3/BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_3_full_basic_stats.tsv