File Info

Filename
.command.log
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/df/847d8f5be6f7eefa14abcb10ddda14/.command.log
Size
12.9 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/df/847d8f5be6f7eefa14abcb10ddda14/.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/01/ff8c3e6e40b35950f2ccdd98bd1b35/BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_2.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/df/847d8f5be6f7eefa14abcb10ddda14/.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/01/ff8c3e6e40b35950f2ccdd98bd1b35/BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_2.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_2
+ all_qc -bam BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_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 BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_2 -reference ref_genome.fa -region chr20
mkdir -p BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_2/BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_2.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_2/BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_2.md/full_bed.bed


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

0it [00:00, ?it/s][W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_2.md.bai

142156it [00:00, 1421344.48it/s]
289255it [00:00, 1450506.03it/s]
456075it [00:00, 1549870.06it/s]
626593it [00:00, 1611128.05it/s]
798088it [00:00, 1648531.72it/s]
966474it [00:00, 1660505.66it/s]
1140755it [00:00, 1687383.25it/s]
1309494it [00:00, 1670730.08it/s]
1480740it [00:00, 1683656.91it/s]
1651125it [00:01, 1689834.60it/s]
1820134it [00:01, 1649762.19it/s]
1985322it [00:01, 1549677.16it/s]
2152838it [00:01, 1585523.42it/s]
2328377it [00:01, 1634729.11it/s]
2501830it [00:01, 1663917.66it/s]
2672747it [00:01, 1677240.13it/s]
2844126it [00:01, 1688051.64it/s]
3017251it [00:01, 1700877.96it/s]
3189305it [00:01, 1706717.29it/s]
3360187it [00:02, 1689448.29it/s]
3534249it [00:02, 1704618.17it/s]
3706725it [00:02, 1710594.74it/s]
3880499it [00:02, 1718670.80it/s]
4053767it [00:02, 1722835.81it/s]
4226107it [00:02, 1719269.99it/s]
4401052it [00:02, 1728265.35it/s]
4573910it [00:02, 1702127.08it/s]
4744228it [00:02, 1672211.62it/s]
4911609it [00:02, 1616940.06it/s]
5073715it [00:03, 1613912.46it/s]
5235385it [00:03, 1570783.84it/s]
5392806it [00:03, 1436481.14it/s]
5538595it [00:03, 1356134.38it/s]
5676134it [00:03, 1303072.28it/s]
5807787it [00:03, 1293672.99it/s]
5975258it [00:03, 1398553.37it/s]
6131172it [00:03, 1443857.11it/s]
6276921it [00:03, 1419632.19it/s]
6443590it [00:04, 1490454.08it/s]
6612726it [00:04, 1548845.73it/s]
6780448it [00:04, 1586497.19it/s]
6949017it [00:04, 1615773.40it/s]
7119485it [00:04, 1642052.46it/s]
7291923it [00:04, 1666537.00it/s]
7465429it [00:04, 1686959.07it/s]
7639866it [00:04, 1704091.27it/s]
7813008it [00:04, 1712234.45it/s]
7984347it [00:04, 1705292.15it/s]
8154963it [00:05, 1682984.63it/s]
8327442it [00:05, 1695348.63it/s]
8501433it [00:05, 1708576.52it/s]
8673681it [00:05, 1712636.26it/s]
8845004it [00:05, 1707199.37it/s]
9021103it [00:05, 1723170.54it/s][W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_2.md.bai

9193459it [00:05, 1718074.56it/s]
9365295it [00:05, 1707203.19it/s]
9536047it [00:05, 1678376.47it/s]
9703996it [00:05, 1668239.29it/s]
9871087it [00:06, 1668825.81it/s]
10038359it [00:06, 1669882.87it/s]
10208248it [00:06, 1678362.26it/s]
10379047it [00:06, 1687173.68it/s]
10550422it [00:06, 1695000.67it/s]
10721942it [00:06, 1700976.42it/s]
10893766it [00:06, 1705989.31it/s]
11067726it [00:06, 1716034.35it/s]
11242532it [00:06, 1725479.31it/s]
11418636it [00:06, 1736115.73it/s]
11592255it [00:07, 1731754.99it/s]
11766342it [00:07, 1734456.81it/s]
11880110it [00:07, 1641168.37it/s]


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


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


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


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


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


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






cat BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_2/BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_2.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_2.md" -suptitle "Twist_rna_exome_AND_fusion_hg38.bed" -output "BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_2/BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_2.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_2/BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_2.md/qc_complete.txt


+ merge_qc -folders BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_2/BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_2.md -output BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_2/BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_2_full_basic_stats.tsv
+ head -n1 BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_2/BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_2_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_2/BVT_FFPE_TRNA_bst_01_03_A23WKFTLT4_2_full_basic_stats.tsv