File Info

Filename
.command.log
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/0d/600b57cb26a3386c893b660883a4ed/.command.log
Size
12.4 KB
Attempt
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/01/806b9da7be3976fbf576ea153c6c12/659_buD-T1-TRNA-1_A23MVY2LT4_1.md.bai
  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/0d/600b57cb26a3386c893b660883a4ed/.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/0d/600b57cb26a3386c893b660883a4ed/.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/01/806b9da7be3976fbf576ea153c6c12/659_buD-T1-TRNA-1_A23MVY2LT4_1.md.bam
  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 659_buD-T1-TRNA-1_A23MVY2LT4_1
+ all_qc -bam 659_buD-T1-TRNA-1_A23MVY2LT4_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 659_buD-T1-TRNA-1_A23MVY2LT4_1 -reference ref_genome.fa -region chr20
mkdir -p 659_buD-T1-TRNA-1_A23MVY2LT4_1/659_buD-T1-TRNA-1_A23MVY2LT4_1.md/


cat Twist_rna_exome_AND_fusion_hg38.bed | cut -f 1-3 | bedtools sort -g ref_genome.fa.fai | bedtools merge > 659_buD-T1-TRNA-1_A23MVY2LT4_1/659_buD-T1-TRNA-1_A23MVY2LT4_1.md/full_bed.bed


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

0it [00:00, ?it/s][W::hts_idx_load3] The index file is older than the data file: 659_buD-T1-TRNA-1_A23MVY2LT4_1.md.bai

143690it [00:00, 1436802.03it/s]
292362it [00:00, 1464715.31it/s]
456290it [00:00, 1544339.82it/s]
610728it [00:00, 1530618.29it/s]
770119it [00:00, 1553268.44it/s]
931858it [00:00, 1574953.97it/s]
1096721it [00:00, 1598944.35it/s]
1262749it [00:00, 1618288.28it/s]
1427799it [00:00, 1628315.02it/s]
1591926it [00:01, 1632191.23it/s]
1756919it [00:01, 1637588.26it/s]
1921861it [00:01, 1641155.36it/s]
2085982it [00:01, 1635593.85it/s]
2250791it [00:01, 1639172.84it/s]
2419307it [00:01, 1652981.48it/s]
2586056it [00:01, 1657274.24it/s]
2751789it [00:01, 1653321.00it/s]
2919195it [00:01, 1659510.17it/s]
3085152it [00:01, 1645552.07it/s]
3249736it [00:02, 1592763.22it/s]
3414235it [00:02, 1607885.88it/s]
3583592it [00:02, 1633069.68it/s]
3750090it [00:02, 1642470.06it/s]
3918188it [00:02, 1653743.87it/s]
4084379it [00:02, 1656142.37it/s]
4250097it [00:02, 1587577.48it/s]
4416244it [00:02, 1608905.24it/s]
4582881it [00:02, 1625718.00it/s]
4751272it [00:02, 1642847.66it/s]
4915872it [00:03, 1639779.72it/s]
5080624it [00:03, 1642042.31it/s]
5244984it [00:03, 1636270.04it/s]
5409833it [00:03, 1639876.44it/s]
5573901it [00:03, 1633888.07it/s]
5739977it [00:03, 1641862.77it/s]
5910077it [00:03, 1659500.33it/s]
6078632it [00:03, 1667265.00it/s]
6248321it [00:03, 1676105.81it/s]
6416476it [00:03, 1677696.26it/s]
6584263it [00:04, 1658212.60it/s]
6750146it [00:04, 1658314.35it/s]
6918134it [00:04, 1664715.24it/s]
7084640it [00:04, 1653935.27it/s]
7254954it [00:04, 1668565.87it/s]
7421847it [00:04, 1668546.80it/s]
7588942it [00:04, 1669169.13it/s]
7758366it [00:04, 1676646.40it/s]
7926647it [00:04, 1678466.04it/s]
8094789it [00:04, 1679329.91it/s]
8262730it [00:05, 1674119.50it/s]
8430151it [00:05, 1513630.01it/s]
8597829it [00:05, 1559080.67it/s]
8761569it [00:05, 1581367.10it/s]
8925626it [00:05, 1598469.24it/s]
9088576it [00:05, 1607294.44it/s]
9255778it [00:05, 1626324.88it/s]
9419107it [00:05, 1617828.11it/s]
9581380it [00:05, 1479182.05it/s]
9747644it [00:06, 1530273.50it/s]
9913451it [00:06, 1566634.44it/s]
10072541it [00:06, 1573561.50it/s]
10240812it [00:06, 1605442.13it/s]
10408725it [00:06, 1627126.02it/s]
10574813it [00:06, 1637101.27it/s]
10741758it [00:06, 1646693.42it/s]
10909629it [00:06, 1656216.95it/s]
11077435it [00:06, 1662567.20it/s]
11244008it [00:06, 1663488.58it/s]
11412234it [00:07, 1669087.60it/s]
11581054it [00:07, 1674787.63it/s]
11751371it [00:07, 1683264.45it/s]
11919744it [00:07, 1682142.17it/s]
12087991it [00:07, 1667430.02it/s]
12256885it [00:07, 1673816.16it/s]
12271706it [00:07, 1630613.34it/s]


