File Info

Filename
.command.log
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/57/3882d8d5692654a552c7dc70f9b231/.command.log
Size
14.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/57/3882d8d5692654a552c7dc70f9b231/.command.sh
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/29/fab7c7af91ce1a4a7f7abbb385288e/659_bR4-T1-TRNA-1_B23MHV2LT4_1.md.bam
  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/57/3882d8d5692654a552c7dc70f9b231/.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-rnd-pltf-dev-nextflow-scratch-01/work/29/fab7c7af91ce1a4a7f7abbb385288e/659_bR4-T1-TRNA-1_B23MHV2LT4_1.md.bai
  Downloading: s3://natera-platform-sandbox/pipeline-resources/Homo_sapiens_assembly38.dbsnp138.vcf.gz.tbi
==> STAGING COMPLETE (11 inputs)

+ mkdir 659_bR4-T1-TRNA-1_B23MHV2LT4_1
+ all_qc -bam 659_bR4-T1-TRNA-1_B23MHV2LT4_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_bR4-T1-TRNA-1_B23MHV2LT4_1 -reference ref_genome.fa -region chr20
mkdir -p 659_bR4-T1-TRNA-1_B23MHV2LT4_1/659_bR4-T1-TRNA-1_B23MHV2LT4_1.md/


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


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

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

125592it [00:00, 1255813.41it/s]
251174it [00:00, 1220134.02it/s]
373991it [00:00, 1223713.69it/s]
497261it [00:00, 1227051.78it/s]
619996it [00:00, 1225174.35it/s]
757114it [00:00, 1274530.86it/s]
893326it [00:00, 1302921.07it/s]
1032273it [00:00, 1330383.33it/s]
1167435it [00:00, 1336866.05it/s]
1303521it [00:01, 1344244.79it/s]
1437962it [00:01, 1340858.68it/s]
1572061it [00:01, 1321393.41it/s]
1705976it [00:01, 1326629.64it/s]
1841425it [00:01, 1334955.96it/s]
1980975it [00:01, 1352959.29it/s]
2118557it [00:01, 1359791.67it/s]
2255836it [00:01, 1363668.74it/s]
2392226it [00:01, 1363554.23it/s]
2528598it [00:01, 1357903.42it/s]
2664405it [00:02, 1350873.72it/s]
2799510it [00:02, 1347445.00it/s]
2934267it [00:02, 1291983.75it/s]
3063932it [00:02, 1097405.24it/s]
3178771it [00:02, 1001127.63it/s]
3283407it [00:02, 948528.07it/s] 
3381394it [00:02, 910649.78it/s]
3474483it [00:02, 879466.79it/s]
3563675it [00:03, 856486.08it/s]
3650040it [00:03, 839714.13it/s]
3734395it [00:03, 830587.60it/s]
3817652it [00:03, 822275.35it/s]
3899969it [00:03, 815672.83it/s]
3981568it [00:03, 810251.84it/s]
4062595it [00:03, 808977.78it/s]
4144273it [00:03, 811231.40it/s]
4225401it [00:03, 807243.61it/s]
4306125it [00:03, 804383.93it/s]
4386560it [00:04, 802220.56it/s]
4466778it [00:04, 799156.83it/s]
4547328it [00:04, 801022.44it/s]
4628223it [00:04, 803365.96it/s]
4708561it [00:04, 799657.12it/s]
4788712it [00:04, 800188.13it/s]
4869778it [00:04, 803232.05it/s]
4950105it [00:04, 800366.13it/s]
5030146it [00:04, 796877.76it/s]
5110430it [00:04, 798637.79it/s]
5190594it [00:05, 799517.41it/s]
5270550it [00:05, 799354.28it/s]
5351677it [00:05, 802820.22it/s]
5432488it [00:05, 804386.72it/s]
5512929it [00:05, 803085.37it/s]
5593240it [00:05, 801921.24it/s]
5673434it [00:05, 801186.22it/s]
5753715it [00:05, 801655.28it/s]
5834116it [00:05, 802344.70it/s]
5914352it [00:05, 801851.71it/s]
5994664it [00:06, 802215.33it/s]
6079126it [00:06, 814908.07it/s]
6162855it [00:06, 821602.12it/s]
6245017it [00:06, 813091.69it/s]
6326347it [00:06, 808644.67it/s]
6407532it [00:06, 809585.02it/s]
6488504it [00:06, 808978.74it/s]
6569411it [00:06, 807554.61it/s]
6650173it [00:06, 807477.23it/s]
6731055it [00:06, 807862.77it/s]
6811845it [00:07, 803812.43it/s]
6892584it [00:07, 804863.70it/s]
6973075it [00:07, 803046.51it/s]
7053384it [00:07, 802709.25it/s]
7133658it [00:07, 801735.53it/s]
7213865it [00:07, 801820.92it/s]
7294049it [00:07, 801076.20it/s]
7374207it [00:07, 801210.08it/s]
7454600it [00:07, 801992.38it/s]
7535233it [00:07, 803275.22it/s]
7615562it [00:08, 801122.51it/s]
7695676it [00:08, 800466.59it/s]
7775944it [00:08, 801115.03it/s]
7856057it [00:08, 801008.20it/s]
7936159it [00:08, 798572.58it/s]
8016019it [00:08, 797918.68it/s]
8095813it [00:08, 797367.87it/s]
8176783it [00:08, 801044.13it/s]
8256889it [00:08, 799559.54it/s]
8336847it [00:08, 796850.52it/s]
8416535it [00:09, 794323.59it/s]
8496005it [00:09, 794344.59it/s]
8575515it [00:09, 794554.19it/s]
8656204it [00:09, 798229.67it/s]
8743592it [00:09, 820862.60it/s]
8836825it [00:09, 854243.37it/s]
8927293it [00:09, 869342.08it/s]
9019042it [00:09, 883759.52it/s]
9109246it [00:09, 889224.15it/s]
9237428it [00:09, 1006944.51it/s]
9367702it [00:10, 1095642.90it/s]
9500913it [00:10, 1166549.92it/s]
9630604it [00:10, 1205629.37it/s]
9763676it [00:10, 1243133.95it/s]
9900481it [00:10, 1280584.68it/s]
10037002it [00:10, 1305849.35it/s]
10176436it [00:10, 1332355.70it/s]
10316467it [00:10, 1352719.02it/s]
10455235it [00:10, 1363085.96it/s]
10591794it [00:10, 1363813.09it/s]
10728176it [00:11, 1356714.86it/s]
10863857it [00:11, 1349927.27it/s]
10998862it [00:11, 1347252.91it/s]
11133595it [00:11, 1344850.77it/s]
11268086it [00:11, 1339714.84it/s]
11402875it [00:11, 1342131.18it/s]
11538540it [00:11, 1346444.72it/s]
11673191it [00:11, 1344148.21it/s]
11809594it [00:11, 1350071.63it/s]
11948315it [00:11, 1361119.79it/s]
12084433it [00:12, 1353641.73it/s]
12219810it [00:12, 1351473.16it/s]
12355816it [00:12, 1354015.36it/s]
12491225it [00:12, 1344611.47it/s]
12625704it [00:12, 1333185.15it/s]
12710005it [00:12, 1013838.47it/s]




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


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


