File Info

Filename
.command.log
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/74/470c2e2351b1a4c2f86c2ce0f87ea4/.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/74/470c2e2351b1a4c2f86c2ce0f87ea4/.command.sh
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/52/3e44e9db850207ea796baf8f98b1ee/A673_FFPE_RNA_0001_B23LG7FLT4_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/52/3e44e9db850207ea796baf8f98b1ee/A673_FFPE_RNA_0001_B23LG7FLT4_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/74/470c2e2351b1a4c2f86c2ce0f87ea4/.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 A673_FFPE_RNA_0001_B23LG7FLT4_3
+ all_qc -bam A673_FFPE_RNA_0001_B23LG7FLT4_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 A673_FFPE_RNA_0001_B23LG7FLT4_3 -reference ref_genome.fa -region chr20
mkdir -p A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/


cat Twist_rna_exome_AND_fusion_hg38.bed | cut -f 1-3 | bedtools sort -g ref_genome.fa.fai | bedtools merge > A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/full_bed.bed


seqtool depth -bam A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bam -bed A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/full_bed.bed -threads 4 -bam_threads 2 | bgzip -c > A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/A673_FFPE_RNA_0001_B23LG7FLT4_3.md.depth.gz
saturation_plot       -bams A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bam       -region chr20       -output A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/saturation_plot.png       -threads 1 
seqtool saturation_metric       -at 1000000       -region chr20       -bam_threads 1       A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bam > A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/saturation_qc.tsv 
fragment_size       -bams A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bam       -region chr20       -output_prefix A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/fragsize       -threads 1 
samtools mpileup   -B --min-MQ 60 --min-BQ 30    -f ref_genome.fa   -l dbsnp_hg38_contam_sites.bed   A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bam > A673_FFPE_RNA_0001_B23LG7FLT4_3.md.mpileup && contamination -input A673_FFPE_RNA_0001_B23LG7FLT4_3.md.mpileup -dbsnp_vcf Homo_sapiens_assembly38.dbsnp138.vcf.gz > A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/contamination.tsv 
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[mpileup] 1 samples in 1 input files
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_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: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai

0it [00:00, ?it/s]
149422it [00:00, 1494089.62it/s]
312548it [00:00, 1574639.15it/s]
479555it [00:00, 1618182.74it/s]
648416it [00:00, 1645961.04it/s]
819012it [00:00, 1667572.39it/s]
989211it [00:00, 1679248.65it/s]
1159064it [00:00, 1685517.01it/s]
1327616it [00:00, 1684162.25it/s]
1496355it [00:00, 1685147.36it/s]
1666846it [00:01, 1691222.85it/s]
1836122it [00:01, 1691667.74it/s]
2005290it [00:01, 1673075.84it/s]
2176167it [00:01, 1683781.66it/s]
2348597it [00:01, 1695931.57it/s]
2519543it [00:01, 1699895.67it/s]
2689559it [00:01, 1696358.86it/s]
2859214it [00:01, 1687357.81it/s]
3028735it [00:01, 1689686.51it/s]
3197720it [00:01, 1689416.68it/s]
3366673it [00:02, 1677205.24it/s]
3534418it [00:02, 1674895.23it/s]
3702267it [00:02, 1675950.10it/s]
3869874it [00:02, 1645635.92it/s]
4034558it [00:02, 1643812.45it/s]
4199021it [00:02, 1636564.52it/s]
4362734it [00:02, 1634061.55it/s]
4528736it [00:02, 1641756.84it/s]
4693414it [00:02, 1643220.63it/s]
4860062it [00:02, 1650147.14it/s]
5025097it [00:03, 1640027.33it/s]
5194768it [00:03, 1656899.78it/s]
5361457it [00:03, 1659794.86it/s]
5529632it [00:03, 1666336.58it/s]
5697584it [00:03, 1670261.52it/s]
5865138it [00:03, 1671809.55it/s]
6032329it [00:03, 1594163.20it/s]
6192505it [00:03, 1542866.41it/s]
6347547it [00:03, 1510659.39it/s]
6499160it [00:03, 1506504.19it/s]
6664649it [00:04, 1549335.66it/s]
6836927it [00:04, 1599973.33it/s]
7003366it [00:04, 1618873.25it/s]
7174374it [00:04, 1645710.47it/s]
7345665it [00:04, 1665663.94it/s]
7514265it [00:04, 1671705.06it/s]
7682385it [00:04, 1674465.80it/s]
7853690it [00:04, 1685982.18it/s]
8023333it [00:04, 1689086.92it/s]
8196622it [00:04, 1702101.37it/s]
8366873it [00:05, 1700893.71it/s]
8538312it [00:05, 1704915.62it/s]
8710370it [00:05, 1709590.11it/s]
8881344it [00:05, 1702880.30it/s]
9053405it [00:05, 1708161.72it/s]
9224235it [00:05, 1700952.13it/s]
9394345it [00:05, 1699359.75it/s]
9564291it [00:05, 1694427.19it/s]
9735157it [00:05, 1698610.69it/s]
9906189it [00:05, 1702016.30it/s]
10076436it [00:06, 1702133.14it/s]
10246654it [00:06, 1699886.34it/s]
10416647it [00:06, 1694012.81it/s]
10586870it [00:06, 1696451.91it/s]
10756521it [00:06, 1695754.92it/s]
10928412it [00:06, 1702665.88it/s]
11099522it [00:06, 1705024.62it/s]
11270028it [00:06, 1704564.43it/s]
11442758it [00:06, 1711359.16it/s]
11617645it [00:06, 1722586.42it/s]
11789906it [00:07, 1712452.53it/s]
11961167it [00:07, 1708801.12it/s]
12132220it [00:07, 1709300.82it/s]
12303833it [00:07, 1711323.85it/s]
12474972it [00:07, 1705281.49it/s]
12645508it [00:07, 1704969.01it/s]
12818168it [00:07, 1711419.78it/s]
12989316it [00:07, 1706629.24it/s]
13159986it [00:07, 1701700.81it/s]
13330162it [00:07, 1691027.39it/s]
13501090it [00:08, 1696442.04it/s]
13670749it [00:08, 1677774.20it/s]
13841770it [00:08, 1687375.09it/s]
14011442it [00:08, 1690035.40it/s]
14182979it [00:08, 1697573.71it/s]
14352764it [00:08, 1696134.26it/s]
14522397it [00:08, 1685680.82it/s]
14690990it [00:08, 1677827.66it/s]
14700009it [00:08, 1673187.08it/s]


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


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


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


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


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


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






cat A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/gc_bias_qc.Twist_rna_exome_AND_fusion_hg38.bed.tsv  | plot -x 0  -header infer  -ylim 0 2  -title "A673_FFPE_RNA_0001_B23LG7FLT4_3.md" -suptitle "Twist_rna_exome_AND_fusion_hg38.bed" -output "A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/gc_bias.Twist_rna_exome_AND_fusion_hg38.bed.png"  -ylabel "Fold enrichment / depletion"  -xlabel "GC Quantile" 




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


+ merge_qc -folders A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md -output A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3_full_basic_stats.tsv
+ head -n1 A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3_full_basic_stats.tsv
++ basename Twist_rna_exome_AND_fusion_hg38.bed
+ grep -e Twist_rna_exome_AND_fusion_hg38.bed A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3_full_basic_stats.tsv