[W::hts_idx_load3] The index file is older than the data file: 659_buD-T1-TRNA-1_A23MVY2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_buD-T1-TRNA-1_A23MVY2LT4_1.md.bai




[W::hts_idx_load3] The index file is older than the data file: 659_buD-T1-TRNA-1_A23MVY2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_buD-T1-TRNA-1_A23MVY2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_buD-T1-TRNA-1_A23MVY2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_buD-T1-TRNA-1_A23MVY2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_buD-T1-TRNA-1_A23MVY2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_buD-T1-TRNA-1_A23MVY2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_buD-T1-TRNA-1_A23MVY2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_buD-T1-TRNA-1_A23MVY2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_buD-T1-TRNA-1_A23MVY2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_buD-T1-TRNA-1_A23MVY2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_buD-T1-TRNA-1_A23MVY2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_buD-T1-TRNA-1_A23MVY2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_buD-T1-TRNA-1_A23MVY2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_buD-T1-TRNA-1_A23MVY2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_buD-T1-TRNA-1_A23MVY2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_buD-T1-TRNA-1_A23MVY2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_buD-T1-TRNA-1_A23MVY2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_buD-T1-TRNA-1_A23MVY2LT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: 659_buD-T1-TRNA-1_A23MVY2LT4_1.md.bai


tabix -s 1 -b 2 -e 2 659_buD-T1-TRNA-1_A23MVY2LT4_1/659_buD-T1-TRNA-1_A23MVY2LT4_1.md/659_buD-T1-TRNA-1_A23MVY2LT4_1.md.depth.gz


seqtool depth_hist     -nbins 500     659_buD-T1-TRNA-1_A23MVY2LT4_1/659_buD-T1-TRNA-1_A23MVY2LT4_1.md/659_buD-T1-TRNA-1_A23MVY2LT4_1.md.depth.gz     > 659_buD-T1-TRNA-1_A23MVY2LT4_1/659_buD-T1-TRNA-1_A23MVY2LT4_1.md/659_buD-T1-TRNA-1_A23MVY2LT4_1.md.depth_hist.tsv


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






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




echo `date` > 659_buD-T1-TRNA-1_A23MVY2LT4_1/659_buD-T1-TRNA-1_A23MVY2LT4_1.md/qc_complete.txt


+ merge_qc -folders 659_buD-T1-TRNA-1_A23MVY2LT4_1/659_buD-T1-TRNA-1_A23MVY2LT4_1.md -output 659_buD-T1-TRNA-1_A23MVY2LT4_1/659_buD-T1-TRNA-1_A23MVY2LT4_1_full_basic_stats.tsv
+ head -n1 659_buD-T1-TRNA-1_A23MVY2LT4_1/659_buD-T1-TRNA-1_A23MVY2LT4_1_full_basic_stats.tsv
++ basename Twist_rna_exome_AND_fusion_hg38.bed
+ grep -e Twist_rna_exome_AND_fusion_hg38.bed 659_buD-T1-TRNA-1_A23MVY2LT4_1/659_buD-T1-TRNA-1_A23MVY2LT4_1_full_basic_stats.tsv