tabix -s 1 -b 2 -e 2 659_bR4-T1-TRNA-1_B23MHV2LT4_1/659_bR4-T1-TRNA-1_B23MHV2LT4_1.md/659_bR4-T1-TRNA-1_B23MHV2LT4_1.md.depth.gz


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


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






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




echo `date` > 659_bR4-T1-TRNA-1_B23MHV2LT4_1/659_bR4-T1-TRNA-1_B23MHV2LT4_1.md/qc_complete.txt


+ merge_qc -folders 659_bR4-T1-TRNA-1_B23MHV2LT4_1/659_bR4-T1-TRNA-1_B23MHV2LT4_1.md -output 659_bR4-T1-TRNA-1_B23MHV2LT4_1/659_bR4-T1-TRNA-1_B23MHV2LT4_1_full_basic_stats.tsv
+ head -n1 659_bR4-T1-TRNA-1_B23MHV2LT4_1/659_bR4-T1-TRNA-1_B23MHV2LT4_1_full_basic_stats.tsv
++ basename Twist_rna_exome_AND_fusion_hg38.bed
+ grep -e Twist_rna_exome_AND_fusion_hg38.bed 659_bR4-T1-TRNA-1_B23MHV2LT4_1/659_bR4-T1-TRNA-1_B23MHV2LT4_1_full_basic_stats.tsv