File Info

Filename
.command.log
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/df/7ff85a4db9fcc76bb00d60ca6e86c8/.command.log
Size
11.2 KB
Attempt
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/a6/5fb7123bf6affd0ce42185a25c9870/659_c95-T1-TRNA-1_B23WHTKLT4_1.md.bam
  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/df/7ff85a4db9fcc76bb00d60ca6e86c8/.command.sh
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/a6/5fb7123bf6affd0ce42185a25c9870/659_c95-T1-TRNA-1_B23WHTKLT4_1.md.bai
  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/df/7ff85a4db9fcc76bb00d60ca6e86c8/.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 659_c95-T1-TRNA-1_B23WHTKLT4_1
+ all_qc -bam 659_c95-T1-TRNA-1_B23WHTKLT4_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_c95-T1-TRNA-1_B23WHTKLT4_1 -reference ref_genome.fa -region chr20
mkdir -p 659_c95-T1-TRNA-1_B23WHTKLT4_1/659_c95-T1-TRNA-1_B23WHTKLT4_1.md/


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


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

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

55886it [00:00, 516008.10it/s]
115805it [00:00, 563296.64it/s]
235991it [00:00, 849531.79it/s]
321564it [00:00, 750473.32it/s]
452111it [00:00, 933286.08it/s]
583836it [00:00, 1056132.62it/s]
692132it [00:00, 1018385.40it/s]
795958it [00:00, 940738.41it/s] 
933825it [00:01, 1009527.96it/s]
1048470it [00:01, 1047412.10it/s]
1154591it [00:01, 1049459.67it/s]
1260510it [00:01, 1009291.98it/s]
1362277it [00:01, 888878.19it/s] 
1455330it [00:01, 899778.88it/s]
1554410it [00:01, 924544.19it/s]
1707755it [00:01, 1095001.52it/s]
1834778it [00:01, 1145052.76it/s]
1951278it [00:02, 972408.07it/s] 
2054922it [00:02, 958429.54it/s]
2154655it [00:02, 931253.07it/s]
2272996it [00:02, 998333.68it/s]
2422935it [00:02, 1136274.11it/s]
2539692it [00:02, 1140203.50it/s]
2655923it [00:02, 1145903.87it/s]
2799717it [00:02, 1230660.00it/s]
2924167it [00:02, 1187645.96it/s]
3083789it [00:02, 1304944.69it/s]
3247905it [00:03, 1402714.85it/s]
3401093it [00:03, 1440597.19it/s]
3559728it [00:03, 1483633.57it/s]
3709304it [00:03, 1487203.70it/s]
3858554it [00:03, 1433252.28it/s]
4008268it [00:03, 1451782.53it/s]
4154046it [00:03, 1301997.18it/s]
4306255it [00:03, 1362032.13it/s]
4445262it [00:03, 1294890.43it/s]
4577131it [00:04, 1288814.96it/s]
4630378it [00:04, 1130926.43it/s]
[W::hts_idx_load3] The index file is older than the data file: 659_c95-T1-TRNA-1_B23WHTKLT4_1.md.bai




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


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


tabix -s 1 -b 2 -e 2 659_c95-T1-TRNA-1_B23WHTKLT4_1/659_c95-T1-TRNA-1_B23WHTKLT4_1.md/659_c95-T1-TRNA-1_B23WHTKLT4_1.md.depth.gz


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


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






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




echo `date` > 659_c95-T1-TRNA-1_B23WHTKLT4_1/659_c95-T1-TRNA-1_B23WHTKLT4_1.md/qc_complete.txt


+ merge_qc -folders 659_c95-T1-TRNA-1_B23WHTKLT4_1/659_c95-T1-TRNA-1_B23WHTKLT4_1.md -output 659_c95-T1-TRNA-1_B23WHTKLT4_1/659_c95-T1-TRNA-1_B23WHTKLT4_1_full_basic_stats.tsv
+ head -n1 659_c95-T1-TRNA-1_B23WHTKLT4_1/659_c95-T1-TRNA-1_B23WHTKLT4_1_full_basic_stats.tsv
++ basename Twist_rna_exome_AND_fusion_hg38.bed
+ grep -e Twist_rna_exome_AND_fusion_hg38.bed 659_c95-T1-TRNA-1_B23WHTKLT4_1/659_c95-T1-TRNA-1_B23WHTKLT4_1_full_basic_stats.tsv