File Info

Filename
.command.log
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/e3/8a827041e8106a9dcc55248bd8026e/.command.log
Size
11.1 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/e3/8a827041e8106a9dcc55248bd8026e/.command.sh
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/4a/33785f1567410af5dc74c347b9fd09/BVT_FFPE_TRNA_bld_01_A23WKFTLT4_3.md.bam
  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/4a/33785f1567410af5dc74c347b9fd09/BVT_FFPE_TRNA_bld_01_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/e3/8a827041e8106a9dcc55248bd8026e/.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 BVT_FFPE_TRNA_bld_01_A23WKFTLT4_3
+ all_qc -bam BVT_FFPE_TRNA_bld_01_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_01_A23WKFTLT4_3 -reference ref_genome.fa -region chr20
mkdir -p BVT_FFPE_TRNA_bld_01_A23WKFTLT4_3/BVT_FFPE_TRNA_bld_01_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_01_A23WKFTLT4_3/BVT_FFPE_TRNA_bld_01_A23WKFTLT4_3.md/full_bed.bed


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

0it [00:00, ?it/s]
79440it [00:00, 794309.86it/s]
163445it [00:00, 821157.45it/s]
247350it [00:00, 829284.07it/s]
330683it [00:00, 830847.94it/s]
416019it [00:00, 838910.86it/s]
500868it [00:00, 842126.80it/s]
585081it [00:00, 839415.72it/s]
670120it [00:00, 842870.49it/s]
756272it [00:00, 848667.02it/s]
841519it [00:01, 849811.28it/s]
926502it [00:01, 845450.52it/s][W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bld_01_A23WKFTLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bld_01_A23WKFTLT4_3.md.bai

1011804it [00:01, 847717.03it/s]
1101932it [00:01, 863871.95it/s]


1188328it [00:01, 860164.38it/s]
1274353it [00:01, 855462.20it/s]
1359910it [00:01, 850075.15it/s]
1445261it [00:01, 851073.25it/s]
1530377it [00:01, 843419.88it/s]
1614736it [00:01, 842597.57it/s]
1699007it [00:02, 834248.43it/s]
1808535it [00:02, 911573.06it/s]
1899807it [00:02, 892243.65it/s]
1989189it [00:02, 871837.39it/s][W::hts_idx_load3] The index file is older than the data file: BVT_FFPE_TRNA_bld_01_A23WKFTLT4_3.md.bai

2076549it [00:02, 856089.32it/s]
2162301it [00:02, 849404.30it/s]
2247331it [00:02, 848477.75it/s]
2263196it [00:02, 850909.66it/s]


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


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


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


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


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






cat BVT_FFPE_TRNA_bld_01_A23WKFTLT4_3/BVT_FFPE_TRNA_bld_01_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_01_A23WKFTLT4_3.md" -suptitle "Twist_rna_exome_AND_fusion_hg38.bed" -output "BVT_FFPE_TRNA_bld_01_A23WKFTLT4_3/BVT_FFPE_TRNA_bld_01_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_01_A23WKFTLT4_3/BVT_FFPE_TRNA_bld_01_A23WKFTLT4_3.md/qc_complete.txt


+ merge_qc -folders BVT_FFPE_TRNA_bld_01_A23WKFTLT4_3/BVT_FFPE_TRNA_bld_01_A23WKFTLT4_3.md -output BVT_FFPE_TRNA_bld_01_A23WKFTLT4_3/BVT_FFPE_TRNA_bld_01_A23WKFTLT4_3_full_basic_stats.tsv
+ head -n1 BVT_FFPE_TRNA_bld_01_A23WKFTLT4_3/BVT_FFPE_TRNA_bld_01_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_01_A23WKFTLT4_3/BVT_FFPE_TRNA_bld_01_A23WKFTLT4_3_full_basic_stats.tsv