File Info

Filename
.command.log
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/52/0cd13887b0e1d0e9bb75cf34c9d510/.command.log
Size
13.0 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/52/0cd13887b0e1d0e9bb75cf34c9d510/.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/06/a0e4b2607beeb6062e94dc405449d3/BVT_FFPE_TRNA_bld_02_A23WKFTLT4_3.md.bam
  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/52/0cd13887b0e1d0e9bb75cf34c9d510/.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/06/a0e4b2607beeb6062e94dc405449d3/BVT_FFPE_TRNA_bld_02_A23WKFTLT4_3.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 BVT_FFPE_TRNA_bld_02_A23WKFTLT4_3
+ all_qc -bam BVT_FFPE_TRNA_bld_02_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_bld_02_A23WKFTLT4_3 -reference ref_genome.fa -region chr20
mkdir -p BVT_FFPE_TRNA_bld_02_A23WKFTLT4_3/BVT_FFPE_TRNA_bld_02_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_bld_02_A23WKFTLT4_3/BVT_FFPE_TRNA_bld_02_A23WKFTLT4_3.md/full_bed.bed


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

0it [00:00, ?it/s]
144255it [00:00, 1442441.33it/s]
291957it [00:00, 1462744.99it/s]
444737it [00:00, 1492412.86it/s]
598071it [00:00, 1508549.17it/s]
757769it [00:00, 1540412.38it/s]
918164it [00:00, 1561992.28it/s]
1077210it [00:00, 1571277.21it/s]
1243049it [00:00, 1598982.73it/s]
1407384it [00:00, 1612832.22it/s]
1570050it [00:01, 1617078.87it/s]
1731758it [00:01, 1611884.72it/s]
1895795it [00:01, 1620510.03it/s]
2057851it [00:01, 1618815.46it/s]
2219736it [00:01, 1585028.96it/s]
2378392it [00:01, 1385515.79it/s]
2536944it [00:01, 1439540.82it/s]
2690025it [00:01, 1464939.22it/s]
2840032it [00:01, 1474894.92it/s]
2995304it [00:01, 1497304.37it/s]
3153262it [00:02, 1521306.47it/s]
3306508it [00:02, 1518664.76it/s]
3464150it [00:02, 1535702.99it/s]
3620984it [00:02, 1545363.36it/s]
3782785it [00:02, 1566966.76it/s]
3947366it [00:02, 1590468.50it/s]
4110469it [00:02, 1602567.16it/s]
4270929it [00:02, 1603039.76it/s]
4431348it [00:02, 1601017.63it/s]
4593363it [00:02, 1606718.88it/s]
4754093it [00:03, 1600478.70it/s]
4914625it [00:03, 1601797.97it/s]
5075972it [00:03, 1605264.90it/s]
5238775it [00:03, 1611977.66it/s]
5401368it [00:03, 1616133.53it/s]
5562995it [00:03, 1610499.44it/s]
5724059it [00:03, 1603142.05it/s]
5888669it [00:03, 1615928.73it/s]
6050280it [00:03, 1590797.64it/s]
6209452it [00:03, 1586945.28it/s]
6372421it [00:04, 1599601.67it/s]
6538481it [00:04, 1617732.18it/s]
6706580it [00:04, 1636584.58it/s]
6872723it [00:04, 1643981.10it/s]
7047820it [00:04, 1675966.23it/s]
7215452it [00:04, 1668269.83it/s]
7383979it [00:04, 1673263.35it/s]
7551330it [00:04, 1654032.14it/s]
7716795it [00:04, 1643013.23it/s]
7881146it [00:04, 1630871.10it/s]
8044275it [00:05, 1621351.91it/s]
8206440it [00:05, 1610003.55it/s]
8369908it [00:05, 1617272.84it/s]
8531663it [00:05, 1592986.98it/s]
8691041it [00:05, 1579882.72it/s]
8852238it [00:05, 1589305.05it/s]
9011970it [00:05, 1591648.60it/s]
9175872it [00:05, 1605705.18it/s]
9336486it [00:05, 1593409.26it/s]
9501663it [00:05, 1610724.15it/s]
9663767it [00:06, 1613771.47it/s][W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bld_02_A23WKFTLT4_3.md.bai

9825181it [00:06, 1607559.14it/s]
9985965it [00:06, 1598679.32it/s]
10145859it [00:06, 1596418.82it/s]
10305518it [00:06, 1578875.29it/s]
10466397it [00:06, 1587719.05it/s]
10627319it [00:06, 1594088.29it/s]
10792474it [00:06, 1611200.24it/s]
10954230it [00:06, 1613078.53it/s]
11115564it [00:07, 1611473.76it/s]
11276730it [00:07, 1597991.47it/s]
11436564it [00:07, 1596484.70it/s]
11596236it [00:07, 1596436.16it/s]
11755896it [00:07, 1590543.90it/s]
11914965it [00:07, 1572659.47it/s]
12077626it [00:07, 1588628.87it/s]
12241290it [00:07, 1602766.58it/s]
12401615it [00:07, 1602806.36it/s]
12562535it [00:07, 1604693.97it/s]
12724301it [00:08, 1608549.78it/s]
12887999it [00:08, 1617040.76it/s]
13049718it [00:08, 1608308.99it/s]
13210916it [00:08, 1609383.67it/s]
13288815it [00:08, 1589239.56it/s]




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


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


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


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


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






cat BVT_FFPE_TRNA_bld_02_A23WKFTLT4_3/BVT_FFPE_TRNA_bld_02_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_bld_02_A23WKFTLT4_3.md" -suptitle "Twist_rna_exome_AND_fusion_hg38.bed" -output "BVT_FFPE_TRNA_bld_02_A23WKFTLT4_3/BVT_FFPE_TRNA_bld_02_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_bld_02_A23WKFTLT4_3/BVT_FFPE_TRNA_bld_02_A23WKFTLT4_3.md/qc_complete.txt


+ merge_qc -folders BVT_FFPE_TRNA_bld_02_A23WKFTLT4_3/BVT_FFPE_TRNA_bld_02_A23WKFTLT4_3.md -output BVT_FFPE_TRNA_bld_02_A23WKFTLT4_3/BVT_FFPE_TRNA_bld_02_A23WKFTLT4_3_full_basic_stats.tsv
+ head -n1 BVT_FFPE_TRNA_bld_02_A23WKFTLT4_3/BVT_FFPE_TRNA_bld_02_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_bld_02_A23WKFTLT4_3/BVT_FFPE_TRNA_bld_02_A23WKFTLT4_3_full_basic_stats.tsv