File Info

Filename
.command.log
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/54/6c1278aa7ddf06bab6eb09b2e500d2/.command.log
Size
12.6 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/54/6c1278aa7ddf06bab6eb09b2e500d2/.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/3e/95e31d544769aeef17fd5093ad85d9/BVT_FFPE_TRNA_bst_01_02_A23WKFTLT4_2.md.bam
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/54/6c1278aa7ddf06bab6eb09b2e500d2/.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-rnd-pltf-dev-nextflow-scratch-01/work/3e/95e31d544769aeef17fd5093ad85d9/BVT_FFPE_TRNA_bst_01_02_A23WKFTLT4_2.md.bai
  Downloading: s3://natera-platform-sandbox/pipeline-resources/Homo_sapiens_assembly38.dbsnp138.vcf.gz.tbi
==> STAGING COMPLETE (11 inputs)

+ mkdir BVT_FFPE_TRNA_bst_01_02_A23WKFTLT4_2
+ all_qc -bam BVT_FFPE_TRNA_bst_01_02_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_02_A23WKFTLT4_2 -reference ref_genome.fa -region chr20
mkdir -p BVT_FFPE_TRNA_bst_01_02_A23WKFTLT4_2/BVT_FFPE_TRNA_bst_01_02_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_02_A23WKFTLT4_2/BVT_FFPE_TRNA_bst_01_02_A23WKFTLT4_2.md/full_bed.bed


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

0it [00:00, ?it/s]
139646it [00:00, 1396221.65it/s]
282718it [00:00, 1416458.55it/s]
442081it [00:00, 1497312.24it/s]
595316it [00:00, 1511107.61it/s]
746427it [00:00, 1497328.74it/s]
915773it [00:00, 1563474.49it/s]
1090330it [00:00, 1622722.66it/s]
1261050it [00:00, 1649502.66it/s]
1434503it [00:00, 1675873.18it/s]
1602129it [00:01, 1646659.25it/s]
1775699it [00:01, 1673521.02it/s]
1949698it [00:01, 1693524.98it/s]
2121988it [00:01, 1702330.01it/s]
2298399it [00:01, 1720870.63it/s]
2475020it [00:01, 1734466.93it/s]
2648517it [00:01, 1718661.09it/s]
2820448it [00:01, 1685353.42it/s]
2989149it [00:01, 1648888.90it/s]
3158576it [00:01, 1662096.57it/s]
3327185it [00:02, 1668883.50it/s]
3499818it [00:02, 1685852.90it/s]
3673192it [00:02, 1699989.61it/s]
3843298it [00:02, 1647251.62it/s]
4008424it [00:02, 1642223.37it/s]
4172918it [00:02, 1462851.24it/s]
4322824it [00:02, 1374677.69it/s]
4463385it [00:02, 1361929.94it/s]
4629928it [00:02, 1444552.58it/s]
4800301it [00:03, 1517103.02it/s]
4970715it [00:03, 1570511.72it/s]
5129510it [00:03, 1571105.51it/s]
5290368it [00:03, 1582020.06it/s]
5464066it [00:03, 1627621.62it/s]
5627532it [00:03, 1592418.61it/s]
5787405it [00:03, 1589653.58it/s]
5946807it [00:03, 1589227.67it/s]
6106035it [00:03, 1574864.83it/s]
6263746it [00:03, 1543201.33it/s]
6425291it [00:04, 1564186.78it/s]
6594068it [00:04, 1600538.91it/s]
6766691it [00:04, 1637716.62it/s]
6934349it [00:04, 1649234.63it/s]
7107278it [00:04, 1673057.79it/s]
7283047it [00:04, 1698298.10it/s]
7457366it [00:04, 1711685.02it/s][W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bst_01_02_A23WKFTLT4_2.md.bai

7629671it [00:04, 1715046.88it/s]
7801229it [00:04, 1709670.32it/s]
7972237it [00:04, 1694445.02it/s]
8141736it [00:05, 1663018.55it/s]
8313316it [00:05, 1678487.73it/s]
8489435it [00:05, 1702820.67it/s]
8659842it [00:05, 1699719.69it/s]
8829900it [00:05, 1681659.46it/s]
8998157it [00:05, 1608261.61it/s]
9167815it [00:05, 1633657.50it/s][W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bst_01_02_A23WKFTLT4_2.md.bai

9344792it [00:05, 1673290.61it/s]
9512639it [00:05, 1674056.85it/s]
9680409it [00:05, 1666216.49it/s]
9856819it [00:06, 1695139.10it/s]
10033070it [00:06, 1715116.61it/s]
10208762it [00:06, 1727533.73it/s]
10326486it [00:06, 1630752.76it/s]




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


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


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


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


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






cat BVT_FFPE_TRNA_bst_01_02_A23WKFTLT4_2/BVT_FFPE_TRNA_bst_01_02_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_02_A23WKFTLT4_2.md" -suptitle "Twist_rna_exome_AND_fusion_hg38.bed" -output "BVT_FFPE_TRNA_bst_01_02_A23WKFTLT4_2/BVT_FFPE_TRNA_bst_01_02_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_02_A23WKFTLT4_2/BVT_FFPE_TRNA_bst_01_02_A23WKFTLT4_2.md/qc_complete.txt


+ merge_qc -folders BVT_FFPE_TRNA_bst_01_02_A23WKFTLT4_2/BVT_FFPE_TRNA_bst_01_02_A23WKFTLT4_2.md -output BVT_FFPE_TRNA_bst_01_02_A23WKFTLT4_2/BVT_FFPE_TRNA_bst_01_02_A23WKFTLT4_2_full_basic_stats.tsv
+ head -n1 BVT_FFPE_TRNA_bst_01_02_A23WKFTLT4_2/BVT_FFPE_TRNA_bst_01_02_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_02_A23WKFTLT4_2/BVT_FFPE_TRNA_bst_01_02_A23WKFTLT4_2_full_basic_stats.tsv