File Info

Filename
.command.log
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/e4/7a8eddfd54352ff742dace74b41726/.command.log
Size
13.8 KB
Attempt
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/e9/913ca08c9bc8a8dc9ad0f9c117a46f/659_dES-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/e4/7a8eddfd54352ff742dace74b41726/.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/e4/7a8eddfd54352ff742dace74b41726/.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/e9/913ca08c9bc8a8dc9ad0f9c117a46f/659_dES-T1-TRNA-1_B23WHTKLT4_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 659_dES-T1-TRNA-1_B23WHTKLT4_1
+ all_qc -bam 659_dES-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_dES-T1-TRNA-1_B23WHTKLT4_1 -reference ref_genome.fa -region chr20
mkdir -p 659_dES-T1-TRNA-1_B23WHTKLT4_1/659_dES-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_dES-T1-TRNA-1_B23WHTKLT4_1/659_dES-T1-TRNA-1_B23WHTKLT4_1.md/full_bed.bed


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

0it [00:00, ?it/s]
99521it [00:00, 995127.91it/s]
208927it [00:00, 1053287.90it/s]
317094it [00:00, 1066224.55it/s]
426410it [00:00, 1076836.10it/s]
536434it [00:00, 1085253.40it/s]
646939it [00:00, 1091811.79it/s]
757965it [00:00, 1097824.53it/s]
867752it [00:00, 1097821.84it/s]
979745it [00:00, 1104716.50it/s]
1090639it [00:01, 1106001.09it/s]
1202090it [00:01, 1108590.06it/s]
1312950it [00:01, 1107558.80it/s]
1423707it [00:01, 1102296.48it/s]
1533943it [00:01, 1099116.92it/s]
1643860it [00:01, 1091059.54it/s]
1752980it [00:01, 1086776.41it/s]
1862168it [00:01, 1088260.95it/s]
1971385it [00:01, 1089334.09it/s]
2082353it [00:01, 1095405.36it/s]
2191901it [00:02, 1087790.80it/s]
2302089it [00:02, 1091969.60it/s]
2411300it [00:02, 1088681.04it/s]
2520179it [00:02, 1087887.25it/s]
2631566it [00:02, 1095625.00it/s]
2742200it [00:02, 1098807.44it/s]
2852088it [00:02, 1098293.29it/s]
2961922it [00:02, 1000617.97it/s]
3071867it [00:02, 1028314.85it/s]
3181868it [00:02, 1048805.76it/s]
3291219it [00:03, 1061735.70it/s]
3401612it [00:03, 1074071.05it/s]
3511760it [00:03, 1082138.45it/s]
3621329it [00:03, 1086139.28it/s]
3731163it [00:03, 1089748.21it/s]
3842488it [00:03, 1096653.99it/s]
3952573it [00:03, 1097887.61it/s]
4062469it [00:03, 1097006.98it/s]
4173648it [00:03, 1101414.13it/s]
4284781it [00:03, 1104358.92it/s]
4395255it [00:04, 1095222.22it/s]
4504821it [00:04, 1087892.42it/s]
4613647it [00:04, 1081950.69it/s]
4721870it [00:04, 1067860.81it/s]
4828704it [00:04, 1060915.61it/s]
4937734it [00:04, 1069485.13it/s]
5047303it [00:04, 1077239.44it/s]
5156595it [00:04, 1081891.92it/s]
5265784it [00:04, 1084860.66it/s]
5374292it [00:04, 1081206.25it/s]
5483316it [00:05, 1083887.15it/s]
5591718it [00:05, 1083039.58it/s]
5700031it [00:05, 1081730.29it/s]
5808211it [00:05, 1068534.15it/s]
5915241it [00:05, 1069041.89it/s]
6022506it [00:05, 1070101.27it/s]
6129536it [00:05, 1069768.15it/s]
6237121it [00:05, 1071568.21it/s]
6346186it [00:05, 1077262.46it/s]
6453921it [00:05, 1075421.96it/s]
6561883it [00:06, 1076659.98it/s]
6670945it [00:06, 1080809.01it/s]
6779411it [00:06, 1081944.57it/s]
6889705it [00:06, 1088099.30it/s]
6998518it [00:06, 1082505.68it/s]
7107610it [00:06, 1085005.19it/s]
7216118it [00:06, 1083633.69it/s]
7325570it [00:06, 1086869.40it/s]
7434262it [00:06, 1083307.84it/s]
7542598it [00:06, 1075689.33it/s]
7650180it [00:07, 1072110.59it/s][W::hts_idx_load3] The index file is older than the data file: 659_dES-T1-TRNA-1_B23WHTKLT4_1.md.bai

