File Info

Filename
.command.log
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/c4/0c3653c7b922a82d601a6ab8bad7a2/.command.log
Size
13.2 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/c4/0c3653c7b922a82d601a6ab8bad7a2/.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/0e/9c3597d8559d5805d8d6d52000350d/BVT_FFPE_TRNA_bst_02_A23WKFTLT4_1.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/c4/0c3653c7b922a82d601a6ab8bad7a2/.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/0e/9c3597d8559d5805d8d6d52000350d/BVT_FFPE_TRNA_bst_02_A23WKFTLT4_1.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_bst_02_A23WKFTLT4_1
+ all_qc -bam BVT_FFPE_TRNA_bst_02_A23WKFTLT4_1.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_02_A23WKFTLT4_1 -reference ref_genome.fa -region chr20
mkdir -p BVT_FFPE_TRNA_bst_02_A23WKFTLT4_1/BVT_FFPE_TRNA_bst_02_A23WKFTLT4_1.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_02_A23WKFTLT4_1/BVT_FFPE_TRNA_bst_02_A23WKFTLT4_1.md/full_bed.bed


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

0it [00:00, ?it/s]
143880it [00:00, 1438743.06it/s]
298009it [00:00, 1499033.11it/s]
457082it [00:00, 1540878.51it/s]
616528it [00:00, 1562007.02it/s]
774472it [00:00, 1568272.29it/s]
932049it [00:00, 1570707.38it/s]
1089677it [00:00, 1572509.96it/s]
1247187it [00:00, 1573318.22it/s]
1404519it [00:00, 1572613.66it/s]
1561781it [00:01, 1564978.14it/s]
1719304it [00:01, 1568087.76it/s]
1876120it [00:01, 1565660.10it/s]
2032691it [00:01, 1559663.91it/s]
2188665it [00:01, 1558193.97it/s]
2344489it [00:01, 1542502.30it/s]
2501624it [00:01, 1551086.40it/s]
2657545it [00:01, 1553496.20it/s]
2817441it [00:01, 1566947.88it/s]
2975205it [00:01, 1570130.61it/s]
3132236it [00:02, 1560596.42it/s]
3288319it [00:02, 1556031.85it/s]
3447972it [00:02, 1568090.28it/s]
3605601it [00:02, 1570522.59it/s]
3762668it [00:02, 1565646.33it/s]
3919245it [00:02, 1562466.49it/s]
4079324it [00:02, 1573895.49it/s]
4236725it [00:02, 1571797.38it/s]
4393913it [00:02, 1565566.82it/s]
4550479it [00:02, 1548166.25it/s]
4706104it [00:03, 1550548.00it/s]
4861192it [00:03, 1547739.09it/s]
5020384it [00:03, 1560884.93it/s]
5178454it [00:03, 1566785.57it/s]
5335153it [00:03, 1566675.15it/s]
5493189it [00:03, 1570675.72it/s]
5650657it [00:03, 1571860.75it/s]
5807851it [00:03, 1571305.74it/s]
5964987it [00:03, 1555259.57it/s]
6123045it [00:03, 1562781.24it/s]
6282889it [00:04, 1573327.72it/s]
6440252it [00:04, 1560070.24it/s]
6598310it [00:04, 1566153.30it/s]
6758171it [00:04, 1575680.99it/s]
6917565it [00:04, 1581116.10it/s]
7077442it [00:04, 1586379.51it/s]
7238442it [00:04, 1593433.78it/s]
7398574it [00:04, 1595594.81it/s]
7558144it [00:04, 1575563.49it/s]
7715763it [00:04, 1558890.23it/s]
7872191it [00:05, 1560407.55it/s]
8033265it [00:05, 1575334.76it/s]
8194191it [00:05, 1585333.90it/s]
8353339it [00:05, 1587148.62it/s]
8512085it [00:05, 1583716.98it/s]
8670479it [00:05, 1582985.66it/s]
8828793it [00:05, 1577834.86it/s]
8986590it [00:05, 1571300.45it/s]
9143733it [00:05, 1565134.20it/s]
9300258it [00:05, 1562172.37it/s]
9458361it [00:06, 1567722.23it/s]
9615142it [00:06, 1559443.73it/s]
9771609it [00:06, 1560892.71it/s]
9930460it [00:06, 1569118.26it/s]
10087383it [00:06, 1566222.55it/s]
10246248it [00:06, 1572874.90it/s]
10404230it [00:06, 1574935.48it/s]
10562821it [00:06, 1578200.85it/s]
10722290it [00:06, 1583120.17it/s]
10885150it [00:06, 1596591.24it/s]
11044813it [00:07, 1590978.97it/s]
11203918it [00:07, 1586725.68it/s]
11362597it [00:07, 1584754.89it/s]
11521486it [00:07, 1585961.96it/s]
11680855it [00:07, 1588254.47it/s]
11839684it [00:07, 1583306.41it/s]
11998020it [00:07, 1578592.55it/s]
12155885it [00:07, 1570143.62it/s]
12312910it [00:07, 1564736.33it/s]
12469392it [00:07, 1564161.95it/s]
12626722it [00:08, 1566814.41it/s]
12783409it [00:08, 1559757.47it/s]
12939393it [00:08, 1547385.06it/s]
13094153it [00:08, 1546146.04it/s]
13250091it [00:08, 1550066.55it/s]
13405111it [00:08, 1546405.22it/s]
13560104it [00:08, 1547437.68it/s]
13714855it [00:08, 1531554.01it/s]
13869712it [00:08, 1536584.11it/s]
13927110it [00:08, 1565811.20it/s]


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


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


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


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


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


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






cat BVT_FFPE_TRNA_bst_02_A23WKFTLT4_1/BVT_FFPE_TRNA_bst_02_A23WKFTLT4_1.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_02_A23WKFTLT4_1.md" -suptitle "Twist_rna_exome_AND_fusion_hg38.bed" -output "BVT_FFPE_TRNA_bst_02_A23WKFTLT4_1/BVT_FFPE_TRNA_bst_02_A23WKFTLT4_1.md/gc_bias.Twist_rna_exome_AND_fusion_hg38.bed.png"  -ylabel "Fold enrichment / depletion"  -xlabel "GC Quantile" 




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


+ merge_qc -folders BVT_FFPE_TRNA_bst_02_A23WKFTLT4_1/BVT_FFPE_TRNA_bst_02_A23WKFTLT4_1.md -output BVT_FFPE_TRNA_bst_02_A23WKFTLT4_1/BVT_FFPE_TRNA_bst_02_A23WKFTLT4_1_full_basic_stats.tsv
+ head -n1 BVT_FFPE_TRNA_bst_02_A23WKFTLT4_1/BVT_FFPE_TRNA_bst_02_A23WKFTLT4_1_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_02_A23WKFTLT4_1/BVT_FFPE_TRNA_bst_02_A23WKFTLT4_1_full_basic_stats.tsv