File Info

Filename
.command.log
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/a0/9b5801eae342966fdf304c02d76e5d/.command.log
Size
13.3 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/a0/9b5801eae342966fdf304c02d76e5d/.command.sh
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/66/d7c4aac7f920e6eb26b49acc7fa83d/aih-tih-sc-f6bb6f-R1_A23YTGFLT4_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-rnd-pltf-dev-nextflow-scratch-01/work/66/d7c4aac7f920e6eb26b49acc7fa83d/aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.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/a0/9b5801eae342966fdf304c02d76e5d/.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 aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1
+ all_qc -bam aih-tih-sc-f6bb6f-R1_A23YTGFLT4_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 aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1 -reference ref_genome.fa -region chr20
mkdir -p aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1/aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md/


cat Twist_rna_exome_AND_fusion_hg38.bed | cut -f 1-3 | bedtools sort -g ref_genome.fa.fai | bedtools merge > aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1/aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md/full_bed.bed


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

0it [00:00, ?it/s][W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md.bai

107516it [00:00, 1074835.57it/s]
220730it [00:00, 1108506.29it/s]
333528it [00:00, 1117371.38it/s]
447630it [00:00, 1126683.02it/s]
561205it [00:00, 1129925.64it/s]
675204it [00:00, 1133331.19it/s]
788538it [00:00, 1131599.56it/s]
903774it [00:00, 1138180.37it/s]
1018124it [00:00, 1139825.48it/s]
1132322it [00:01, 1140472.99it/s]
1246370it [00:01, 1138047.42it/s]
1360177it [00:01, 1136471.46it/s]
1473826it [00:01, 1135328.64it/s]
1587360it [00:01, 1130734.62it/s]
1703570it [00:01, 1140053.32it/s]
1818060it [00:01, 1141365.86it/s]
1932658it [00:01, 1142739.87it/s]
2046936it [00:01, 1139767.61it/s]
2162466it [00:01, 1144302.39it/s]
2276901it [00:02, 1138620.53it/s]
2390772it [00:02, 1137324.23it/s]
2504917it [00:02, 1138544.46it/s]
2619396it [00:02, 1140394.59it/s]
2734843it [00:02, 1144590.56it/s]
2849306it [00:02, 1140907.03it/s]
2963740it [00:02, 1141918.46it/s]
3077936it [00:02, 1140011.23it/s]
3193619it [00:02, 1144953.42it/s]
3308118it [00:02, 1144640.31it/s]
3422585it [00:03, 1144203.40it/s]
3537007it [00:03, 1143774.08it/s]
3652719it [00:03, 1147660.91it/s]
3767487it [00:03, 1145221.70it/s]
3882386it [00:03, 1146335.36it/s]
3997022it [00:03, 1144136.05it/s]
4111438it [00:03, 1136678.55it/s]
4225701it [00:03, 1138438.57it/s]
4340724it [00:03, 1141942.88it/s]
4455522it [00:03, 1143734.06it/s]
4571932it [00:04, 1149817.75it/s]
4686920it [00:04, 1147353.96it/s]
4802611it [00:04, 1150201.38it/s]
4918017it [00:04, 1151347.33it/s]
5033458it [00:04, 1152248.82it/s]
5148686it [00:04, 1151990.95it/s]
5263887it [00:04, 1150927.67it/s]
5378981it [00:04, 1150180.68it/s]
5494000it [00:04, 1149567.93it/s]
5608958it [00:04, 1148609.43it/s]
5723899it [00:05, 1148828.24it/s]
5838783it [00:05, 1146724.76it/s]
5953767it [00:05, 1147593.87it/s]
6068528it [00:05, 1146894.58it/s]
6183219it [00:05, 1145619.01it/s]
6298067it [00:05, 1146456.45it/s]
6412714it [00:05, 1141827.87it/s]
6526901it [00:05, 1139962.68it/s]
6640901it [00:05, 1139560.84it/s]
6755913it [00:05, 1142701.84it/s]
6870186it [00:06, 1139774.41it/s]
6984925it [00:06, 1142037.40it/s]
7101373it [00:06, 1148740.49it/s]
7216485it [00:06, 1149438.76it/s]
7331432it [00:06, 1146870.67it/s]
7446122it [00:06, 1146062.80it/s]
7562813it [00:06, 1152204.34it/s]
7678367it [00:06, 1153186.50it/s]
7793688it [00:06, 1151761.22it/s]
7909632it [00:06, 1154044.91it/s]
8025038it [00:07, 1149982.14it/s]
8140041it [00:07, 1147142.63it/s]
8254759it [00:07, 1141727.57it/s]
8369182it [00:07, 1142454.53it/s]
8485315it [00:07, 1148072.61it/s]
8600129it [00:07, 1146848.40it/s]
8714818it [00:07, 1143370.27it/s]
8829627it [00:07, 1144681.98it/s]
8944300it [00:07, 1145276.92it/s]
9058831it [00:07, 1144346.21it/s]
9173268it [00:08, 1141223.96it/s]
9287394it [00:08, 1138194.01it/s]
9401217it [00:08, 1138161.31it/s]
9515570it [00:08, 1139748.76it/s]
9630063it [00:08, 1141226.07it/s]
9744188it [00:08, 1138999.04it/s]
9859027it [00:08, 1141791.88it/s]
9973360it [00:08, 1142232.46it/s]
10087585it [00:08, 1141363.96it/s]
10201723it [00:08, 1138948.89it/s]
10315620it [00:09, 1138719.92it/s]
10430457it [00:09, 1141538.97it/s]
10545663it [00:09, 1144670.91it/s]
10564286it [00:09, 1142743.16it/s]




[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md.bai


[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md.bai


tabix -s 1 -b 2 -e 2 aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1/aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md/aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md.depth.gz


seqtool depth_hist     -nbins 500     aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1/aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md/aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md.depth.gz     > aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1/aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md/aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md.depth_hist.tsv


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






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




echo `date` > aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1/aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md/qc_complete.txt


+ merge_qc -folders aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1/aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1.md -output aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1/aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1_full_basic_stats.tsv
+ head -n1 aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1/aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1_full_basic_stats.tsv
++ basename Twist_rna_exome_AND_fusion_hg38.bed
+ grep -e Twist_rna_exome_AND_fusion_hg38.bed aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1/aih-tih-sc-f6bb6f-R1_A23YTGFLT4_1_full_basic_stats.tsv