7758420it [00:07, 1075155.77it/s]
7865945it [00:07, 1065718.59it/s]
7972538it [00:07, 1049472.59it/s]
8078464it [00:07, 1052343.10it/s]
8184848it [00:07, 1055633.17it/s]
8290447it [00:07, 1053909.04it/s]
8395862it [00:07, 919509.13it/s] 
8501351it [00:07, 956141.24it/s]
8608304it [00:08, 987743.14it/s]
8716270it [00:08, 1013911.86it/s]
8825199it [00:08, 1035699.71it/s]
8934145it [00:08, 1051401.85it/s]
9047072it [00:08, 1074328.23it/s]
9157583it [00:08, 1083431.23it/s]
9268428it [00:08, 1090851.99it/s]
9379316it [00:08, 1096209.81it/s]
9489774it [00:08, 1098693.73it/s]
9600477it [00:08, 1101167.58it/s]
9711079it [00:09, 1102600.78it/s]
9821421it [00:09, 1102265.54it/s]
9931705it [00:09, 1092207.97it/s]
10040986it [00:09, 1092357.29it/s]
10151572it [00:09, 1096369.80it/s]
10262522it [00:09, 1100279.61it/s]
10372698it [00:09, 1100635.72it/s]
10482779it [00:09, 1086957.96it/s]
10591523it [00:09, 1078544.63it/s]
10699418it [00:09, 1073001.09it/s]
10807500it [00:10, 1075309.39it/s]
10918660it [00:10, 1086091.19it/s]
11029003it [00:10, 1091245.51it/s]
11138442it [00:10, 1092167.96it/s]
11247674it [00:10, 1089728.72it/s]
11357452it [00:10, 1092121.40it/s]
11469586it [00:10, 1100853.31it/s]
11581780it [00:10, 1107152.95it/s]
11693772it [00:10, 1110963.32it/s]
11804874it [00:10, 1110951.25it/s]
11915973it [00:11, 1103120.07it/s]
12027334it [00:11, 1106233.01it/s]
12138856it [00:11, 1108900.99it/s]
12249932it [00:11, 1109440.89it/s]
12360883it [00:11, 1107122.37it/s]
12472146it [00:11, 1108752.96it/s]
12583414it [00:11, 1109910.84it/s]
12584687it [00:11, 1080559.05it/s]




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


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


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


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


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






cat 659_dES-T1-TRNA-1_B23WHTKLT4_1/659_dES-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_dES-T1-TRNA-1_B23WHTKLT4_1.md" -suptitle "Twist_rna_exome_AND_fusion_hg38.bed" -output "659_dES-T1-TRNA-1_B23WHTKLT4_1/659_dES-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_dES-T1-TRNA-1_B23WHTKLT4_1/659_dES-T1-TRNA-1_B23WHTKLT4_1.md/qc_complete.txt


+ merge_qc -folders 659_dES-T1-TRNA-1_B23WHTKLT4_1/659_dES-T1-TRNA-1_B23WHTKLT4_1.md -output 659_dES-T1-TRNA-1_B23WHTKLT4_1/659_dES-T1-TRNA-1_B23WHTKLT4_1_full_basic_stats.tsv
+ head -n1 659_dES-T1-TRNA-1_B23WHTKLT4_1/659_dES-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_dES-T1-TRNA-1_B23WHTKLT4_1/659_dES-T1-TRNA-1_B23WHTKLT4_1_full_basic_stats.tsv